81trust / 100
Crypto Market
by api.x-402.online in Markets & finance
x402 APIPassing, checked 2 h ago
Global crypto market snapshot: total market cap and 24h change, 24h volume, bitcoin dominance, USD stablecoin supply and share, assets tracked, distance from all-time high Global crypto market snapshot in one call: total market cap and its 24h change, 24h volume, bitcoin dominance, total USD stablecoin supply and its share of…
GET https://api.x-402.online/v1/crypto/market
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 146 ms typical, 146 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.x-402.online/v1/crypto/market"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%2Fapi.x-402.online%2Fv1%2Fcrypto%2Fmarket
const res = await pay("https://api.x-402.online/v1/crypto/market");
console.log(await res.json());Example input
{}Example output
{
"bitcoin_dominance_pct": 55.99,
"market_cap_change_24h_pct": 0.79,
"pct_from_ath": -36.88,
"stablecoin_supply_usd": 290000000000,
"total_market_cap_usd": 3044695120081,
"volume_24h_usd": 103357399527
}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 |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 146 ms | $0.005 |
| 5 h ago | Passed | 402 | 143 ms | $0.005 |
| 10 h ago | Passed | 402 | 153 ms | $0.005 |