---
title: "Search vehicle mileages (use /api/mileages/v2 instead)"
method: GET
path: "/api/mileages"
tags: ["Mileages"]
deprecated: true
---

# Search vehicle mileages (use /api/mileages/v2 instead)

`GET /api/mileages`

> **Deprecated.**

**We encourage users to begin migrating to /api/mileages/v2**

To include additional information about the returned body (such as year, make, model and trim) request with the
query parameter as `verbose=yes`.

For complex queries you may use the json field to send an array of URL encoded JSON conditions, example:

`[{"field": "combined_mpg", "op": ">=", "val": 20}, {"field": "combined_mpg", "op": "<=", "val": 30}]`

JSON operators: `=`, `!=`, `>`, `<`, `>=`, `<=`, `in`, `not in`, `like`, `not like`, `not null`, and `is null`.

JSON search fields:
 `year`, `make`, `model`, `trim`, `is_active`, `fuel_tank_capacity`, `combined_mpg`, `epa_city_mpg`, `epa_highway_mpg`, `range_city`, `range_highway`, `epa_combined_mpg_electric`, `epa_city_mpg_electric`, `epa_highway_mpg_electric`, `range_electric`, `epa_kwh_100_mi_electric`, `epa_time_to_charge_hr_240v_electric`, `battery_capacity_electric`, `created`, `modified`, `make_id`, `make_model_id`, and `make_model_trim_id`.

## Query parameters

- `sort` 'id' | 'make_model_trim_id' | 'fuel_tank_capacity' | 'combined_mpg' | 'epa_city_mpg' | 'epa_highway_mpg' | 'range_city' | 'range_highway' | 'battery_capacity_electric' | 'epa_time_to_charge_hr_240v_electric' | 'epa_kwh_100_mi_electric' | 'range_electric' | 'epa_highway_mpg_electric' | 'epa_city_mpg_electric' | 'epa_combined_mpg_electric'
- `verbose` 'yes' | 'no'
- `year` string — Value
- `make` string — Like
- `model` string — Like
- `trim` string — Like
- `make_model_id` string — Value
- `make_id` string — Value
- `make_model_trim_id` string — Value
- `combined_mpg` string — Value
- `epa_city_mpg` string — Value
- `epa_highway_mpg` string — Value
- `range_city` string — Value
- `range_highway` string — Value
- `json` string — JsonSearchFilter

## Parameters

- `#/x-swagger-bake/components/parameters/paginatorPage` — unresolved $ref
- `#/x-swagger-bake/components/parameters/paginatorLimit` — unresolved $ref
- `#/x-swagger-bake/components/parameters/paginatorDirection` — unresolved $ref

## Response `200`

- GenericCollection — unresolved $ref

## Other responses

- `400` — BadRequestException
- `405` — MethodNotAllowedException
- `429` — TooManyRequestsException - Max Per Minute: 600
- `503` — ServiceUnavailableException

---

[API](https://skmtc.net/carapi/apis/car-api-documentation.md) · [All operations](https://skmtc.net/carapi/apis/car-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/carapi/car-api-documentation/revisions/5331e15a22af/schema)
