Crypto trading context in one call: SOL and BTC prices, perp funding rates, Fear & Gree…
Crypto trading context in one call: SOL and BTC prices, perp funding rates, Fear & Greed, long/short positioning, open interest and 1h/24h liquidation stats. Use when you need to answer: What do I need to know before placing a trade? The whole pre-trade pictu…
by x402.ochinimus.app · discovered, not yet claimed by its owner · updated 2026-10-08
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Crypto trading context in one call: SOL and BTC prices, perp funding rates, Fear & Greed, long/short positioning, open interest and 1h/24h liquidation stats. Use when you need to answer: What do I need to know before placing a trade? The whole pre-trade picture, one payment.
Tags: market-data · trading · liquidations · positioning · crypto · bazaar
Call contract
- Method
- GET
- Input
- query parameters
- Output
- json
- Last paid call
- 2026-10-08
{}{
"data": {
"fear_greed": {
"classification": "Greed",
"source": "alternative.me",
"timestamp": 1790294400,
"value": 71
},
"funding": {
"btc": {
"funding_rate_8h_equiv": 0.0001,
"funding_rate_hourly": 0.0000125,
"funding_rate_pct_hourly": 0.00125,
"mark_price": 83875,
"open_interest": 39511.1646,
"source": "hyperliquid",
"symbol": "BTC"
},
"sol": {
"funding_rate_8h_equiv": 0.0001,
"funding_rate_hourly": 0.0000125,
"funding_rate_pct_hourly": 0.00125,
"mark_price": 121.42,
"open_interest": 6103405.560000007,
"source": "hyperliquid",
"symbol": "SOL"
}
},
"liquidations": {
"collecting_since": 1783528952067,
"exchanges": [
"bybit"
],
"sol": {
"1h": {
"biggest_print_usd": 100573.77,
"by_exchange": {
"binance": {
"biggest_print_usd": 87563.06,
"events": 46,
"longs_liquidated_usd": 5269.3,
"shorts_liquidated_usd": 180598.45,
"total_usd": 185867.75
},
"bybit": {
"biggest_print_usd": 100573.77,
"events": 32,
"longs_liquidated_usd": 445.55,
"shorts_liquidated_usd": 244472.23,
"total_usd": 244917.79
},
"okx": {
"biggest_print_usd": 53474.45,
"events": 33,
"longs_liquidated_usd": 14247.32,
"shorts_liquidated_usd": 106785.21,
"total_usd": 121032.53
}
},
"events": 111,
"longs_liquidated_usd": 19962.17,
"shorts_liquidated_usd": 531855.9,
"total_usd": 551818.07
},
"24h": {
"biggest_print_usd": 915882,
"by_exchange": {
"binance": {
"biggest_print_usd": 915882,
"events": 705,
"longs_liquidated_usd": 2343782.62,
"shorts_liquidated_usd": 7101329,
"total_usd": 9445111.62
},
"bybit": {
"biggest_print_usd": 100573.77,
"events": 637,
"longs_liquidated_usd": 635875.59,
"shorts_liquidated_usd": 2317408.68,
"total_usd": 2953284.27
},
"okx": {
"biggest_print_usd": 585023.37,
"events": 466,
"longs_liquidated_usd": 940987.1,
"shorts_liquidated_usd": 2790313.92,
"total_usd": 3731301.02
}
},
"events": 1808,
"longs_liquidated_usd": 3920645.3,
"shorts_liquidated_usd": 12209051.6,
"total_usd": 16129696.9
}
},
"source": "multi_exchange_colle…"
},
"positioning": {
"btc": {
"long_short_ratio": {
"long_pct": 57.02,
"long_pct_prev_hour": 57,
"short_pct": 42.98,
"ts": 1790352000000
},
"open_interest": {
"base": 58663.035,
"change_1h_pct": 0.19,
"change_24h_pct": -1.31,
"usd": 4907625052
}
},
"period": "1h",
"sol": {
"long_short_ratio": {
"long_pct": 68.86,
"long_pct_prev_hour": 68.74,
"short_pct": 31.14,
"ts": 1790352000000
},
"open_interest": {
"base": 6478924.1,
"change_1h_pct": -1.3,
"change_24h_pct": 9.93,
"usd": 809589831
}
},
"source": "bybit_v5_public"
},
"prices": {
"btc": {
"confidence": null,
"price": 83868.13,
"publish_time": null,
"source": "coinbase",
"symbol": "BTC"
},
"sol": {
"confidence": null,
"price": 121.35,
"publish_time": null,
"source": "coinbase",
"symbol": "SOL"
}
},
"ts": 1790355177366
},
"paid": true,
"tool": "get_trade_context"
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/29676.jsonfor the price and payment options. - Pay. Call
GET https://x402.ochinimus.app/api/trade-context. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Solana, Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.01 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Solana, Base
- Demand
- 4 calls · 3 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | USDC | $0.01 | 4a8o45skRPcyjAdyR8yES215Swvh8uTpZD6KLarhxCJ7 | 300s |
| exact | Base eip155:8453 | USDC | $0.01 | 0x22DB3A9686EE5261e7Bf3ed4f91277232E8076e6 | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "4a8o45skRPcyjAdyR8yES215Swvh8uTpZD6KLarhxCJ7",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "10000",
"amountUsd": 0.01,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x22DB3A9686EE5261e7Bf3ed4f91277232E8076e6",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"amountUsd": 0.01,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"data": {
"properties": {
"fear_greed": {
"type": "object"
},
"funding": {
"type": "object"
},
"liquidations": {
"type": "object"
},
"positioning": {
"type": "object"
},
"prices": {
"type": "object"
},
"ts": {
"type": "number"
}
},
"type": "object"
},
"paid": {
"type": "boolean"
},
"tool": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"data": {
"fear_greed": {},
"funding": {},
"liquidations": {},
"positioning": {},
"prices": {},
"ts": 0
},
"paid": true,
"tool": "string"
},
"type": "string"
}Examples
curl -X GET 'https://x402.ochinimus.app/api/trade-context'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATUREconst res = await fetch("https://x402.ochinimus.app/api/trade-context", {
"method": "GET"
});
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.request("GET", "https://x402.ochinimus.app/api/trade-context")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- x402.ochinimus.app
- Endpoint
- https://x402.ochinimus.app/api/trade-context
- Machine-readable
/resources/29676.json