{"uid":"cap_lRj708lloO_xg6KEQKkE1","slug":"coinbase-onramp-url-generator-8f0d90d8","name":"Coinbase Onramp URL Generator","description":"Generate a single-use Coinbase Onramp URL that lets a human fund any wallet with a card or Apple Pay - the fastest way to put real USDC into an agent's wallet. Returns the ready-to-open URL, and a fee-inclusive quote when Coinbase provides one. Networks: base, ethereum, polygon, arbitrum, optimism, solana.","url":"https://agent402.tools/api/onramp-link","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"asset":{"type":"string","description":"Ticker to purchase (default USDC)"},"amount":{"type":"string","description":"Crypto amount the wallet should receive (default 10)"},"address":{"type":"string","description":"Destination wallet address (EVM 0x… or Solana base58, matching the network)"},"country":{"type":"string","description":"Buyer's ISO 3166-1 country code (default US)"},"network":{"type":"string","description":"base (default) | ethereum | polygon | arbitrum | optimism | solana"},"redirectUrl":{"type":"string","description":"Optional URL to send the buyer to after checkout"},"subdivision":{"type":"string","description":"US state code (e.g. NY) - required for US buyers by some payment methods"}}},"responseSchema":{"type":"json","example":{"note":"Open the URL in a browser to complete the purchase - it is single-use and expires after first visit.","onrampUrl":"https://pay.coinbase.com/…single-use…","singleUse":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_eXY6Nzl937W2k9H1w_4zC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a single-use Coinbase Onramp checkout URL that lets a user fund a wallet with USDC (or other crypto) via card or Apple Pay, including a fee-inclusive quote.","exampleAgentPrompt":"Generate a Coinbase Onramp checkout link to send 25 USDC to my Base wallet at 0xAbc123...def456 — I'm in the US, state NY, and redirect me to https://myapp.com/success after checkout.","exampleUseCases":null,"resultDescription":"Returns a ready-to-open single-use Coinbase Onramp URL the user can click to complete purchase via card or Apple Pay, along with a fee-inclusive quote showing the total cost for the requested crypto amount.","failureModes":["Invalid or malformed wallet address returns a 400-level error","Unsupported network name causes a validation error","Country not supported by Coinbase Onramp returns an error","Amount below minimum or above maximum threshold causes rejection","Missing required address field returns a validation error","x402 payment of $0.001 USDC fails if agent wallet is underfunded"],"whenToPreferThis":"Use this endpoint when you need to let a human fund an on-chain wallet with fiat currency (card or Apple Pay) via Coinbase Onramp, especially when the destination is a Base, Ethereum, Polygon, Arbitrum, Optimism, or Solana wallet. Prefer this over manual exchange instructions when you want a single frictionless checkout link with a fee-inclusive quote.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:17:45.581Z","isFirstParty":false}