Aller au contenu
GET /v1/meta

Spec

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/vatid-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/vatid-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/vatid-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/vatid-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/vatid-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": {
        "notes": "Spaces, dots and hyphens are ignored. Greece uses the EL prefix and Northern Ireland XI. This is format validation, not a live VIES registration check.",
        "service": "vatid-api",
        "countries": [
            "AT",
            "BE",
            "BG",
            "CY",
            "CZ",
            "DE",
            "DK",
            "EE",
            "EL",
            "ES",
            "FI",
            "FR",
            "HR",
            "HU",
            "IE",
            "IT",
            "LT",
            "LU",
            "LV",
            "MT",
            "NL",
            "PL",
            "PT",
            "RO",
            "SE",
            "SI",
            "SK",
            "XI"
        ],
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/format": "Look up a country's VAT number format (or list all).",
            "GET /v1/validate": "Validate a VAT number's country prefix and format."
        },
        "description": "EU VAT identification number format/structure validation (offline) for all member states."
    },
    "meta": {
        "timestamp": "2026-06-05T19:50:13.118Z",
        "request_id": "5443201d-eb26-4025-95ab-fc606ab29a3d"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}