{"x402Version":2,"name":"x402-wrapper","description":"Pay-per-call API proxy for AI agents. Wraps ordinary data APIs behind the x402 v2 payment protocol: agents pay fractions of a cent in USDC per call on Base — no API keys, accounts, or subscriptions. Call an endpoint without payment to get HTTP 402 with a standard x402 v2 PaymentRequired challenge (PAYMENT-REQUIRED header), pay by direct USDC transfer, then retry with the Base transaction hash in the X-Payment header.","baseUrl":"https://x402-wrapper.onrender.com","catalog":"https://x402-wrapper.onrender.com/v1","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","assetName":"USDC","payTo":"0x7f7e1e0cc60f2623398140d473276c015686e75c","price_range_usdc":"$0.0001-$0.001","resources":["GET /v1/crypto-price","GET /v1/echo","GET /v1/weather-now"],"payment":{"payTo":"0x7f7e1e0cc60f2623398140d473276c015686e75c","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","assetName":"USDC","network":"eip155:8453","scheme":"x402 v2 (direct USDC transfer on Base)","facilitator":"none — direct transfer; this server verifies the transaction hash on-chain before delivery","timeout_seconds":300,"markup":"none — the listed per-call price is the total charge"},"instructions":"# x402-wrapper — agent buying guide\n\n1. GET any endpoint below with no payment -> HTTP 402. **Read the 402 for the exact amount that will actually be charged** — manifest prices are per-call estimates.\n2. Send USDC directly to `payTo` on Base (eip155:8453), then retry the same request with the transaction hash in the `X-Payment` header. We verify your tx on-chain before serving. No facilitator, no signup, no API key.\n3. Every call returns a machine-readable receipt with the wrapper, the price charged, and a payment-proof fingerprint.\n\n## Envelope lane (prepaid, skips the per-call 402)\nPrincipals fund a prepaid spend envelope (typically $5-20 USDC on Base) with per-call caps and velocity limits: https://x402-wrapper.onrender.com/v1/envelopes — caps, not mandates; the principal can revoke mid-flight; agent identity optional. Draws skip the 402 flow and carry receipts. Statement: https://x402-wrapper.onrender.com/v1/envelopes/{id}.\n\n## Retry rule\nIf the upstream provider fails, we still served your call against the verified transfer. Retry with a fresh transfer, or route through an envelope.\n\n## Discovery links\n- skill.md: https://x402-wrapper.onrender.com/skill.md\n- agent-card: https://x402-wrapper.onrender.com/.well-known/agent-card.json\n- catalog: https://x402-wrapper.onrender.com/x402/catalog\n- llms.txt: https://x402-wrapper.onrender.com/llms.txt\n","endpoints":[{"path":"/v1/crypto-price","url":"https://x402-wrapper.onrender.com/v1/crypto-price","description":"Simple crypto price lookup by coin id (via CoinGecko free tier, no key needed).","method":"GET","params":["ids","vs_currencies","include_market_cap","include_24hr_vol","include_24hr_change"],"price_usdc":"0.001"},{"path":"/v1/echo","url":"https://x402-wrapper.onrender.com/v1/echo","description":"Echo back request details (via httpbin). Useful for testing agent HTTP plumbing.","method":"GET","params":[],"price_usdc":"0.0001"},{"path":"/v1/weather-now","url":"https://x402-wrapper.onrender.com/v1/weather-now","description":"Current weather and forecast for any latitude/longitude (via Open-Meteo, no key needed).","method":"GET","params":["latitude","longitude","current","hourly","daily","timezone","forecast_days"],"price_usdc":"0.0005"}],"extensions":{"bazaar":{"info":{"pricing":{"unit":"USDC per call on Base (eip155:8453)","per_call_prices":{"crypto-price":"0.001","echo":"0.0001","weather-now":"0.0005"}},"endpoints":{"crypto-price":{"url":"https://x402-wrapper.onrender.com/v1/crypto-price","method":"GET","price_usdc":"0.001","description":"Simple crypto price lookup by coin id (via CoinGecko free tier, no key needed).","inputSchema":{"type":"object","properties":{"ids":{"type":"string"},"vs_currencies":{"type":"string"},"include_market_cap":{"type":"string"},"include_24hr_vol":{"type":"string"},"include_24hr_change":{"type":"string"}}}},"echo":{"url":"https://x402-wrapper.onrender.com/v1/echo","method":"GET","price_usdc":"0.0001","description":"Echo back request details (via httpbin). Useful for testing agent HTTP plumbing.","inputSchema":{"type":"object","properties":{}}},"weather-now":{"url":"https://x402-wrapper.onrender.com/v1/weather-now","method":"GET","price_usdc":"0.0005","description":"Current weather and forecast for any latitude/longitude (via Open-Meteo, no key needed).","inputSchema":{"type":"object","properties":{"latitude":{"type":"string"},"longitude":{"type":"string"},"current":{"type":"string"},"hourly":{"type":"string"},"daily":{"type":"string"},"timezone":{"type":"string"},"forecast_days":{"type":"string"}}}}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"info":{"type":"object","properties":{"pricing":{"type":"object","properties":{"unit":{"type":"string"},"per_call_prices":{"type":"object","additionalProperties":{"type":"string"}}}},"endpoints":{"type":"object","additionalProperties":{"type":"object","properties":{"url":{"type":"string"},"method":{"type":"string","const":"GET"},"price_usdc":{"type":"string"},"description":{"type":"string"},"inputSchema":{"type":"object"}},"required":["url","method","price_usdc"]}}}}},"required":["info"]}}}}