Aller au contenu
GET /v1/catalog

Search the PxStat matrix catalogue

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/ireland-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/ireland-stats-api/v1/catalog" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ireland-stats-api/v1/catalog", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ireland-stats-api/v1/catalog");
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/ireland-stats-api/v1/catalog",
    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": 25,
        "query": "price",
        "total": 12694,
        "tables": [
            {
                "label": "Sheep Price (including VAT)",
                "matrix": "AJA02",
                "updated": "2020-05-15T11:00:00Z",
                "dimensions": [
                    "STATISTIC",
                    "TLIST(A1)",
                    "C01782V02140"
                ]
            },
            {
                "label": "Pig Price (including VAT)",
                "matrix": "AJA03",
                "updated": "2020-05-15T11:00:00Z",
                "dimensions": [
                    "STATISTIC",
                    "TLIST(A1)",
                    "C01782V02140"
                ]
            },
            {
                "label": "Feed Stuff Price",
                "matrix": "AJA04",
                "updated": "2020-05-15T11:00:00Z",
                "dimensions": [
                    "STATISTIC",
                    "TLIST(A1)",
                    "C02068V02499"
                ]
            },
            {
                "label": "Manufacturing Milk and Hen Egg Prices (including VAT)",
                "matrix": "AJA06",
                "updated": "2020-05-15T11:00:00Z",
                "dimensions": [
                    "STATISTIC",
                    "TLIST(A1)",
                    "C02136V02577"
                ]
            },
            {
                "label": "Sheep Price (including VAT)",
                "matrix": "AJM02",
                "updated": "2020-05-15T11:00:00Z",
                "dimensions": [
                    "STATISTIC",
                    "TLIST(M1)",
                    "C01782V02140"
                ]
            },
            {
                "label": "Pig Price (including VAT)",
                "matrix": "AJM03",
                "updated": "2020-05-15T11:00:00Z",
                "dimensions": [
                    "STATISTIC",
                    "TLIST(M1)",
                    "C01782V02140"
                ]
            },
            {
                "label": "Feed Stuff Price",
                "matrix": "AJM04",
                "updated": "2020-05-15T11:00:00Z",
                "dimensions": [
                    "STATISTIC",
                    "TLIST(M1)",
                    "C02068V02499"
                ]
            },
            {
                "label": "Manufacturing Milk and Hen Egg Prices (including VAT)",
                "matrix": "AJM06",
                "updated": "2020-05-15T11:00:00Z",
                "dimensions": [
                    "STATISTIC",
                    "TLIST(M1)",
                    "C02136V02577"
                ]
            },
            {
                "label": "Agricultural Input and Output Price Indices",
                "matrix": "AHA01",
                "updated": "2020-05-15T11:00:00Z",
                "dimensions": [
                    "STATISTIC",
                    "TLIST(A1)",
                    "
…