Pay USDC via x402 to buy $pong tokens on Base network
What it does
This x402-enabled endpoint lets agents and users purchase $pong tokens (contract 0x2C2c86E4796fB22ca7169f7cdB4d3a2F9eB08B07) by paying USDC on the Base network. The endpoint is hosted on x420.dev, a platform for creating x402-payable token actions tied to Clanker-launched tokens.
When called with a valid X-PAYMENT header containing a USDC payment (up to 1,000,000 units, i.e., 1 USDC at 6 decimals), the endpoint executes a swap and returns a JSON response containing the swap transaction hash, send transaction hash, the number of tokens received, and the USDC amount paid. The payment is sent to address 0x93109d14F6665a9c9675290D3cD5A6c07bBAfdbd on Base, using USDC (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913). The action is referred to as "Puff" on the token's landing page.
No OpenAPI spec or additional documentation is available beyond the x402 challenge metadata and the landing page. The token was created via Clanker (clanker.world) and activity can be tracked on x402scan.com.
Capabilities
Use cases
- —Programmatically purchasing $pong tokens with USDC via an AI agent
- —Automating token swaps on Base using the x402 payment protocol
- —Integrating Clanker token purchases into agent workflows
Fit
Best for
- —Agents that need to acquire $pong tokens on Base
- —Developers experimenting with x402 payment-gated token swaps
- —Automated DeFi interactions using the x402 protocol
Not for
- —Users looking for general-purpose DEX or multi-token swap APIs
- —Anyone needing detailed API documentation or OpenAPI specs
- —Non-crypto or non-blockchain use cases
Quick start
curl -X GET https://pong.x420.dev/api/puff \
-H "X-PAYMENT: <x402-payment-header>"Example
Response
{
"message": "Swap successful",
"tokensReceived": "42000000000000000000",
"usdcAmountPaid": "1000000",
"sendTransactionHash": "0x789ghi...jkl",
"swapTransactionHash": "0xabc123...def"
}Endpoint
Quality
No OpenAPI spec, no docs page (returns 404-like placeholder), and no usage examples are provided. The only structured information comes from the x402 challenge metadata and a minimal landing page. The output schema is present but response example is inferred.
Warnings
- —No OpenAPI or formal API documentation available
- —Docs, API, pricing, and README pages all return placeholder 'doesn't exist' pages
- —Response example is inferred from outputSchema, not from an actual observed response
- —This is a crypto token swap endpoint — regulatory considerations may apply
- —The token is a Clanker-launched memecoin; value and liquidity are uncertain
Citations
- —The endpoint accepts USDC payments on Base network with maxAmountRequired of 1000000 (1 USDC)https://pong.x420.dev/api/puff
- —The $pong token contract address is 0x2C2c86E4796fB22ca7169f7cdB4d3a2F9eB08B07https://pong.x420.dev
- —The token was created via Clanker and can be viewed on clanker.worldhttps://pong.x420.dev
- —Activity can be tracked on x402scan.com for the recipient addresshttps://pong.x420.dev
- —The output schema includes message, swapTransactionHash, sendTransactionHash, tokensReceived, and usdcAmountPaid fieldshttps://pong.x420.dev/api/puff