/v1/meta
Service metadata
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/packagecodes-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/packagecodes-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/packagecodes-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/packagecodes-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": {
"service": "packagecodes-api",
"endpoints": {
"GET /v1/code": "Package type by UN/ECE code (code=, e.g. 1A).",
"GET /v1/list": "List package codes (status=active|deprecated, limit, offset).",
"GET /v1/meta": "This document.",
"GET /v1/search": "Search by code, name or description (q=, e.g. drum).",
"GET /v1/numeric": "Codes for a numeric code (numeric=, e.g. 34)."
},
"description": "UN/ECE Recommendation 21 package-type codes for trade, transport and customs: alphanumeric code, name, description and numeric code. Look up a code, reverse-look-up by numeric code, search, or list. Distinct from containercodes-api (ISO 6346 containers) and unitcodes-api (units of measure). No key.",
"total_codes": 406,
"active_codes": 404
},
"meta": {
"timestamp": "2026-06-08T18:25:01.666Z",
"request_id": "b60a5214-bd97-4b59-8eb0-52e0edf4af07"
},
"status": "ok",
"message": "Meta",
"success": true
}