{"uid":"cap_IZnRsD1GLtYFYmkErQrZ8","slug":"crypto-pair-price-ce7f3a61","name":"Crypto Pair Price","description":"Price of one crypto in terms of another -- BTC/USD, ETH/BTC, SOL/ETH, or any pair from 21+ major coins by ticker. Handles crypto/crypto pairs (e.g. how many ETH is 1 BTC worth) as well as a plain USD quote. Returns each leg's own 24h % change vs USD rather than a synthetic ratio change. From CoinGecko. $0.005/call.","url":"https://www.x402financialdata.com/crypto-pair/:base/:quote","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","HEAD","DELETE"],"type":"string"},"pathParams":{"type":"object","required":["base","quote"],"properties":{"base":{"type":"string","description":"Base coin ticker, e.g. BTC, ETH, SOL"},"quote":{"type":"string","description":"Quote coin ticker, e.g. USD, ETH, BTC"}}},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MKAE77w9lre4MpKYZQ1ur","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the price of one cryptocurrency expressed in another (or USD), with 24h percentage change for each leg, sourced from CoinGecko.","exampleAgentPrompt":"What's the current price of 1 BTC in ETH, and how has each coin moved in the last 24 hours?","exampleUseCases":[{"title":"Cross-crypto arbitrage check","prompt":"What's the current ETH/BTC rate right now, and how much has each of them moved against USD in the last 24 hours?"},{"title":"Portfolio rebalancing decision","prompt":"I'm thinking of swapping some SOL into ETH — what's the current SOL/ETH price and how are both coins performing today?"},{"title":"USD value of a crypto holding","prompt":"How much is 1 BTC worth in USD right now? And show me the 24-hour percentage change too."}],"resultDescription":"Returns the current price of the base coin denominated in the quote coin (e.g. how many ETH per 1 BTC), plus the individual 24h percentage change versus USD for each of the two coins. Does not return a synthetic pair change ratio — each leg's USD performance is reported separately.","failureModes":["Unsupported ticker symbol returns an error (only 21+ major coins supported)","Network or CoinGecko upstream outage may result in a 5xx error","Passing the same coin as both base and quote returns a price of 1 with no useful change data","Malformed path params (missing base or quote) return a 400 error"],"whenToPreferThis":"Choose this endpoint when you need a live cross-rate between two specific cryptocurrencies (e.g. ETH/BTC, SOL/ETH) or a simple USD quote for a single coin, and you also want the 24h USD-relative performance of each leg independently. It is simpler and cheaper than a full market-data endpoint when you only need the pair price and directional context. Prefer it over general crypto market data endpoints when you care about the cross-rate specifically, not market cap or volume.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:46:05.317Z","isFirstParty":false}