# Craigslist API

Search Craigslist listings by city editions and categories to obtain prices, locations and original post links. `posting_detail` reads one post in full, `areas` and `categories` list every city site and category, and `search_suggest` returns what the search box suggests.

Check the currency and billing period. Active status is not guaranteed.

- Request: POST https://api.everyinfra.com/api/v1/social with `{"platform": "craigslist", "action": "<action>", "params": {...}}`
- Canonical page: [https://everyinfra.com/en/craigslist-api](https://everyinfra.com/en/craigslist-api?utm_medium=ai_doc&utm_campaign=page_md)
- Each capability uses the price recorded in the public catalog. The response includes the amount charged. Authentication failures, invalid parameters, failed calls, and empty results are not charged.

## Actions

### search — Search
Search Craigslist classifieds in a chosen city and section, with each post's title, price, location, date, coordinates, images and listed contacts. Despite its name, `country` picks a city site such as newyork or sfbay, and unrecognized `region` values fall back to New York.
- Sync delivery · Price: $1.39 per 1,000 requests (every 20 rows count as one call)
- Catalog values: defaultLimit=20, maxLimit=200. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `keyword` (required): For `search`, the search term for Craigslist classifieds, such as bicycle; the resulting listings depend on the selected category, so the same term can query sales, housing, or jobs. For `search_suggest`, what someone has typed into the search box so far, such as bik, up to 200 characters.
  - `category` (optional): Specifies the listing category slug: for_sale (default), cars_trucks, electronics, furniture, housing_apartments_houses, housing_rooms_shares, housing_sublets_temporary, jobs, gigs, resumes, services, community, or events. One of: cars_trucks, community, electronics, events, for_sale, furniture, gigs, housing_apartments_houses, housing_rooms_shares, housing_sublets_temporary, jobs, resumes, services.
  - `country` (optional): Selects the target city subdomain rather than a country code. Accepts values listed in the schema, such as newyork, sfbay, or toronto. When provided, overrides subdomain selections made by region or location. One of: anchorage, atlanta, austin, baltimore, boston, calgary, charlotte, chicago, cincinnati, cleveland, columbus, dallas, denver, detroit, edmonton, hartford, honolulu, houston, indianapolis, kansascity, lasvegas, losangeles, miami, milwaukee, minneapolis, montreal, nashville, newhaven, newyork, orlando, ottawa, philadelphia, phoenix, pittsburgh, portland, providence, raleigh, richmond, sacramento, salem, saltlakecity, sanantonio, sandiego, seattle, sfbay, stlouis, tampa, toronto, vancouver, washingtondc.
  - `location` (optional): Acts as a fallback input for region, evaluated only when region is omitted. Maps to a Craigslist city subdomain, not street addresses, zip codes, or geographic coordinates.
  - `max_price` (optional): Sets the maximum listing price for the selected city subdomain and category. Used alongside min_price, with currency and billing cycles determined by individual listings. Filtering uses whole numbers: decimals round up (145.98 becomes 146).
  - `min_price` (optional): Sets the minimum listing price for the selected city subdomain and category. Does not represent API request costs, and price meanings vary across categories (such as resale items versus housing rent). Filtering uses whole numbers: decimals round down (39.81 becomes 39).
  - `region` (optional): The city site, such as newyork, sfbay or london; every city listed by craigslist.areas is accepted, as are aliases such as nyc, la, dc and sanfrancisco. Without it the search runs on newyork. A city that is not in that list is rejected with a 422 before any charge.
  - `sort` (optional): Sorts results by post date (newest), ascending price (price_asc), or relevance (relevance), defaulting to post date if omitted. Does not sort by seller reputation or transaction volume. One of: newest, price_asc, relevance.
- Returns fields: id, url, title, text, price, currency, category, location, posted_at, lat, lng, emails, phones, images, platform
- Capability page: [https://everyinfra.com/en/craigslist-api/search](https://everyinfra.com/en/craigslist-api/search?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/craigslist-api/search.md)

### posting_detail — Post details
Read one Craigslist post from its link or 22-character ID: title, full text, price as a number and as shown, category, posted and edited times, coordinates, city site and all images, plus the details the poster filled in. Housing posts can add address, bedrooms and area; job posts add company and pay. Contact details are not included.
- Sync delivery · Price: $0.56 per 1,000 requests
- Parameters:
  - `url` (required): For `posting_detail`, the Craigslist post to read: a post link (https://www.craigslist.org/view/d/<title>/<22-character ID>, or an older https://<city>.craigslist.org/…/<digits>.html link, as in the `url` of a search row) or the post's 22-character ID. Other values are rejected before any charge.
- Returns fields: id, uuid, url, title, text, price, currency, price_label, category, category_id, category_name, section, posted_at, edited_at, lat, lng, city, subarea, location, neighborhood, address, images, image_count, attributes, has_contact_info, is_repost, original_posting_id, notices, company_name, job_title, salary_label, bedroom_count, bathrooms, area_sqft, area_label, collected_at, platform
- Capability page: [https://everyinfra.com/en/craigslist-api/posting_detail](https://everyinfra.com/en/craigslist-api/posting_detail?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/craigslist-api/posting_detail.md)

### areas — City sites
List every Craigslist city site in one call, about 700 of them, with host name, display name, country, state or province, coordinates, time zone and, for split sites, the codes and names of their parts.
- Sync delivery · Price: $0.56 per 1,000 requests
- Parameters:
  - `limit` (optional): Positive integer (≥1): the maximum number of results to return; omit it to get every result from this call. Setting it only trims the response to at most this many and never fetches more; billing is the same with or without `limit`, whatever the value.
- Returns fields: city, area_id, name, country_code, state, lat, lng, timezone, subareas, subareas_detail, rank, collected_at, platform
- Capability page: [https://everyinfra.com/en/craigslist-api/areas](https://everyinfra.com/en/craigslist-api/areas?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/craigslist-api/areas.md)

### categories — Category tree
List every Craigslist category at its finest level in one call, about 180 of them, each with its three-letter code, numeric ID, name and the section it belongs to, such as for sale, housing or jobs.
- Sync delivery · Price: $0.56 per 1,000 requests
- Parameters:
  - `limit` (optional): Positive integer (≥1): the maximum number of results to return; omit it to get every result from this call. Setting it only trims the response to at most this many and never fetches more; billing is the same with or without `limit`, whatever the value.
- Returns fields: category, category_id, name, type, rank, collected_at, platform
- Capability page: [https://everyinfra.com/en/craigslist-api/categories](https://everyinfra.com/en/craigslist-api/categories?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/craigslist-api/categories.md)

### search_suggest — Search suggestions
Get what the Craigslist search box suggests for a partly typed `keyword`, usually 12 or fewer terms, each with `rank` in the platform's order. No search volume comes with them, and a word with no suggestions returns an empty list.
- Sync delivery · Price: $0.56 per 1,000 requests
- Parameters:
  - `keyword` (required): For `search`, the search term for Craigslist classifieds, such as bicycle; the resulting listings depend on the selected category, so the same term can query sales, housing, or jobs. For `search_suggest`, what someone has typed into the search box so far, such as bik, up to 200 characters.
  - `limit` (optional): Positive integer (≥1): the maximum number of results to return; omit it to get every result from this call. Setting it only trims the response to at most this many and never fetches more; billing is the same with or without `limit`, whatever the value.
- Returns fields: keyword, rank, collected_at, platform
- Capability page: [https://everyinfra.com/en/craigslist-api/search_suggest](https://everyinfra.com/en/craigslist-api/search_suggest?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/craigslist-api/search_suggest.md)

## Craigslist API questions

### What can I retrieve with the Craigslist API?

Set `platform` to `craigslist`. The current catalog lists search, post details, city sites, category tree, and search suggestions. These action names identify different Craigslist objects or views; they are not interchangeable search modes.

### Which input starts the Craigslist `search` request?

For `search`, the search term for Craigslist classifieds, such as bicycle; the resulting listings depend on the selected category, so the same term can query sales, housing, or jobs. For `search_suggest`, what someone has typed into the search box so far, such as bik, up to 200 characters. Send it as `keyword` inside `params`.

### Which fields can Craigslist `search` return?

Its declared schema includes `title`, `text`, `price`, and `currency`. A declared field can still be absent from an individual record, and every other action has its own field list.

### Does every Craigslist action return immediately?

Actions labeled asynchronous return a job ID you poll. Every other action can also run asynchronously: add `"mode": "async"` to the request body to receive a job ID immediately, useful for slow tasks or large limits. The current catalog contains sync delivery.

## Also

- Machine catalog (no key): https://everyinfra.com/openapi.json · GET /api/v1/social/catalog?platform=craigslist
- API guide for AI clients: https://everyinfra.com/llms.txt · agents guide: https://everyinfra.com/agents.md
