Aller au contenu
GET /v1/meta

API metadata

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/singapore-stats-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/singapore-stats-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/singapore-stats-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/singapore-stats-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/singapore-stats-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": {
        "api": "Statistics Singapore (SingStat) API",
        "notes": "Live data from SingStat TableBuilder; year-on-year and month-on-month changes computed from the index series. The table endpoint fetches any SingStat resource id.",
        "source": "Statistics Singapore — SingStat TableBuilder API (tablebuilder.singstat.gov.sg)",
        "country": "Singapore",
        "endpoints": [
            "/v1/cpi",
            "/v1/cpi/series",
            "/v1/cpi/groups",
            "/v1/table",
            "/v1/meta"
        ],
        "documentation": "https://api.oanor.com/singapore-stats-api",
        "primary_table": "M213751 — Consumer Price Index, 2024 base year, monthly"
    },
    "meta": {
        "timestamp": "2026-06-15T20:40:46.164Z",
        "request_id": "54d3749d-a9a5-4ea2-a70b-25ba9bc2e115"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}