86trust / 100
Quotes Latest
by pro-api.coinmarketcap.com in Onchain & crypto
x402 APIPassing, checked 13 min ago
Get the latest market quotes for one or more cryptocurrencies.
GET https://pro-api.coinmarketcap.com/x402/v3/cryptocurrency/quotes/latest
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 138 ms typical, 138 ms slowest 5%
- Last check
- 13 min ago
- Next check
- in 16 min
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://pro-api.coinmarketcap.com/x402/v3/cryptocurrency/quotes/latest?convert=USD&id=1%2C1027"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fpro-api.coinmarketcap.com%2Fx402%2Fv3%2Fcryptocurrency%2Fquotes%2Flatest
const res = await pay("https://pro-api.coinmarketcap.com/x402/v3/cryptocurrency/quotes/latest?convert=USD&id=1%2C1027");
console.log(await res.json());Example input
{
"convert": "USD",
"id": "1,1027"
}Example output
{
"data": {
"1": {
"circulating_supply": 19830000,
"cmc_rank": 1,
"date_added": "2010-07-13T00:00:00.000Z",
"id": 1,
"is_active": 1,
"last_updated": "2026-02-26T10:20:00.000Z",
"max_supply": 21000000,
"name": "Bitcoin",
"quote": {
"USD": {
"fully_diluted_market_cap": "1437993600000",
"last_updated": "2026-02-26T10:20:00.000Z",
"market_cap": "1357800000000",
"market_cap_dominance": 61.5,
"percent_change_1h": 0.12,
"percent_change_24h": 2.45,
"percent_change_30d": 5.6,
"percent_change_7d": -1.8,
"price": 68475.88,
"volume_24h": "28500000000",
"volume_change_24h": -3.25
}
},
"slug": "bitcoin",
"symbol": "BTC",
"total_supply": 19830000
},
"1027": {
"circulating_supply": 120500000,
"cmc_rank": 2,
"date_added": "2015-08-07T00:00:00.000Z",
"id": 1027,
"is_active": 1,
"last_updated": "2026-02-26T10:20:00.000Z",
"name": "Ethereum",
"quote": {
"USD": {
"fully_diluted_market_cap": "249709000000",
"last_updated": "2026-02-26T10:20:00.000Z",
"market_cap": "249709000000",
"market_cap_dominance": 11.3,
"percent_change_1h": 0.08,
"percent_change_24h": 1.9,
"percent_change_30d": -8.5,
"percent_change_7d": -3.2,
"price": 2072.28,
"volume_24h": "12000000000",
"volume_change_24h": -1.15
}
},
"slug": "ethereum",
"symbol": "ETH",
"total_supply": 120500000
}
},
"status": {
"credit_count": 1,
"elapsed": 12,
"error_code": 0,
"error_message": "",
"timestamp": "2026-02-26T10:20:05.000Z"
}
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 13 min ago | Passed | 402 | 138 ms | $0.01 |
| 3 h ago | Passed | 402 | 133 ms | $0.01 |
| 9 h ago | Passed | 402 | 146 ms | $0.01 |