# PakWheels Used Cars API

> Used cars for sale on PakWheels, Pakistan's largest car marketplace, by brand, price and model year.

- Page: https://cleanedweb.com/catalog/pakwheels-used-cars-api/
- Contract (JSON): https://cleanedweb.com/catalog/pakwheels-used-cars-api/contract.json
- Source: pakwheels.com (https://www.pakwheels.com/)
- Category: Commerce
- Updated: 2026-11-30

A run reads until the source ends or your `max_items`, `timeout_seconds` or budget stops it.

## Key fields

| Field | Type | Sample value |
| --- | --- | --- |
| `title` | string | `Toyota Land Cruiser 1993 for sale in Karachi` |
| `price` | number | `4575000` |
| `currency` | string | `PKR` |
| `model` | array \| string | `Land Cruiser` |
| `url` | string | `https://www.pakwheels.com/used-cars/toyota-land-cruiser-1993-for-sale-in-karachi-12161939` |
| `availability` | string | `InStock` |
| `brand_name` | string | `Toyota` |
| `displacement` | string | `4200cc` |

Sample values come from one saved record, not a live run. Every field with its type, and the schemas, are in https://cleanedweb.com/catalog/pakwheels-used-cars-api/contract.json

## Inputs

- `search` (string): Optional. Text for the site's search box. Leave it out to read everything.
- `ctr` (string): Optional. Free text: any ctr the site serves, written with letters, digits, underscores and hyphens, up to 128 characters. A name the site does not serve is refused. Leave it out for the default listing. For example: japanese (japanese 14,176), german (german 1,078), chinese (chinese 833), korean (korean 158), american (american 88). Pattern: `^[A-Za-z0-9][A-Za-z\-_0-9]{0,127}$`.
- `pv` (string): Optional. Free text: any pv the site serves, written with letters, digits, underscores and hyphens, up to 128 characters. A name the site does not serve is refused. Leave it out for the default listing. For example: punjab (Punjab 43,087), sindh (Sindh 17,107), kpk (KPK 5,092), azad-kashmir (Azad Kashmir 445), balochistan (Balochistan 435), federally-administered-tribal-areas (Federally Administered Tribal Areas 6). Pattern: `^[A-Za-z0-9][A-Za-z\-_0-9]{0,127}$`.
- `rg` (string): Optional. Free text: any rg the site serves, written with letters, digits, underscores and hyphens, up to 128 characters. A name the site does not serve is refused. Leave it out for the default listing. For example: punjab (Punjab 32,503), sindh (Sindh 20,869), islamabad (Islamabad 18,011), lahore (Lahore 10,052), karachi (Karachi 9,738). Pattern: `^[A-Za-z0-9][A-Za-z\-_0-9]{0,127}$`.
- `tr` (string): Optional. Free text: any tr the site serves, written with letters, digits, underscores and hyphens, up to 128 characters. A name the site does not serve is refused. Leave it out for the default listing. For example: automatic (Automatic 45,469), manual (Manual 33,214). Pattern: `^[A-Za-z0-9][A-Za-z\-_0-9]{0,127}$`.
- `cl` (string): Optional. Free text: any cl the site serves, written with letters, digits, underscores and hyphens, up to 128 characters. A name the site does not serve is refused. Leave it out for the default listing. For example: white (White 31,981), black (Black 12,566), silver (Silver 11,543), grey (Grey 7,555), unlisted (Unlisted 5,455). Pattern: `^[A-Za-z0-9][A-Za-z\-_0-9]{0,127}$`.
- `eg` (string): Optional. Free text: any eg the site serves, written with letters, digits, underscores and hyphens, up to 128 characters. A name the site does not serve is refused. Leave it out for the default listing. For example: petrol (Petrol 68,357), hybrid (Hybrid 5,161), diesel (Diesel 2,503), phev (PHEV 944), cng (CNG 622). Pattern: `^[A-Za-z0-9][A-Za-z\-_0-9]{0,127}$`.
- `assembly` (string): Optional. Free text: any assembly the site serves, written with letters, digits, underscores and hyphens, up to 128 characters. A name the site does not serve is refused. Leave it out for the default listing. For example: local (Local 57,414), imported (Imported 21,269). Pattern: `^[A-Za-z0-9][A-Za-z\-_0-9]{0,127}$`.
- `bt` (string): Optional. Free text: any bt the site serves, written with letters, digits, underscores and hyphens, up to 128 characters. A name the site does not serve is refused. Leave it out for the default listing. For example: hatchback (27,644 Hatchback), sedan (26,970 Sedan), suv (6,688 SUV), crossover (5,606 Crossover). Pattern: `^[A-Za-z0-9][A-Za-z\-_0-9]{0,127}$`.
- `dr` (string \| integer): Optional. Free text: any dr the site serves, written with digits, up to 128 characters. A name the site does not serve is refused. A number is its decimal spelling, so 7 and "007" are two names. A number holds up to 9007199254740991; send a longer id as text. Leave it out for the default listing. For example: 5 (5 38,172), 4 (4 33,223), 3 (3 326), 2 (2 232). Pattern: `^[0-9][0-9]{0,127}$`.
- `st` (string \| integer): Optional. Free text: any st the site serves, written with digits, up to 128 characters. A name the site does not serve is refused. A number is its decimal spelling, so 7 and "007" are two names. A number holds up to 9007199254740991; send a longer id as text. Leave it out for the default listing. For example: 5 (5 62,239), 4 (4 5,173), 7 (7 3,535), 8 (8 744), 2 (2 174). Pattern: `^[0-9][0-9]{0,127}$`.
- `seller` (string \| number): Optional. Filters by seller. Options: Individuals 67,690 (1), Dealers 10,993 (2).
- `ct` (string): Optional. Filters the results. Options: Lahore (lahore), Karachi (karachi), Islamabad (islamabad), Rawalpindi (rawalpindi), Faisalabad (faisalabad).
- `mk` (string): Optional. Free text: any mk the site serves, written with letters, digits, underscores and hyphens, up to 128 characters. A name the site does not serve is refused. Leave it out for the default listing. For example: suzuki (Suzuki), toyota (Toyota), honda (Honda), daihatsu (Daihatsu), hyundai (Hyundai). Pattern: `^[A-Za-z0-9][A-Za-z\-_0-9]{0,127}$`.
- `ctg` (string): Optional. Free text: any ctg the site serves, written with letters, digits, underscores and hyphens, up to 128 characters. A name the site does not serve is refused. Leave it out for the default listing. For example: sports (Sports), electric (Electric), old (Old), carry-daba (Carry Daba). Pattern: `^[A-Za-z0-9][A-Za-z\-_0-9]{0,127}$`.
- `min_price` (string \| integer): Optional. Omit it to leave this side open. Values the site offers: 1600000, 14200000.
- `max_price` (string \| integer): Optional. Omit it to leave this side open.
- `min_year` (string \| integer): Optional. Omit it to leave this side open.
- `max_year` (string \| integer): Optional. Omit it to leave this side open.
- `min_mileage` (string \| integer): Optional. Omit it to leave this side open.
- `max_mileage` (string \| integer): Optional. Omit it to leave this side open.
- `af` (string \| number): Optional. Filters the results. Options: Auction Sheet Verified (1).
- `dt` (string): Optional. Filters the results. Options: AWD (awd).
- `ca` (string): Optional. Filters the results. Options: Gulistan-e-Jauhar 1029 (gulistan-e-jauhar), Khalid Bin Walid Road 935 (khalid-bin-walid-road), North Nazimabad 664 (north-nazimabad), Gulshan-e-Iqbal 534 (gulshan-e-iqbal), Abdullah Haroon Road 18 (abdullah-haroon-road), Abul Hassan Isphani Road 96 (abul-hassan-isphani-road), Air Port 152 (air-port), Aisha Manzil 99 (aisha-manzil), and 413 more in https://cleanedweb.com/catalog/pakwheels-used-cars-api/contract.json.
- `sortby` (string): Order of the collection, as the site's own sort control offers it; omitted keeps the site's default order. Options: Updated Date: Recent First (bumped_at-desc), Updated Date: Oldest First (bumped_at-asc), Price: Low to High (price-asc), Price: High to Low (price-desc), Model Year: Latest First (model_year-desc), Model Year: Oldest First (model_year-asc), Mileage: Low to High (mileage-asc), Mileage: High to Low (mileage-desc).

`enrich_records` is on by default and adds the fields that only appear on each record's detail page. Send `false` to read list fields only. See https://cleanedweb.com/docs/run-api/

## Request

`POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_ba45c65ef19f1ae426687c0b/endpoints/generated_ba45c65ef19f1ae426687c0b_search/run`

```bash
curl -X POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_ba45c65ef19f1ae426687c0b/endpoints/generated_ba45c65ef19f1ae426687c0b_search/run \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "ct": "karachi"
  },
  "version": 1,
  "max_items": 25
}'
```

Send an `Idempotency-Key` header with every run and save it before you send. Reuse it only to retry the same request. If the run does not end within `wait_seconds`, read the result with the same API key and key:

`GET https://api.cleanedweb.com/v1/catalog/public/apis/generated_ba45c65ef19f1ae426687c0b/endpoints/generated_ba45c65ef19f1ae426687c0b_search/result`

## Versions

Current: `1.0`. Pin a major with "version": N in the run body (an integer). Leave it out and the call runs on the latest major. A sunset major runs on the latest major and the response says rerouted. An unknown major answers 404 catalog_version_not_found and lists the available majors.

- v1: current, newest minor `1.0`

### Changelog

- `1.0` (major) 2026-11-29

The same changelog, as data, is in https://cleanedweb.com/catalog/pakwheels-used-cars-api/contract.json

## Use it from an AI agent

MCP server: https://api.cleanedweb.com/mcp?profile=catalog (Streamable HTTP). Sign in with a CleanedWeb account when the client asks (OAuth), or send an API key with the `read` and `run` scopes as `Authorization: Bearer`. Call `get_api` with `api_id` `generated_ba45c65ef19f1ae426687c0b`, then `run_api` with the `run_with` arguments it returns. See https://cleanedweb.com/docs/mcp/

## Run it

Reading the catalog needs no credential. Running needs a CleanedWeb account and an API key with the `run` scope; the first 5,000 records are free, then $1 per 1,000 records. See https://cleanedweb.com/docs/run-catalog-api/

CleanedWeb is not affiliated with Pakwheels.
