{"uid":"cap_PYVnd0DuRTPNOPDr1mR-Q","slug":"solana-x402-token-data-api-f2ba4d01","name":"Solana x402 Token Data API","description":"Blockchain data APIs with x402 payments on Solana + Base via PayAI facilitator. 7 endpoints covering bridge routing, whale alerts, DeFi yields, RPC, NFT, token, and transaction history.","url":"https://solana-x402-xi.vercel.app/api/v1/token-data","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"queryParams":{"type":"object","required":["chain","action"],"properties":{"chain":{"type":"string","description":"Chain name (e.g. ethereum, base, polygon, arbitrum)"},"limit":{"type":"number","description":"Number of results (1-100)"},"owner":{"type":"string","description":"Wallet address (for balances and transfers)"},"action":{"type":"string","description":"Action: balances, metadata, transfers"},"contractAddress":{"type":"string","description":"Token contract address (for metadata)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uJfZiNGTQre54kfCqW6qi","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches EVM token data including balances, metadata, and transfer history for a given wallet or contract address on chains like Ethereum, Base, Polygon, and Arbitrum, paid per-call via x402 micropayments.","exampleAgentPrompt":"Can you pull the token balances for wallet 0xABC123...def on Base, and also grab the metadata for the USDC contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48?","exampleUseCases":[{"title":"Portfolio token balance check","prompt":"Show me all the token balances held by wallet 0x742d35Cc6634C0532925a3b844Bc454e4438f44e on Ethereum, up to 50 results."},{"title":"Token contract metadata lookup","prompt":"I need the metadata for the USDC token contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum — things like name, symbol, and decimals."},{"title":"Wallet token transfer history","prompt":"Fetch the last 25 token transfers for wallet 0x1234abcd...5678 on Polygon so I can see what's been moving in and out recently."}],"resultDescription":"Returns token data for the requested action: for 'balances' — a list of token holdings with amounts and contract info; for 'metadata' — name, symbol, decimals, and other contract-level details; for 'transfers' — a list of transfer events with sender, recipient, amount, and timestamp, scoped to the specified chain.","failureModes":["Missing required 'action' query param (balances/metadata/transfers) returns 400 error","Missing 'owner' when action is balances or transfers returns validation error","Missing 'contractAddress' when action is metadata returns error","Unsupported chain name returns 400 or empty results","Payment not fulfilled or x402 handshake fails returns 402 Payment Required","Rate limit exceeded or downstream RPC error returns 500 or timeout"],"whenToPreferThis":"Choose this endpoint when you need on-chain EVM token data — balances, metadata, or transfer history — across chains like Ethereum, Base, Polygon, or Arbitrum, and want pay-per-call micropayment pricing via x402 without a subscription or API key. Prefer this over free public RPC calls when you need structured, ready-to-use token data rather than raw blockchain responses.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:33:06.170Z","isFirstParty":false}