Skip to main content
GET
List Market Segments
← Vehicles API List the values accepted for a vehicle’s market segment. The segment is what distinguishes a supermini from an executive car when the emission factor depends on vehicle class, so sending a value that is not in this list is rejected at write time.
The path uses an underscore: market_segments. Most routes in the Vehicles API separate words with hyphens (bulk-delete-by-filters), but this one does not.The hyphenated spelling does not 404 — it is captured by GET /v1/vehicles/{vehicle_id} and returns 422 complaining that market-segments is not a valid UUID. An error about a vehicle id is the signal that you spelled this path with a hyphen.
A fixed list, not your data. The response is the enumeration itself — it does not depend on your organization, never paginates, and does not change unless the platform adds a segment. Fetch it once and cache it, or hardcode it from this page and use the endpoint as the check that your copy is still current.

Request

Headers

string
required
Your API key.
string
required
UUID of your organization.Format: UUID
The organization header is required even though the list is global. The endpoint takes no query parameters and the response is identical for every organization, but the router’s authentication dependency resolves an organization from this header before the handler runs. Omitting it returns 422, not 401.

Response

Returns a flat array of strings, not an object wrapping one.
array[string]
The nine accepted market segments:mini · supermini · lower_medium · upper_medium · executive · luxury · sports · dual_purpose_4x4 · mpv

Example

Successful Response

Returns 200 OK.

Common Errors

422 Unprocessable Entity

Cause: x-organization-id is missing. This fires before any credential check, so it is what you get from a request with no headers at all.

401 Unauthorized

Cause: The organization header is present but the credentials are not.

Vehicle Sizes

The Vehicles API exposes a second enumeration of the same shape at GET /v1/vehicles/sizes, with the same headers — x-organization-id included — and the same flat-array response. Its four values are:
Size and market segment are separate fields and separate lists — a vehicle can carry both, and neither constrains the other.

Use Cases

Validate before you write

When your integration lets a user pick a segment, populate the choice from this endpoint rather than from a hardcoded list that can drift. A value that is not in the list is rejected when you create or update the vehicle, so catching it at selection time turns a write failure into a closed dropdown.

Check a hardcoded copy is still current

If you prefer to ship the nine values in your own code, call this endpoint in a test and assert the two lists match. That way a segment added on the platform surfaces as a failing test instead of as user input your form silently refuses.

Create Vehicle

Where the market segment is sent

Update Vehicle

Change the segment on an existing vehicle

List Vehicle Fuels

The other catalogue you need before creating a vehicle

Vehicles API

Everything the Vehicles API covers