Zum Inhalt springen
GET /v1/list

List all container codes

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

Beispiel-Response

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

{
    "data": {
        "count": 50,
        "total": 715,
        "containers": [
            {
                "code": "1000",
                "group": "22GP",
                "height_ft": 8,
                "length_ft": 10,
                "description": "Standard Dry"
            },
            {
                "code": "10G0",
                "group": "22GP",
                "height_ft": 8,
                "length_ft": 10,
                "description": "DRY CARGO/GENERAL PURPOSE"
            },
            {
                "code": "1200",
                "group": "22GP",
                "height_ft": 8.5,
                "length_ft": 10,
                "description": "Standard Dry"
            },
            {
                "code": "12G0",
                "group": "22GP",
                "height_ft": 8.5,
                "length_ft": 10,
                "description": "DRY CARGO/GENERAL PURPOSE"
            },
            {
                "code": "12TR",
                "group": "12TR",
                "height_ft": 8,
                "length_ft": 42,
                "description": "Flatbed"
            },
            {
                "code": "2000",
                "group": "22GP",
                "height_ft": 8,
                "length_ft": 20,
                "description": "Standard Dry"
            },
            {
                "code": "2001",
                "group": "22GP",
                "height_ft": 8,
                "length_ft": 20,
                "description": "Standard Dry"
            },
            {
                "code": "2002",
                "group": "22GP",
                "height_ft": 8,
                "length_ft": 20,
                "description": "Standard Dry"
            },
            {
                "code": "2003",
                "group": "22GP",
                "height_ft": 8,
                "length_ft": 20,
                "description": "Standard Dry"
            },
            {
                "code": "2004",
                "group": "22GP",
                "height_ft": 8,
                "length_ft": 20,
                "description": "Standard Dry"
            },
            {
                "code": "2010",
                "group": "22VH",
                "height_ft": 8,
                "length_ft": 20,
                "description": "Closed Vented"
            },
            {
                "code": "2011",
                "group": "22VH",
                "height_ft": 8,
                "length_ft": 20,
                "description": "Closed Vented"
            },
            {
                "code": "2013",
                "group": "22VH",
                "height_ft": 8,
                "length_ft": 20,
                "description": "Closed Ventilated"
            },
            {
                "code": "2015",
                "group": "22VH",
                "height_ft": 8,
                "length_ft": 20,
                "description": "Closed Ventilated"
            },
          
…