{"uid":"cap_Q3ZuouuH94GorulBrYY3E","slug":"tokenaru-vercel-app-81231744","name":"Tokenaru Token Lookup","description":"Resolve a token contract address with CoinGecko-backed metadata.","url":"https://tokenaru.vercel.app/api/lookup","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":["q"],"properties":{"q":{"type":"string","description":"Natural language query: token/coin name, price request, trending, etc. Examples: 'USDC on Base', 'price of bitcoin', 'trending coins'"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"ok":{"type":"boolean"},"data":{"type":"object"},"name":{"type":"string"},"error":{"type":"string"},"token":{"type":"string"},"source":{"enum":["cache","coingecko_live"],"type":"string"},"symbol":{"type":"string"},"address":{"type":"string"},"chainId":{"type":"string"},"message":{"type":"string"},"chainName":{"type":"string"},"capability":{"type":"string"},"coingeckoPlatformId":{"type":"string"}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"q":"USDC on Base"}}},"response":{"ok":true,"name":"USDC","token":"USDC","source":"coingecko_live","symbol":"USDC","address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","chainId":"eip155:8453","chainName":"Base","coingeckoCoinId":"usd-coin","coingeckoPlatformId":"base"}},"exampleRequest":{"q":"USDC on Base"},"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_motATmJGYwo3kbdU7Y4F9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves a token's contract address, chain, and CoinGecko-backed metadata from a natural language query about a coin or token.","exampleAgentPrompt":"What is the contract address for USDC on Base? I need the chain ID and CoinGecko metadata too.","exampleUseCases":null,"resultDescription":"Returns a JSON object with ok status, token name, symbol, contract address, chain ID, chain name, CoinGecko platform ID, and a source field indicating whether the data came from cache or live CoinGecko API.","failureModes":["Token or coin not found in CoinGecko database — returns ok: false with an error message","Ambiguous query matching multiple tokens — may return unexpected token","Network or CoinGecko API unavailability causing lookup failure","Token exists but has no contract address on the queried chain"],"whenToPreferThis":"Use this endpoint when you need to resolve a human-readable token or coin name into its on-chain contract address and chain metadata, especially when the user has provided a natural language description like 'USDC on Base' rather than a raw address. Prefer this over manual lookups when CoinGecko-sourced metadata and multi-chain support are needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:35:32.081Z","isFirstParty":false}