Coin
by Crypto Market Data in Onchain & crypto
Everything for one coin in one call: price, funding and open interest, order book, liquidations, whale orders and news.
https://crypto-market-data.zafermemon87.workers.dev/v1/coin- Price
- $0.005
- per call in USDC
- Uptime
- 94.6%
- last 30 days
- Response time
- 542 ms
- 957 ms slowest 5%
- Last check
- Failed
- 15 h ago, next in 8 h
Reliability
Latest check failed 15 h ago: Expected HTTP 402, got 503
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://crypto-market-data.zafermemon87.workers.dev/v1/coin
Each call costs $0.005 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
GET https://crypto-market-data.zafermemon87.workers.dev/v1/coin?token=BTCParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
token | string | Yes | One ticker, e.g. BTC |
Example response
The provider's example. We can't check it without paying.
Example response, 123 lines
{
"as_of": "2026-10-23T20:03:00+05:30",
"charged": true,
"data_age_s": 60,
"derivatives": {
"funding_8h_pct": 0.0093,
"futures_premium_pct": -0.0377,
"long_short_account_ratio": 2.132,
"open_interest_change_1h_pct": -1.12,
"open_interest_change_24h_pct": -2.76,
"open_interest_usd": 7557774664,
"token": "BTC"
},
"engine": "data-1.0",
"liquidations": {
"biggest_anywhere": [
{
"position": "LONG",
"price": 81217,
"time": "2026-10-23T14:16:34Z",
"token": "BTCUSD_PERP",
"usd": 8609002
},
{
"position": "SHORT",
"price": 81893.1,
"time": "2026-10-23T13:42:32Z",
"token": "BTCUSD_PERP",
"usd": 5896303
}
],
"coins": [
{
"count": 83,
"longs_liquidated_usd": 4558843,
"shorts_liquidated_usd": 326590,
"token": "BTC"
}
],
"market": {
"coins": 452,
"count": 3153,
"longs_liquidated_usd": 37271220,
"shorts_liquidated_usd": 9383565
},
"window_min": 60
},
"news": [
{
"age_min": 100,
"category": "Regulation / legal",
"impact": 67,
"outlets": 3,
"price_already_moved_before": false,
"price_reaction_15m_vs_normal": -0.65,
"price_reaction_60m_vs_normal": 0.8,
"title": "Franklin Templeton Wins Nasdaq Approval to List Two Bitcoin DRIP ETFs",
"tokens": [
"BTC"
],
"tone": 2
},
{
"age_min": 32,
"category": "Regulation / legal",
"impact": 60,
"outlets": 1,
"price_already_moved_before": false,
"price_reaction_15m_vs_normal": -2.8,
"price_reaction_60m_vs_normal": null,
"title": "Bank of Korea Wants Stablecoins Written Into Forex Law as Crypto Bill and Tax Fight Come to a Head",
"tokens": [
"BTC"
],
"tone": -1
}
],
"note": "Public market data, refreshed every minute. Not financial advice.",
"orderbook": {
"buyer_share_15m": 0.615,
"orderbook_imbalance": -0.033,
"spread_bps": 0.0012,
"token": "BTC",
"volume_15m_vs_normal": 1.58
},
"plain": "BTC 81538.0 (-0.3% 1h, -0.3% 24h); 10 whale orders and 83 liquidations in the last hour; 3 recent stories.",
"price": {
"change_1h_pct": -0.32,
"change_24h_pct": -0.35,
"change_4h_pct": -0.24,
"change_5m_pct": 0.2,
"price": 81538,
"rank": 1,
"token": "BTC",
"volume_24h_usd": 1073687475
},
"price_usd": null,
"snapshot_seal": "eb08dce6d854951431a0fb2732282227e1d954ec072422c9bfc5bee2f3ed695f",
"token": "BTC",
"tool": "coin_snapshot",
"whale_orders": [
{
"hyperliquid_action": "added to SHORT",
"price": 82000,
"side": "SELL",
"time": "2026-10-23T13:42:41Z",
"token": "BTC",
"usd": 8229469,
"venue": "hyperliquid",
"x_normal_minute": 4.83
},
{
"hyperliquid_action": "closed SHORT",
"price": 81995,
"side": "BUY",
"time": "2026-10-23T13:41:53Z",
"token": "BTC",
"usd": 8198112,
"venue": "hyperliquid",
"x_normal_minute": 4.81
}
]
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.005.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://crypto-market-data.zafermemon87.workers.dev/v1/coin?token=BTC'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://crypto-market-data.zafermemon87.workers.dev/v1/coin?token=BTC' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.005 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.005" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.005 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fcrypto-market-data.zafermemon87.workers.dev%2Fv1%2Fcoin
const res = await pay("https://crypto-market-data.zafermemon87.workers.dev/v1/coin?token=BTC");
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.005 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.005"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://crypto-market-data.zafermemon87.workers.dev/v1/coin?token=BTC")
print(res.status_code, res.text)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 |
|---|---|---|---|---|
| 15 h ago | Expected HTTP 402, got 503 | 503 | 412 ms | - |
| 46 h ago | Expected HTTP 402, got 503 | 503 | 214 ms | - |
| 5 days ago | Expected HTTP 402, got 503 | 503 | 154 ms | - |
| 6 days ago | Expected HTTP 402, got 503 | 503 | 414 ms | - |
| 6 days ago | Expected HTTP 402, got 503 | 503 | 271 ms | - |
Show 10 older checks
| 7 days ago | Passed | 402 | 790 ms | $0.005 |
| 8 days ago | Passed | 402 | 483 ms | $0.005 |
| 8 days ago | Passed | 402 | 760 ms | $0.005 |
| 9 days ago | Passed | 402 | 767 ms | $0.005 |
| 9 days ago | Passed | 402 | 592 ms | $0.005 |
| 9 days ago | Passed | 402 | 565 ms | $0.005 |
| 10 days ago | Passed | 402 | 600 ms | $0.005 |
| 10 days ago | Passed | 402 | 893 ms | $0.005 |
| 10 days ago | Passed | 402 | 496 ms | $0.005 |
| 10 days ago | Passed | 402 | 673 ms | $0.005 |