{"uid":"cap_1hbGCQ9Xtvbyb0KshnIU2","slug":"cortex-cloud-token-spot-price-74ad542f","name":"Cortex Cloud Token Spot Price","description":"One pay-per-call API for AI agents: optimization, AI, research, on-chain data, and automation — all settled in USDC on Base via x402. Discover via MCP and Bazaar, estimate free, pay per call. No API keys, no signup.","url":"https://api.cortexcloud.org/v1/data/token-price","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"id":{"type":"string"},"chain":{"type":"string","default":"ethereum"},"contract":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}}},"responseSchema":{"type":"object","format":"application/json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nPxUQLYjS98qpcxgRUPby","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current USD spot price for a cryptocurrency token or coin, using CoinGecko (free tier) or Alchemy as fallback, paid per call via x402.","exampleAgentPrompt":"What's the current USD spot price of Ethereum on the Ethereum chain right now?","exampleUseCases":[{"title":"DeFi portfolio valuation","prompt":"I need the current USD price of the token at contract address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum so I can calculate my portfolio's total value."},{"title":"Crypto trading alert trigger","prompt":"What's the current spot price of Chainlink — use its CoinGecko id 'chainlink' — I want to know if it's crossed my target threshold."},{"title":"NFT floor price conversion","prompt":"What is the current USD price of WETH on Ethereum? I need to convert a floor price listed in WETH to dollars."}],"resultDescription":"Returns the current USD spot price for the requested token or coin, identified by CoinGecko id, contract address, or chain. The response includes the numeric price value in USD, sourced from CoinGecko on the free tier or Alchemy when needed.","failureModes":["Unknown token id or symbol returns a 404 or empty result","Invalid contract address format (must match ^0x[0-9a-fA-F]{40}$) returns a 400 validation error","Unsupported chain parameter results in an error or no data","Rate limits on underlying CoinGecko or Alchemy APIs may cause transient failures or delays","Payment failure via x402 (insufficient USDC balance) results in a 402 response blocking the request","Stale or delayed pricing data if upstream providers are lagging"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call USD spot price for a token without managing API keys. It is ideal for AI agents operating autonomously on Base that need real-time crypto prices as part of a workflow, especially when CoinGecko's free tier suffices and Alchemy serves as a reliable fallback. Prefer it over raw CoinGecko or Alchemy direct calls when you want a unified x402-compatible interface billed in USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:37:25.915Z","isFirstParty":false}