/v1/list
List all container codes
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
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_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste 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"
},
…