Aller au contenu
GET /v1/markets

Tradable pairs with base/quote and status

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/coinsph-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/coinsph-api/v1/markets" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/coinsph-api/v1/markets", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/coinsph-api/v1/markets");
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/coinsph-api/v1/markets",
    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": {
        "count": 139,
        "quote": "PHP",
        "source": "Coins.ph",
        "markets": [
            {
                "base": "1000SATS",
                "quote": "PHP",
                "market": "1000SATSPHP",
                "status": "break",
                "base_precision": 0,
                "quote_precision": 6
            },
            {
                "base": "AAVE",
                "quote": "PHP",
                "market": "AAVEPHP",
                "status": "trading",
                "base_precision": 4,
                "quote_precision": 5
            },
            {
                "base": "ADA",
                "quote": "PHP",
                "market": "ADAPHP",
                "status": "trading",
                "base_precision": 1,
                "quote_precision": 3
            },
            {
                "base": "AEVO",
                "quote": "PHP",
                "market": "AEVOPHP",
                "status": "break",
                "base_precision": 2,
                "quote_precision": 5
            },
            {
                "base": "AIR",
                "quote": "PHP",
                "market": "AIRPHP",
                "status": "break",
                "base_precision": 0,
                "quote_precision": 3
            },
            {
                "base": "ALICE",
                "quote": "PHP",
                "market": "ALICEPHP",
                "status": "break",
                "base_precision": 1,
                "quote_precision": 3
            },
            {
                "base": "AL",
                "quote": "PHP",
                "market": "ALPHP",
                "status": "trading",
                "base_precision": 1,
                "quote_precision": 5
            },
            {
                "base": "ALT",
                "quote": "PHP",
                "market": "ALTPHP",
                "status": "break",
                "base_precision": 1,
                "quote_precision": 3
            },
            {
                "base": "APE",
                "quote": "PHP",
                "market": "APEPHP",
                "status": "break",
                "base_precision": 3,
                "quote_precision": 5
            },
            {
                "base": "ARB",
                "quote": "PHP",
                "market": "ARBPHP",
                "status": "break",
                "base_precision": 1,
                "quote_precision": 3
            },
            {
                "base": "ARKM",
                "quote": "PHP",
                "market": "ARKMPHP",
                "status": "break",
                "base_precision": 2,
                "quote_precision": 4
            },
            {
                "base": "ASTER",
                "quote": "PHP",
                "market": "ASTERPHP",
                "status": "trading",
                "base_precision": 2,
                "quote_precision": 4
            },
            {
…