Ir al contenido
GET /v1/meta

Spec

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/gst-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/gst-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/gst-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/gst-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/gst-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "name": "GST API",
        "note": "Structural validation only — this does not query the GSTN registry, so it cannot confirm a GSTIN is actively registered to a business.",
        "standard": "Indian GSTIN (15-char Goods & Services Tax Identification Number)",
        "endpoints": {
            "/v1/decode": "Decompose a GSTIN into state, PAN, holder type, entity number and check digit.",
            "/v1/states": "List all GST state/UT codes.",
            "/v1/validate": "Validate a GSTIN (format + official check digit + known state)."
        },
        "structure": "2-digit state code + 10-char PAN + 1-char entity number + 'Z' + 1-char checksum",
        "pan_holder_types": {
            "A": "Association of Persons (AOP)",
            "B": "Body of Individuals (BOI)",
            "C": "Company",
            "F": "Firm / LLP",
            "G": "Government",
            "H": "Hindu Undivided Family (HUF)",
            "J": "Artificial Juridical Person",
            "L": "Local Authority",
            "P": "Individual / Proprietor",
            "T": "Trust"
        }
    },
    "meta": {
        "timestamp": "2026-06-01T23:40:38.052Z",
        "request_id": "bfe3cc5a-d153-4979-b34e-d221f4baae8f"
    },
    "status": "ok",
    "message": "Meta retrieved",
    "success": true
}