{"tool":"crypto-price","title":"Crypto Price","what":"Live prices in one fast call for up to 25 assets: any coin by CoinGecko id or ticker symbol (btc, eth, sol, usdc...) and any Solana token by mint address. Returns price, 24h change, 24h high/low, market cap, volume, rank and the source, in USD or another currency. Cached at most 60 s; Binance and Jupiter as fallbacks.","endpoint":"https://yruz.one/api/crypto/price","methods":["GET with query parameters","POST with a JSON body (same fields)"],"price":{"model":"fixed","usdc":"0.002"},"params":[{"name":"ids","required":true,"description":"comma-separated coins or mints, e.g. btc,eth,sol or a Solana mint","example":"bitcoin,ethereum,solana"},{"name":"vs","required":false,"description":"quote currency, default usd (eur, gbp, jpy, btc, eth ...)","example":null}],"valid_request":{"get":"https://yruz.one/api/crypto/price?ids=bitcoin%2Cethereum%2Csolana","post":{"url":"https://yruz.one/api/crypto/price","body":{"ids":"bitcoin,ethereum,solana"}}},"how_to_pay":["1. Send the request without payment: the answer is HTTP 402 with the exact price (x402 v2 in the PAYMENT-REQUIRED header, x402 v1 in the JSON body).","2. Sign one offer of \"accepts\" with an x402 client (USDC on Base eip155:8453 or on Solana mainnet; the facilitator pays the network fee).","3. Resend the identical request (same method, parameters and body) with PAYMENT-SIGNATURE (v2) or X-PAYMENT (v1).","4. The answer carries the receipt in PAYMENT-RESPONSE. Any changed parameter needs a new 402."],"response_shape":{"product":"string","result":{"vs":"string","count":"number","prices":[{"query":"string","id":"string","symbol":"string","name":"string","price":"number","change_1h_pct":"number","change_24h_pct":"number","change_7d_pct":"number","high_24h":"number","low_24h":"number","market_cap":"number","market_cap_rank":"number","volume_24h":"number","ath":"number","updated_at":"string","source":"string"}],"not_found":[],"as_of":"string","max_age_seconds":"number","duration_ms":"number"},"payment":{"payment_id":"string","transaction":"string"}},"refusals":{"400":"invalid input: the message names the field and the expected format; nothing is charged","402":"payment required, or the payment was refused (reason in \"error\"); nothing is charged","403/404":"not your item, or the asked item does not exist; nothing is charged","409/422":"not allowed right now (state or destination safety); nothing is charged","503":"a source or the payment rail is unavailable; nothing is charged, retry after Retry-After"},"mcp":{"server":"https://yruz.one/mcp/x402","payment":"params._meta[\"x402/payment\"] = PaymentPayload"},"related":{"tools":[{"tool":"crypto-trending","url":"https://yruz.one/api/crypto/trending","why":"what is moving now","usd":"0.003","how":"https://yruz.one/api/instructions?tool=crypto-trending"},{"tool":"crypto-token","url":"https://yruz.one/api/crypto/token","why":"rug-pull check before buying a token","usd":"0.005","how":"https://yruz.one/api/instructions?tool=crypto-token"},{"tool":"crypto-fees","url":"https://yruz.one/api/crypto/fees","why":"network fees","usd":"0.002","how":"https://yruz.one/api/instructions?tool=crypto-fees"}],"more_x402_apis":{"402index":"https://402index.io","x402scan":"https://www.x402scan.com","agent402":"https://agent402.tools","x402_protocol":"https://www.x402.org"},"all_yruz_tools":"https://yruz.one/api/instructions"}}