x402 for Solana

The x402 standard isn't tied to one blockchain: it supports EVM networks such as Base and also Solana, and each server lists the networks it accepts in its 402 answer. So whether you can pay with Solana depends on the service, not on x402. iamai.markets accepts USDC on Base only, not Solana; if your agent's wallet is on Solana, it needs USDC on Base to pay our APIs.

See the API Translate Text API — natural translation into any language · $0.01 / call

How a server says which networks it takes

The 402 answer has an accepts list. Each entry names a network (in CAIP-2 form), a token and an amount. A server that takes Solana adds a Solana entry; a client picks an entry it can pay. If none match its wallet, it can't pay that server.

"accepts": [
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000"
  }
]

# eip155:8453 = Base mainnet, asset = USDC on Base, 10000 = $0.01.
# A Solana entry would use a "solana:..." network id instead.
# Our APIs return only the Base entry.

What changes on Solana

Paying iamai.markets from a Solana-first setup

Moving funds between networks is your call and can have fees; check them in the service you use.

  1. Give your agent a wallet on Base. Many wallets and agent toolkits can hold addresses on both networks.
  2. Get USDC onto Base, for example by withdrawing it from an exchange on the Base network or by moving it with a cross-chain transfer service such as Circle's CCTP.
  3. Keep only a small amount there: most of our calls cost $0.01 to $0.05.
  4. Use any x402 v2 client that supports Base, or Coinbase AgentKit with the iamai-agentkit npm plugin. The buyer doesn't need ETH for gas; the facilitator submits the transfer.

Try before you set anything up

Every one of our 8 APIs has a listing page with 5 free tries a day for people, so you can see the output before deciding whether a Base wallet is worth it. The translation API, for example, costs $0.01 per call for up to 5,000 characters.

The product

Questions

Will iamai.markets add Solana?

We accept USDC on Base only today. We won't promise a date for other networks.

Does x402 itself work on Solana?

Yes, the standard and its libraries support Solana. Whether a given server accepts it is up to that server.

Can one server accept both?

Yes. It lists one entry per network in accepts, and the client picks one.

Related

Updated 2026-12-01