{"uid":"cap_0eYlaArpzh5CAFbeLmf1_","slug":"taifoon-coordination-layer-token-price-lookup-4e5c0da6","name":"Taifoon Coordination Layer – Token Price Lookup","description":"One API over the coordination layer: the root that commits every chain, proofs that a transaction happened, what every route costs, the transfers, and the agent-hiring lifecycle. Most operations are public reads. Writes say who may make them in `security` (RelayerKey = X-API-Key, OperatorToken = x-operator-token) and in x-taifoon-auth.rule; nothing here signs or sends a transaction for you. A 2xx JSON object answered to a caller that sent no key also carries `get_key` (and the headers x-taifoon-get-key and Link rel=free-key): how to get a free key in one call; proofs, evidence packs, cards and this document are left as written. Lineage language: a sale walks offer in → classify → listed → hired → delivered → graded → settled → legs written → accrued → split → PAID → recorded; a venue adapter has offer.in · offer.out · job.in · job.out; the seller of record pays on by forward · share · period · markup; a leg is Owed → Reserved → Sent | Held | Refunded; a hop reads OK · HELD · MISSING · BROKEN. On the wire the hop ids are the event field step and the metric label stage; a wire name is never renamed.","url":"https://coord.taifoon.dev/v1/exchanges/edge_a59df085de550198/call?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"args":{"type":"object","required":["token"],"properties":{"token":{"type":"string","description":"Token symbol (ETH, BTC, SOL, SEI, PEAQ...) or CoinGecko ID"}}},"task":{"type":"string","maxLength":4000,"minLength":1},"tool":{"type":"string","const":"get_token_price"},"class":{"type":"string","const":"market.price"}}},"responseSchema":{"type":"json","example":{"ok":true,"edge_id":"edge_a59df085de550198","delivery":{"status":"ready","handshake_id":"hs_…","reply_digest":"0x…"},"meter_line":{"paid":{"by":"x402","units":"1200"},"edge_state":"quoted","agreement_basis":"house_unsigned"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0012","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.0012/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0012","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0012","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lxGGESjLUEQz_jZY8Dl97","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0012","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current market price for a specified token (by symbol or CoinGecko ID) via the Taifoon coordination layer edge.","exampleAgentPrompt":"What's the current market price of ETH? Use Taifoon's coordination layer to get me a live quote.","exampleUseCases":[{"title":"Live crypto price for trading bot","prompt":"Check the current price of SOL using Taifoon so my trading bot can decide whether to execute a swap right now."},{"title":"Portfolio valuation snapshot","prompt":"Fetch the current market prices for ETH and BTC via Taifoon's coordination layer so I can calculate the total value of my portfolio."},{"title":"Token price alert trigger","prompt":"What is PEAQ trading at right now? I want to see if it's crossed my threshold before I set up an alert."}],"resultDescription":"A JSON object with ok status, edge_id, delivery details (status, handshake_id, reply_digest containing the price data), and a meter_line showing payment details (paid by x402, units consumed, edge state, and agreement basis).","failureModes":["Missing or invalid token symbol returns error or empty result","Unrecognized CoinGecko ID results in lookup failure","Missing X-API-Key may still return result but with get_key guidance in response headers","Network or coordination layer timeout returns non-2xx","Payment failure via x402 blocks delivery"],"whenToPreferThis":"Use this endpoint when you need a quick, paid, on-chain-accountable token price lookup through the Taifoon coordination layer, particularly when integrating into an agent workflow that already uses x402 micropayments or needs a verifiable proof of the price query alongside delivery metadata.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T09:34:21.575Z","isFirstParty":false,"canonicalSlug":"taifoon-coordination-layer-token-price-lookup-4593bf9d"}