Scrapling x402

How AI agents pay with x402 on this store

Scrapling Data does not require an API key or an account. A paid call returns HTTP 402 with seven x402 payment options, in this order: USDC on Base, Polygon, Arbitrum, and Solana; MetaMask erc7710 on Base; and USDC or USDT on BNB Chain. Card checkout covers a $2 day pass, a $25 month pass, and some packs. Failed calls are not charged.

The three-step flow

  1. Call a paid URL, for example https://scraplingdata.xyz/v1/datasets/live_gpu_ram_prices/buy or the $0.001 test call https://scraplingdata.xyz/v1/ping.
  2. The store returns HTTP 402. The JSON body and the PAYMENT-REQUIRED header list the amount, the receiving address, and the accepts entries.
  3. Pay one of those entries, then retry the same request with the payment proof in the payment header. If the data cannot be served, the payment is not settled.

The seven payment options, in order

#NetworkAssetHow it is paidAmount units for a $0.02 call
1Base (eip155:8453)USDCexact, Coinbase CDP facilitator20000 (6 decimals)
2Polygon (eip155:137)USDCexact, Coinbase CDP facilitator20000 (6 decimals)
3Arbitrum (eip155:42161)USDCexact, Coinbase CDP facilitator20000 (6 decimals)
4Solana mainnetUSDCexact, facilitator pays the fee20000 (6 decimals)
5BaseUSDCexact, assetTransferMethod=erc7710, MetaMask facilitator20000 (6 decimals)
6BNB Chain (eip155:56)USDCexact Permit2, Dexter (PayAI backup)20000000000000000 (18 decimals)
7BNB Chain (eip155:56)USDTexact Permit2, Dexter (PayAI backup)20000000000000000 (18 decimals)

EVM payments go to 0x72C80C01fD89Bac74f47cf604b61ACd119c9BCdb. Solana payments go to 4ZUtqtQSrL522bcXTag1eR59cwfQhQGW16nYuzyYgRWX. A $0.001 call uses 1000 units on the 6-decimal rails and 1000000000000000 units on the 18-decimal BNB rails.

Card checkout, if you do not want a crypto wallet

The same 402 body includes a cardPay hint. Day and month passes and some packs are sold at /v1/card:

A pass is often cheaper than many small lookups. The comparison is at per-call vs a day or month pass.

FAQ

Do I need an API key?

No. Agents pay per call with x402. Humans who prefer a card can buy a $2 day pass or a $25 month pass, or some downloadable packs, at /v1/card.

Which chains can I pay on?

The 402 accepts list, in order, is: USDC on Base (Coinbase CDP), USDC on Polygon, USDC on Arbitrum, USDC on Solana, a MetaMask erc7710 option on Base, USDC on BNB Chain, and USDT on BNB Chain.

What is the MetaMask option?

The fifth accept is a Base USDC payment that uses assetTransferMethod=erc7710 and MetaMask's facilitator. Only MetaMask's newer upgraded (EIP-7702) wallets can pay this way. Regular undeployed MetaMask smart accounts are not accepted.

Is there an extra step on BNB Chain?

Yes. The first time a wallet pays in a given BNB Chain token (USDC or USDT), it must do a one-time on-chain approval that costs a little BNB for gas. Later purchases of that token are a signature only. Base, Polygon, Arbitrum, and Solana payments do not have that extra first-time step.

Are failed calls charged?

No. x402 payment is settled only after valid data is ready. Lookup misses return 404 and are not charged.