{"uid":"cap_ieiHsaVnEGc-i2w1Oisb6","slug":"scrapemole-onchain-token-info-79cc471a","name":"ScrapeMole Onchain Token Info","description":"Pay-per-call on-chain data for agents on Base and Ethereum, read directly from chain state: Chainlink USD prices (crypto, stablecoins, FX, metals; 10 per call), ERC-20 token info, wallet balances with USD values, transaction lookup with decoded ERC-20 transfers, ENS and Basename resolution (forward and reverse), gas and fee estimates in USD, and Uniswap v3 DEX prices for long-tail tokens (verify a payment arrived). USDC via x402; failed calls are never charged.\n\nPayments: x402 v2, scheme \"exact\", USDC on Base (eip155:8453). The payment is verified before the work and settled only when the response is 200. Terms: https://onchain.scrapemole.workers.dev/terms","url":"https://onchain.scrapemole.workers.dev/v1/token?utm_source=zero.xyz","method":"GET","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":["GET"],"type":"string"},"queryParams":{"type":"object","required":["address"],"properties":{"chain":{"enum":["base","ethereum"],"type":"string","default":"base","description":"Chain."},"address":{"type":"string","examples":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"],"description":"Token contract address (0x…)."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"name":"USD Coin","chain":"base","symbol":"USDC","address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","decimals":6,"explorer":"https://basescan.org/token/0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","priceUsd":0.9999,"isContract":true,"totalSupply":"4123456789012345","codeSizeBytes":1852,"totalSupplyFormatted":"4123456789.012345"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wD1AQeDf0MMtbrfw65Cwz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches on-chain ERC-20 token metadata and current USD price for a given contract address on Base or Ethereum","exampleAgentPrompt":"What token is deployed at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base — give me its name, symbol, decimals, total supply, and current USD price.","exampleUseCases":[{"title":"Identify unknown token contract","prompt":"I found this contract address 0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed on Base — can you tell me what token it is, its symbol, and how many decimals it uses?"},{"title":"Verify token USD price before swap","prompt":"Before I execute this swap, what is the current USD price of the token at 0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb on Base?"},{"title":"Audit token supply and contract size","prompt":"I need to audit this Ethereum token at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 — give me its total supply, decimals, and how big the contract bytecode is."}],"resultDescription":"A JSON object containing the token's name, symbol, decimals, total supply (raw and formatted), current USD price, contract code size in bytes, whether the address is a contract, and a block explorer URL for the token.","failureModes":["Invalid or non-contract address returns an error (call not charged)","Address is a wallet, not a contract — isContract will be false and token fields may be absent","Token has no Chainlink price feed — priceUsd may be null or absent","Wrong chain specified — token exists on Ethereum but Base was queried, returning no data","Payment failure via x402 — call rejected before execution, no charge"],"whenToPreferThis":"Choose this endpoint when you need authoritative on-chain ERC-20 token metadata (name, symbol, decimals, total supply) plus a live USD price read directly from chain state on Base or Ethereum. Prefer it over centralized token APIs when you need trustless, real-time data without relying on a third-party database that may be stale or incomplete for long-tail tokens. The pay-per-call x402 model means no subscription required for occasional lookups.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:41:06.181Z","isFirstParty":false,"canonicalSlug":"scrapemole-onchain-token-info-79cc471a"}