Naar de inhoud
GET /v1/search

Search container codes

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/containercodes-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "count": 5,
        "query": "reefer",
        "total": 5,
        "containers": [
            {
                "code": "22R1",
                "group": "22RT",
                "height_ft": 8.5,
                "length_ft": 20,
                "description": "Reefer"
            },
            {
                "code": "42R1",
                "group": "42RT",
                "height_ft": 8.5,
                "length_ft": 40,
                "description": "Reefer"
            },
            {
                "code": "4534",
                "group": "45RT",
                "height_ft": 9.5,
                "length_ft": 40,
                "description": "HIGHCUBE INTEGRATED REEFER"
            },
            {
                "code": "45R1",
                "group": "45RT",
                "height_ft": 9.5,
                "length_ft": 40,
                "description": "Reefer High Cube"
            },
            {
                "code": "L5R1",
                "group": "L5RT",
                "height_ft": 9.5,
                "length_ft": 45,
                "description": "45 Reefer High Cube"
            }
        ]
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:08.011Z",
        "request_id": "ef756a2e-c1b8-4c91-890d-f35cd94a6538"
    },
    "status": "ok",
    "message": "Search results retrieved successfully",
    "success": true
}