/v1/search
Search container codes
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
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_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten 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
}