Ir al contenido
GET /v1/group

All codes in an ISO group

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/containercodes-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "count": 69,
        "group": "22GP",
        "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": "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": "2025",
                "group": "22GP",
                "height_ft": 8,
                "length_ft": 20,
                "description": "Livestock Carrier"
            },
            {
                "code": "20G0",
                "group": "22GP",
                "height_ft": 8,
                "length_ft": 20,
                "description": "Standard Dry"
            },
            {
                "code": "20G1",
                "group": "22GP",
                "height_ft": 8,
                "length_ft": 20,
                "description": "Standard Dry"
            },
            {
                "code": "20G2",
                "group": "22GP",
                "height_ft": 8,
                "length_ft": 20,
                "description": "Standard Dry"
            },
            {
                "code": "20G3",
                "group": "22GP",
                "height_ft": 8,
                "length_ft": 20,
                "description": "Standard Dry"
            },
         
…