Aller au contenu
GET /v1/market

A single market with all outcomes and odds

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/futuur-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/futuur-api/v1/market" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/futuur-api/v1/market", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/futuur-api/v1/market");
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/futuur-api/v1/market",
    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": {
        "id": 231754,
        "note": "Prices are 0-1 implied probabilities. real_money_price is the USDC market, play_money_price the OOM market.",
        "title": "Which price will Bitcoin hit in 2026?",
        "source": "Futuur",
        "status": "open",
        "category": "Bitcoin",
        "outcomes": [
            {
                "id": 570578,
                "title": "55,000",
                "play_money_price": 0.34,
                "real_money_price": 0.46,
                "implied_probability_pct": 46
            },
            {
                "id": 570575,
                "title": "120,000",
                "play_money_price": 0.3,
                "real_money_price": 0.1,
                "implied_probability_pct": 10
            },
            {
                "id": 570574,
                "title": "140,000",
                "play_money_price": 0.16,
                "real_money_price": 0.02,
                "implied_probability_pct": 2
            },
            {
                "id": 570576,
                "title": "75,000",
                "play_money_price": 0.98,
                "real_money_price": 0.99,
                "implied_probability_pct": 99
            },
            {
                "id": 570577,
                "title": "65,000",
                "play_money_price": 0.98,
                "real_money_price": 0.99,
                "implied_probability_pct": 99
            }
        ],
        "close_date": "2026-12-31T00:00:00Z",
        "outcome_count": 5,
        "resolved_outcome": null
    },
    "meta": {
        "timestamp": "2026-06-11T16:46:37.562Z",
        "request_id": "5454a68b-dfe9-41b8-9baa-ce46234068ef"
    },
    "status": "ok",
    "message": "Market retrieved successfully",
    "success": true
}