/v1/list
List all container codes
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
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_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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"
},
…