Vai al contenuto
GET /v1/meta

Spec

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/vatid-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "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
}