Usamos cookies para mejorar tu experiencia. Al continuar, aceptas nuestra Política de cookies.

plan.parts
Acerca de Bases de datos Tareas de datos Cómo funciona Precios Docs Blog Soporte Contactos
POST Beta 200 tokens

OEM Session: start by VIN

/v1/oem/sessions

Beta: the service is new, answers may still gain fields and the catalog may be briefly unavailable. Step 1. Start a catalog session for a VIN (body: {"vin": "..."}). Answers 202 with session_id; poll the session until state = mods_ready. The same VIN again while its session lives returns that session for free. Free test VIN: JTDKB20U883408205 (Toyota Prius) — 0 tokens on every step

Parámetros

Name Type Required Description Example
vin string JSON body requerido 17-character VIN. JTDKB20U883408205 is a free ready example (Toyota Prius) JTDKB20U883408205

Solicitud de ejemplo

POST https://cdn.plan.parts/api/v1/oem/sessions
Authorization: Bearer your_api_key
Content-Type: application/json

{
    "vin": "JTDKB20U883408205"
}

Respuesta de ejemplo

{
    "success": true,
    "data": {
        "session_id": "3f2a9c1e-5b7d-4e8a-9c0f-1a2b3c4d5e6f",
        "vin": "JTDKB20U883408205",
        "state": "fetching_mods",
        "reused": false,
        "lifetime": {
            "created_at": "2026-11-27T12:49:37+03:00",
            "expires_at": "2026-11-27T15:49:37+03:00",
            "expires_in": 10800,
            "max_expires_at": "2026-11-28T12:49:37+03:00",
            "age": 0,
            "extends_by": 10800,
            "max_age": 86400
        },
        "status_url": "/api/v1/oem/sessions/3f2a9c1e-5b7d-4e8a-9c0f-1a2b3c4d5e6f"
    }
}

Probar en el área de pruebas

Test this endpoint with real data in the Developer Portal sandbox.

Probar en el área de pruebas →

Sin tarjeta de crédito

Costo en tokens

Each successful call to this endpoint deducts 200 tokens from your balance. Tokens are only deducted on 2xx responses.