We use cookies to improve your experience. By continuing, you agree to our Cookie Policy.

plan.parts
About Databases Data Tasks How it works Pricing Docs Blog Support Contacts
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

Parameters

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

Example Request

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

{
    "vin": "JTDKB20U883408205"
}

Example Response

{
    "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"
    }
}

Try in Sandbox

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

Try in Sandbox →

No credit card required

Token cost

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