Pay 1 USDC via x402 to swap for FROGS tokens on Base, returned to your wallet.
What it does
This x402 endpoint lets an agent or user spend 1 USDC to purchase FROGS tokens (contract 0xbdB03E709EC61316D5Df8D7a6BBF203572E6cB07) on the Base network. The endpoint is hosted on x420.dev, a platform that appears to create x402-enabled subdomains for Clanker-launched tokens. Upon payment, the service executes a swap from USDC to FROGS and sends the resulting tokens to the caller, returning a JSON response with the swap transaction hash, send transaction hash, tokens received, and USDC amount paid.
The payment is handled via the x402 protocol: a GET request without an X-PAYMENT header returns a 402 challenge specifying the exact USDC amount (1 USDC, encoded as 1000000 in 6-decimal units) and the payTo address. The asset used for payment is USDC on Base (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913). The maximum timeout for the transaction is 120 seconds.
Documentation is minimal — the /docs, /api, /pricing, and /README paths all return placeholder pages. The landing page shows basic x402 stats (1 total transaction, 1 unique user, 100% success rate, ~1.3s average latency, 84% trust score). The token was created via Clanker and can be viewed on clanker.world and x402scan.com.
Capabilities
Use cases
- —Programmatically purchasing FROGS tokens with USDC via an AI agent
- —Automating small token swaps on Base without a DEX frontend
- —Demonstrating x402 payment protocol for on-chain token purchases
Fit
Best for
- —Agents that need to acquire specific tokens on Base via a simple HTTP call
- —Developers experimenting with the x402 payment protocol
- —Users wanting a one-step USDC-to-FROGS swap without a wallet UI
Not for
- —Large-volume or variable-amount token trading (fixed 1 USDC amount)
- —Purchasing tokens on networks other than Base
- —Users seeking detailed documentation or API flexibility
Quick start
curl -X GET https://frogs.x420.dev/api/puff \
-H "X-PAYMENT: <x402-payment-header>"Example
Response
{
"message": "Successfully swapped USDC for FROGS",
"tokensReceived": "1000000000000000000",
"usdcAmountPaid": "1000000",
"sendTransactionHash": "0x789abc...012def",
"swapTransactionHash": "0xabc123...def456"
}Endpoint
Quality
The x402 challenge is live and well-formed with a clear outputSchema, but there is no documentation, no OpenAPI spec, no usage examples, and the endpoint has only 1 recorded transaction. The response schema is inferred from the outputSchema in the 402 challenge.
Warnings
- —No documentation available — /docs, /api, /pricing, /README all return placeholder pages
- —Extremely low usage: only 1 total transaction and 1 unique user recorded
- —Fixed 1 USDC payment amount with no apparent way to customize swap size
- —FROGS is a Clanker-launched meme token — high financial risk, no guarantees of liquidity or value
- —Response example is inferred from outputSchema, not from an actual observed response
Citations
- —The endpoint returns a 402 challenge requiring 1,000,000 units (1 USDC) payment on Basehttps://frogs.x420.dev/api/puff
- —The FROGS token contract is 0xbdB03E709EC61316D5Df8D7a6BBF203572E6cB07 and was created via Clankerhttps://frogs.x420.dev
- —x402 stats show 1 total transaction, 1 unique user, 100% success rate, 1.30s avg latency, 84% trust scorehttps://frogs.x420.dev
- —The payTo address is 0x93109d14F6665a9c9675290D3cD5A6c07bBAfdbd and the USDC asset is 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913https://frogs.x420.dev/api/puff