/v1/meta
Service metadata
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/p2b-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/p2b-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/p2b-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/p2b-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"note": "Pass markets as BTC_USDT (base and quote separated by '_'). 24h change is derived from the day's open price. quote_volume_24h is in the quote currency.",
"source": "P2B public API (api.p2pb2b.com/api/v2/public, live)",
"service": "p2b-api",
"endpoints": {
"GET /v1/book": "Live order-book depth — best bid/ask and spread (market=BTC_USDT, limit=20).",
"GET /v1/meta": "This document.",
"GET /v1/ticker": "Ticker for one market (market=BTC_USDT or symbol=BTC"e=USDT).",
"GET /v1/markets": "Tradable pairs with base/quote and precision (quote=USDT optional).",
"GET /v1/tickers": "All spot markets for a quote ranked by 24h quote volume (quote=USDT, limit=50)."
},
"description": "Live spot market data from P2B (p2pb2b.com), a global crypto exchange. The ticker endpoint returns a market's last price, best bid/ask, 24h high/low, 24h change and base/quote volume; the tickers endpoint ranks every spot market for a quote currency by 24h quote volume; the markets endpoint lists tradable pairs with base/quote and precision; the book endpoint returns live order-book depth. Live, no key, nothing stored. A distinct global venue, separate from other exchange feeds.",
"market_count": 181,
"upstream_status": "ok"
},
"meta": {
"timestamp": "2026-06-11T07:48:53.859Z",
"request_id": "04baccea-5163-44b3-9db1-f532df702654"
},
"status": "ok",
"message": "Meta",
"success": true
}