← Marketplace
Robinhood Chain
Crypto Prices
Token prices across every major chain from the DefiLlama coins index: spot, historical, and chart series by contract address or CoinGecko id. Machine-payable per request.
Offers
| Offer | Endpoint | Price |
|---|---|---|
Price chart Time-series price points for charting. Append coins to the path, e.g. chart/coingecko:ethereum?period=1d&span=30. | /m/crypto-prices/chart | 0.01 USDG |
Current prices Spot prices for one or more tokens. Append coins to the path as comma-separated {chain}:{address} or coingecko:{id}, e.g. current/coingecko:ethereum,base:0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913. | /m/crypto-prices/current | 0.01 USDG |
Historical price Price at a unix timestamp. Append {timestamp}/{coins} to the path, e.g. historical/1700000000/coingecko:ethereum. | /m/crypto-prices/historical | 0.01 USDG |
Machine-readable: openapi.json with x-payment-info offers.
Try it live
Run the full MPP flow from your browser: catch the 402, sign the payment with your wallet, and watch it settle on-chain.
Sign in with your wallet to try an endpoint straight from the browser.
Pay with an agent
Any MPP or x402-compatible client works. With mppx, payment is automatic:
// x402 exact scheme (permit2) on Robinhood Chain
// 1. GET the endpoint, read the payment-required header (base64 JSON)
// 2. Sign PermitWitnessTransferFrom against Permit2 for the advertised offer
// (spender = x402ExactPermit2Proxy, witness.to = merchant wallet)
// 3. Retry with the payment-signature header; settlement tx arrives
// in the payment-response header
const res = await fetch('https://api.meshgateway.co/m/crypto-prices/chart', {
headers: { 'payment-signature': signedPaymentPayload },
})Or inspect the challenge yourself:
curl -i https://api.meshgateway.co/m/crypto-prices/chart # HTTP/1.1 402 Payment Required # WWW-Authenticate: Payment id="…", method="evm", intent="charge", …