{"uid":"cap_srjbe58VLdjZUNqjHyBgF","slug":"x402factory-ai-22cec7c3","name":"x402factory.ai Coin Price Endpoint","description":"Base coin price mini-endpoint for major tokens only. Returns spot prices and 24h stats for well-known tickers like btc, solana, eth, xmr, ltc and other large-cap coins, never microcaps. Pass an optional ticker to get a single-coin 24h snapshot with price, symbol, changeRate, changePrice, high and low, or omit ticker to receive a compact basket of top tokens in a fixed order. Cost: 0.001 USDC per request.","url":"https://x402factory.ai/base/coinprice","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"ticker":{"type":"string","description":"Optional ticker symbol for a single major token (case-insensitive). Examples: btc, solana, eth, xmr, ltc. When omitted the endpoint returns a compact basket of top tokens instead."}}},"responseSchema":{"ok":{"type":"boolean","description":"True on success."},"low":{"type":"number","description":"24h low price for the asset (single mode only)."},"high":{"type":"number","description":"24h high price for the asset (single mode only)."},"mode":{"type":"string","description":"Result mode: 'single' when ticker is provided, 'top' when ticker is omitted."},"price":{"type":"number","description":"Spot price for the asset, using the upstream best bid/last price in a stable quote asset."},"prices":{"type":"array","description":"For mode='top': ordered array of { ticker, symbol, price } for a fixed basket of major tokens, in the order: btc, solana, eth, xmr, bnb, xrp, trx, doge, ada, bch, hype, link, leo, xlm, zec, ltc, avax, hbar, dai, shib, ton, mnt, wlfi, cro."},"symbol":{"type":"string","description":"Upstream trading symbol for the asset (e.g. BTC-USDT for single mode, or base asset symbol like BTC in the top basket)."},"ticker":{"type":"string","description":"Normalized lower-case ticker that was resolved (single mode only)."},"changeRate":{"type":"number","description":"Relative 24h change rate over the recent period for the asset (single mode only)."},"changePrice":{"type":"number","description":"Absolute 24h price change over the recent period for the asset (single mode only)."}},"example":{"request":{"ticker":"btc"},"response":{"ok":true,"low":63835.1,"high":66436.2,"mode":"single","price":63933.2,"symbol":"BTC-USDT","ticker":"btc","changeRate":-0.0302,"changePrice":-1997.5}},"exampleRequest":{"ticker":"btc"},"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_tsIFOc3q9wiJsk8sbYtZ5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns spot price and 24h stats (change, high, low) for major large-cap crypto tokens, optionally filtered to a single ticker, paid per-request via x402.","exampleAgentPrompt":"What's the current spot price and 24-hour stats for BTC — including the price change, high, and low?","exampleUseCases":null,"resultDescription":"A JSON object containing spot price, symbol, 24h change rate, 24h change price, 24h high, and 24h low for the requested ticker; or a compact basket of top tokens if no ticker is specified.","failureModes":["Unknown or microcap ticker returns an error — only large-cap coins like btc, eth, sol, xmr, ltc are supported","Missing x402 payment header causes 402 Payment Required response","Malformed JSON body returns 400 Bad Request","Network or upstream price feed outage returns 500 or timeout"],"whenToPreferThis":"Use this endpoint when an agent needs a fast, cheap ($0.001 USDC) spot price or 24h market snapshot for a well-known large-cap cryptocurrency. Ideal when you need price, change rate, high, and low in a single call without a full exchange API integration. Not suitable for microcaps or historical OHLCV data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:31:49.510Z","isFirstParty":false}