{"uid":"cap_JlQKndPtEQFck7_yRrTNR","slug":"4sec-crypto-market-data-api-token-lookup-by-id-758a8304","name":"4SEC Crypto Market Data API — Token Lookup by ID","description":"Real-time multi-DEX aggregated crypto market data. Pay per request with USDC on Base via x402 protocol.","url":"https://api.foursec.xyz/api/v1/market/%7Bid%7D","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"object","example":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"},"market_cap":{"type":"number"},"current_price":{"type":"number"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pjYGNvXrEF8XVYSCajrOP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches real-time aggregated crypto market data for a specific token by ID, sourced from multiple DEXes, paid per-request with USDC on Base via x402.","exampleAgentPrompt":"Can you pull the current price and market cap for the token with ID 'ethereum' from 4SEC's multi-DEX aggregated market data feed?","exampleUseCases":[{"title":"Real-time DeFi token price check","prompt":"What's the current price and market cap of the token with ID 'uniswap' right now? Pull it from multi-DEX aggregated data."},{"title":"Portfolio valuation enrichment","prompt":"I need to update my portfolio tracker — fetch the latest price and market cap for 'bitcoin' so I can recalculate my holdings' value."},{"title":"Trading bot price feed","prompt":"Get me the real-time price for the token ID 'chainlink' from aggregated DEX sources so I can decide whether to trigger a trade."}],"resultDescription":"Returns a JSON object containing the token's ID, name, symbol, current price (in USD or base currency), and market cap, aggregated from multiple decentralized exchanges in real time.","failureModes":["Invalid or unknown token ID returns an error or empty response","Payment failure via x402 protocol causes request rejection","Token not listed on any supported DEX results in no data","Network or API downtime causes request timeout","Malformed ID parameter causes a 400-level error"],"whenToPreferThis":"Choose this endpoint when you need real-time, multi-DEX aggregated price and market cap data for a specific token and want a pay-per-request model with no subscription — especially useful in agentic workflows on Base where USDC micropayments via x402 are already supported.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T17:25:27.535Z","isFirstParty":false}