# arabam.search

The used vehicles on a page of arabam.com's results: model, year, mileage, colour, price, date listed and place.

arabam.com search, one of the arabam.com scrapers.

| | |
| --- | --- |
| Id | `arabam.search` |
| Version | 1 |
| Billed per | request — 1 unit for a charged run |
| Runs | within one request |

Start it with `POST /v1/scrapers/arabam.search/runs`. How runs work is in [Running a scraper](https://docs.enrichednow.com/running-a-scraper.md); what a run costs is in [Usage and units](https://docs.enrichednow.com/usage-and-units.md).

## Inputs

The fields of `input`. A field that is not listed here is refused.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `make` | string | no | The make as arabam.com writes it in its addresses, e.g. bmw, renault, fiat. Limit: at most 60 characters. |
| `model` | string | no | The model, with the make, as arabam.com writes it in its addresses, e.g. 3-serisi, clio, egea. Limit: at most 80 characters. |
| `url` | string | no | A results address on arabam.com instead, with the site's own filters, e.g. https://www.arabam.com/ikinci-el/otomobil/fiat-egea?city=34. Limit: at most 2048 characters. |
| `page` | integer | no | The results page, from 1; a page holds 20 vehicles. Limit: 1 to 50. Default: `1`. |
| `max_results` | integer | no | Return at most this many vehicles of the page; all of them when not given. Limit: 1 to 20. |

## Record fields

Every record of a run has these fields. A value that is not known is `null` — never an empty string and never `0`.

| Field | Type | Notes |
| --- | --- | --- |
| `position` | integer | The listing's place on the results page, from 1. |
| `page` | integer | The results page the listing was on. |
| `listing_id` | string | arabam.com's id of the listing. |
| `url` | string | The listing's address on arabam.com. |
| `model` | string or null | Make, model and version, as the list writes them, e.g. "BMW 3 Serisi 318i Standart". |
| `make` | string or null | The make, from the page's own data, e.g. BMW. |
| `title` | string or null | The seller's title of the listing, as written. |
| `year` | integer or null | The model year. |
| `mileage_km` | integer or null | The mileage in kilometres. |
| `colour` | string or null | The colour, in Turkish as the list writes it, e.g. Siyah. |
| `price` | number or null | The asking price. |
| `currency` | string or null | The ISO code of the price's currency (TRY). |
| `drive` | string or null | The drive, in Turkish as the page's data gives it, e.g. Arkadan İtiş. |
| `listed_on` | string or null | The day the listing was published, as YYYY-MM-DD. |
| `city` | string or null | The province (il) the vehicle is in. |
| `district` | string or null | The district (ilçe). |
| `image` | string or null | The listing's first picture; null when it has none. |
| `seller_type` | string or null | dealer (a dealership, galeriden) or owner (the owner, sahibinden), as the listing's address says. |
| `fetched_at` | string (date-time) | When the results page was read, in UTC. |

## Example request

It starts a run with this scraper's example input and waits up to 60 seconds for it. The key is read from `ENRICHEDNOW_API_KEY`.

```bash
curl -X POST "https://api.enrichednow.com/v1/scrapers/arabam.search/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"make":"bmw","model":"3-serisi"}}'
```

## Example response

The run, once it has ended. A run that has not ended within `wait` comes back with `202` and the status `queued` or `running`.

```json
{
  "id": "run_841742f37553189ff9c27ba1",
  "scraper_id": "arabam.search",
  "scraper_version": 1,
  "status": "ok",
  "reason": null,
  "input": {
    "make": "bmw",
    "model": "3-serisi"
  },
  "record_count": 1,
  "units": 1,
  "units_per_request": 1,
  "units_per_record": null,
  "units_per_page": null,
  "diagnostics": {
    "requests": 1,
    "bytes": 259214,
    "wall_ms": 885,
    "facts": {}
  },
  "created_at": "2026-11-16T22:37:50.170950Z",
  "started_at": "2026-11-16T22:37:50.178331Z",
  "finished_at": "2026-11-16T22:37:51.066313Z"
}
```

Its records, from `GET /v1/runs/{id}/records`. The record is a real one: this scraper's own parser read it from a page recorded from the site.

```json
{
  "records": [
    {
      "position": 1,
      "page": 1,
      "listing_id": "44966794",
      "url": "https://www.arabam.com/ilan/galeriden-satilik-bmw-3-serisi-318i-standart/sanroflu-motor-yuruyen-sanziman-iyi-durumda/44966794",
      "model": "BMW 3 Serisi 318i Standart",
      "make": "BMW",
      "title": "SANROFLU MOTOR YÜRÜYEN ŞANZIMAN İYİ DURUMDA",
      "year": 2005,
      "mileage_km": 310000,
      "colour": "Siyah",
      "price": 519000,
      "currency": "TRY",
      "drive": "Arkadan İtiş",
      "listed_on": "2026-11-19",
      "city": "İstanbul",
      "district": "Gaziosmanpaşa",
      "image": "https://arbstorage.mncdn.com/ilanfotograflari/2026/10/20/44966794/3843f165-25e2-4548-92df-e0957d733b8a_image_for_silan_44966794_240x180.jpg",
      "seller_type": "dealer",
      "fetched_at": "2026-11-19T19:21:14.846926Z"
    }
  ],
  "next_cursor": null
}
```

A run does not always end `ok`. [Results and statuses](https://docs.enrichednow.com/results-and-statuses.md#reason-codes) lists every status and the reasons every scraper shares; [the reasons of the arabam.com scrapers](https://docs.enrichednow.com/results-and-statuses.md#arabam-com) are in their own section there.
