Zum Inhalt springen
GET /v1/meta

Service metadata

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/containercodes-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "service": "containercodes-api",
        "endpoints": {
            "GET /v1/code": "Container detail by ISO 6346 size-type code (code=, e.g. 22G1).",
            "GET /v1/list": "List all container codes (limit, offset).",
            "GET /v1/meta": "This document.",
            "GET /v1/group": "All codes in an ISO group (group=, e.g. 22GP).",
            "GET /v1/search": "Search codes by description, code or group (q=, e.g. reefer)."
        },
        "description": "ISO 6346 shipping-container size-and-type codes: 4-character code, description, length (feet), height (feet) and ISO group. Look up a code, list a group, search by description, or list them all. The reference a container booking, EDI or terminal system needs. No key.",
        "total_codes": 715,
        "total_groups": 28
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:08.274Z",
        "request_id": "b729b9de-d9df-4237-8835-4cd6cb52826d"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}