# craigslist.listing

A posting on Craigslist from its address: title, price, text, the facts listed beside its map, photos, address, map pin, category and when it was posted.

Craigslist posting, one of the Craigslist scrapers.

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

Start it with `POST /v1/scrapers/craigslist.listing/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 |
| --- | --- | --- | --- |
| `url` | string | yes | The address of the posting's page: `https://www.craigslist.org/view/d/<title>/<id>`, as `craigslist.search` returns it, or the older `https://<site>.craigslist.org/<…>/<number>.html`. Limit: at least 10 characters, at most 1000 characters. |

## 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 |
| --- | --- | --- |
| `posting_id` | string or null | Craigslist's number for the posting, as its page prints it (`post id`). |
| `url` | string | The address of the posting's page on craigslist.org. |
| `title` | string | The posting's title. |
| `price` | number or null | The asking price, rent or pay as a number. Null when the page states none. |
| `price_text` | string or null | The price as the page prints it, with its currency sign, e.g. `$150`, `£200`. |
| `currency` | string or null | The ISO 4217 code of the price, e.g. `USD`, `GBP`, where the page states it or its sign names one (`£`, `€`); null for a bare `$`, which several countries use. |
| `location` | string or null | The place the poster wrote beside the title, e.g. `Carol Stream`. |
| `company` | string or null | For a job: the employer's name as the posting gives it. |
| `description` | string or null | The posting's text, as plain text with its line breaks. |
| `attributes` | array of object | The facts the page lists beside the map: condition, size, rent period, compensation, employment type and the like. |
| `attributes[].label` | string or null | The fact's name as the page prints it, e.g. `condition`; null for a fact printed without one, such as `0BR / 1Ba`. |
| `attributes[].value` | string | The value as the page prints it, e.g. `good`, `monthly`, `full-time`. |
| `images` | array of string | The addresses of the posting's photos. |
| `street_address` | string or null | The street address, where the poster gave one. |
| `map_address` | string or null | The place written under the map, e.g. `243 23rd St near Bissell`. |
| `locality` | string or null | The town or neighbourhood. |
| `region` | string or null | The state, province or region. |
| `postal_code` | string or null | The postal code, where stated. |
| `country` | string or null | The two-letter country code, e.g. `US`, `GB`. |
| `latitude` | number or null | The latitude of the posting's map pin, as rounded by Craigslist. |
| `longitude` | number or null | The longitude of the posting's map pin, as rounded by Craigslist. |
| `bedrooms` | integer or null | For housing: the number of bedrooms, where stated. |
| `bathrooms` | number or null | For housing: the number of bathrooms, where stated. |
| `area` | string or null | The Craigslist site the posting is on, e.g. `new york`. |
| `subarea` | string or null | The part of that site, e.g. `queens`, where it has parts. |
| `section` | string or null | The part of Craigslist: `for sale`, `housing`, `jobs`, `services`, `gigs`, `community`. |
| `category` | string or null | The posting's category, e.g. `bicycles - by owner`. |
| `posted_at` | string (date-time) or null | When the posting was first put up, with the posting's own time zone offset. |
| `updated_at` | string (date-time) or null | When the poster last changed it, where the page says so. |
| `fetched_at` | string (date-time) | When the 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/craigslist.listing/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"url":"https://www.craigslist.org/view/d/carol-stream-local-truck-driver-cdl/cRuaoWodm15NLnZureb7WG"}}'
```

## 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": "craigslist.listing",
  "scraper_version": 1,
  "status": "ok",
  "reason": null,
  "input": {
    "url": "https://www.craigslist.org/view/d/carol-stream-local-truck-driver-cdl/cRuaoWodm15NLnZureb7WG"
  },
  "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": [
    {
      "posting_id": "8003183523",
      "url": "https://www.craigslist.org/view/d/carol-stream-local-truck-driver-cdl/cRuaoWodm15NLnZureb7WG",
      "title": "Local Truck Driver CDL A",
      "price": null,
      "price_text": null,
      "currency": null,
      "location": "Carol Stream",
      "company": "FedEx Contractor",
      "description": "We are hiring for a local, evening driving position out of Carol Stream, IL.\nPosition Details:\n-Mon-Friday (weekend work available for extra pay)\n-Hook-and-Drop (no loading or unloading)\n-Short, terminal-to-terminal trips\n-Minimal to no … [truncated]",
      "attributes": [
        {
          "label": "compensation",
          "value": "$1,400.00 weekly salary"
        },
        {
          "label": "employment type",
          "value": "full-time"
        },
        {
          "label": "experience level",
          "value": "mid level"
        }
      ],
      "images": [],
      "street_address": null,
      "map_address": "Gary Ave. near Della Ct.",
      "locality": null,
      "region": null,
      "postal_code": null,
      "country": null,
      "latitude": 41.895232,
      "longitude": -88.128247,
      "bedrooms": null,
      "bathrooms": null,
      "area": "chicago",
      "subarea": "west chicagoland",
      "section": "jobs",
      "category": "transport",
      "posted_at": "2026-11-19T10:03:55-06:00",
      "updated_at": null,
      "fetched_at": "2026-11-19T18:07:39.700624Z"
    }
  ],
  "next_cursor": null
}
```

What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with `… [truncated]`.

- Shortened: `description`: 541 characters, the first 236 shown.
- Shortened: `attributes`: 4 items, the first 3 shown.

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 Craigslist scrapers](https://docs.enrichednow.com/results-and-statuses.md#craigslist) are in their own section there.
