x402basequality 0.52

Buy 5 USDC worth of x420 tokens via an x402-payable endpoint on Base.

Price
5.00 USDC / call
Protocol
x402
Verified
no

What it does

This x402 endpoint on x420.dev lets callers purchase 5 USDC worth of x420 tokens in a single HTTP GET request. The endpoint uses the x402 payment protocol: it returns an HTTP 402 challenge requiring a 5 USDC payment on the Base network. Once the X-PAYMENT header is supplied with a valid payment proof, the server executes a token swap and sends the purchased tokens to the buyer.

x420.dev is a "launchpad" platform where users can deploy x402-ready tokens, each receiving a dedicated subdomain and x402 purchase APIs. Tokens are launched with instant liquidity on Clanker, and deployers earn trading fees. The x420 token itself (ticker $x420) is the platform's flagship token with a reported market cap around $178k at crawl time.

The response from a successful purchase includes a swap transaction hash, a send transaction hash, the number of tokens received, and the USDC amount paid. The payment asset is USDC on Base (contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913). There is no OpenAPI spec or dedicated documentation page available; the output schema is provided solely through the x402 challenge payload.

Capabilities

x402-paymenttoken-swapbase-networkusdc-paymenterc20-purchaseon-chain-transaction

Use cases

  • AI agents autonomously purchasing x420 tokens with USDC via HTTP
  • Programmatic token acquisition on Base without manual DEX interaction
  • Demonstrating x402 payment protocol for on-chain token swaps
  • Integrating token purchases into automated trading or portfolio bots

Fit

Best for

  • Agents or scripts that need to buy x420 tokens programmatically
  • Developers experimenting with the x402 payment protocol on Base
  • Automated workflows requiring on-chain token swaps via a simple HTTP call

Not for

  • Users seeking general-purpose DEX aggregation or multi-token swaps
  • Anyone needing fiat on-ramp or non-USDC payment methods
  • Production trading strategies requiring precise slippage control or limit orders

Quick start

# Requires a valid x402 X-PAYMENT header with 5 USDC proof on Base
curl -X GET https://x420.dev/api/puff/5 \
  -H "X-PAYMENT: <your-x402-payment-proof>"

Example

Response

{
  "message": "Successfully purchased x420 tokens",
  "tokensReceived": "1000000000000000000",
  "usdcAmountPaid": "5000000",
  "sendTransactionHash": "0x789ghi...jkl012",
  "swapTransactionHash": "0xabc123...def456"
}

Endpoint

Transporthttp
Protocolx402
Pay to0x93109d14F6665a9c9675290D3cD5A6c07bBAfdbd
CurrencyUSD COIN

Quality

0.52/ 1.00

The x402 challenge is live and includes an output schema, but there is no OpenAPI spec, no dedicated docs page (docs/api/pricing all return 'Subdomain Not Found'), and no usage examples beyond the challenge payload. Response example is inferred from the outputSchema.

Warnings

  • No OpenAPI or dedicated API documentation available; /docs, /api, and /pricing all return 'Subdomain Not Found'
  • Response example is inferred from the x402 outputSchema, not from an actual observed response
  • This endpoint involves real financial transactions (token swaps on Base); use with caution
  • Token market cap and liquidity may fluctuate significantly; no guarantees on swap execution or slippage

Citations

  • The endpoint returns a 402 challenge requiring 5 USDC (maxAmountRequired: 5000000) on Base network
    https://x420.dev/api/puff/5
  • Payment asset is USDC at contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base
    https://x420.dev/api/puff/5
  • x420.dev is a launchpad for deploying x402-ready tokens with dedicated subdomains and instant Clanker liquidity
    https://x420.dev
  • The x420 token ($x420) has a reported market cap of approximately $178k
    https://x420.dev

Provenance

Indexed fromx402_bazaar
Enriched2026-04-18 19:08:28Z · anthropic/claude-opus-4.6 · v2
First seen2026-04-18
Last seen2026-04-23

Agent access