Buy custom USDC amounts of $df token (0x3077c5) on Base via x402 payment
What it does
This x402 endpoint allows agents and users to purchase a custom USDC amount worth of $df tokens (contract 0x3077c5e15F8BD67F05f73b4dC49a507543FF0b07) on the Base network. The token was created via Clanker and is hosted on the x420.dev platform, which provides x402-enabled subdomains for token interactions.
The endpoint accepts a POST request with an optional `amount` field specifying the USDC value to spend (e.g., '10', '0.5'). If no amount is provided, it defaults to 5 USDC. The maximum payment accepted per call is 5 USDC (maxAmountRequired: 5000000 in 6-decimal USDC units). Payment is made via the x402 protocol using USDC (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) on Base, sent to address 0x93109d14F6665a9c9675290D3cD5A6c07bBAfdbd. The response includes a swap transaction hash, a send transaction hash, the number of tokens received, and the USDC amount paid.
The token's x402 stats show minimal activity: 1 total transaction, 1 unique user, 100% success rate, average latency of 2.26s, and a trust score of 82%. No dedicated documentation, pricing page, or OpenAPI spec exists beyond the landing page and the x402 challenge itself.
Capabilities
Use cases
- —Agents autonomously purchasing $df tokens with USDC on Base
- —Programmatic token swaps triggered by on-chain or off-chain signals
- —Integrating pay-per-call token purchases into automated trading workflows
Fit
Best for
- —AI agents that need to autonomously acquire specific tokens on Base
- —Developers experimenting with x402 payment-gated DeFi endpoints
- —Automated strategies that buy small amounts of meme/community tokens
Not for
- —Large-volume or high-frequency trading (max 5 USDC per call, minimal liquidity signals)
- —Users seeking tokens on networks other than Base
- —Anyone needing detailed API documentation or SLA guarantees
Quick start
curl -X POST https://df.x420.dev/api/puff-custom \
-H "Content-Type: application/json" \
-H "X-PAYMENT: <x402_payment_header>" \
-d '{"amount": "2.5"}'Example
Request
{
"amount": "2.5"
}Response
{
"message": "Successfully swapped USDC for df tokens",
"tokensReceived": "1250000000000000000000",
"usdcAmountPaid": "2.5",
"sendTransactionHash": "0x789ghi...jkl012",
"swapTransactionHash": "0xabc123...def456"
}Endpoint
Quality
The x402 challenge is live and includes a well-defined outputSchema with input/output fields, but there is no OpenAPI spec, no documentation page, and the token has only 1 total transaction. The response example is inferred from the outputSchema rather than observed. Very low usage and no docs beyond the landing page limit confidence.
Warnings
- —No dedicated API documentation exists — /docs, /api, /pricing, /README all return 'doesn't exist' pages
- —Extremely low usage: only 1 total transaction and 1 unique user reported on the landing page
- —Max payment per call is 5 USDC (5000000 in 6-decimal units), limiting transaction size
- —Response example is inferred from outputSchema, not from an actual observed response
- —This involves purchasing a speculative token with no apparent utility disclosure
Citations
- —The x402 challenge is live with maxAmountRequired of 5000000 (5 USDC) on Base networkhttps://df.x420.dev/api/puff-custom
- —Token contract is 0x3077c5e15F8BD67F05f73b4dC49a507543FF0b07, created via Clankerhttps://df.x420.dev
- —x402 stats show 1 total transaction, 1 unique user, 100% success rate, 2.26s avg latency, 82% trust scorehttps://df.x420.dev
- —Payment is in USDC (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) to address 0x93109d14F6665a9c9675290D3cD5A6c07bBAfdbdhttps://df.x420.dev/api/puff-custom
- —The amount field defaults to 5 USDC if not providedhttps://df.x420.dev/api/puff-custom