Craigslist Search API
API health
- 24h health
- Normal
- Healthy / normal
- Available
- Limited
- Mostly down
Last 24 hours
Last 30 days
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.
Send POST https://api.everyinfra.com/api/v1/social with platform set to craigslist and action set to search. Price $1.39 per 1,000 requests ($0.001389 per call). Failed calls and empty results are not charged. Synchronous. For slow jobs add "mode": "async" to the body, take the job_id and poll.
AI prompt
#Please help me write a data collection script with the EveryInfra Craigslist Search endpoint (craigslist/search).
How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to craigslist and action to search, and put the parameters inside params.
- Required parameters:
- keyword: Specifies the search term for Craigslist classifieds, such as bicycle. The resulting listings depend on the selected category, allowing the same term to query sales, housing, or jobs.
- Optional parameters:
- category: 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 event… (allowed: cars_trucks / community / electronics / events / for_sale / furniture / gigs / housing_apartments_houses)
- country: 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. (allowed: anchorage / atlanta / austin / baltimore / boston / calgary / charlotte / chicago)
- location: 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: 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.
- min_price: 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).
- region: Specifies the city subdomain slug, such as newyork, sfbay, or toronto. Accepts exact list values or common aliases like nyc, la, dc, and sanfrancisco. Unrecognized inputs fall back to newyork.
- sort: 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. (allowed: newest / price_asc / relevance)
- limit: The most rows to return in this call, an integer from 1 to 200. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. (default: 20)
- Returns a list of records. Main fields of each record: id, url, title, text, price, currency, category, location, posted_at, lat, lng, emails; 14 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=craigslist.
- Example request body:
{
"platform": "craigslist",
"action": "search",
"params": {
"keyword": "bicycle"
}
}
- Price: $1.39 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.
Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.Request parameters
#| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Authorization | header | string | Yes | - | Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository. |
platform | body | string | Yes | craigslist | Platform identifier, fixed value. |
action | body | string | Yes | search | Capability identifier, fixed value. |
keyword | body.params | string | Yes | - | Specifies the search term for Craigslist classifieds, such as bicycle. The resulting listings depend on the selected category, allowing the same term to query sales, housing, or jobs. |
category | body.params | string (enum) | No | - | 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.Allowed valuescars_truckscommunityelectronicseventsfor_salefurnituregigshousing_apartments_houseshousing_rooms_shareshousing_sublets_temporaryjobsresumesservices |
country | body.params | string (enum) | No | - | 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.Allowed valuesanchorageatlantaaustinbaltimorebostoncalgarycharlottechicagocincinnaticlevelandcolumbusdallasdenverdetroitedmontonhartfordhonoluluhoustonindianapoliskansascitylasvegaslosangelesmiamimilwaukeeminneapolismontrealnashvillenewhavennewyorkorlandoottawaphiladelphiaphoenixpittsburghportlandprovidenceraleighrichmondsacramentosalemsaltlakecitysanantoniosandiegoseattlesfbaystlouistampatorontovancouverwashingtondc |
location | body.params | string | No | - | 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 | body.params | number | No | - | 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 | body.params | number | No | - | 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 | body.params | string | No | - | Specifies the city subdomain slug, such as newyork, sfbay, or toronto. Accepts exact list values or common aliases like nyc, la, dc, and sanfrancisco. Unrecognized inputs fall back to newyork; check the returned location rather than assuming the input was used. |
sort | body.params | string (enum) | No | - | 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.Allowed valuesnewestprice_ascrelevance |
limit | body.params | integer (1–200) | No | 20 | The most rows to return in this call, an integer from 1 to 200. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. |
Code samples
#curl -X POST 'https://api.everyinfra.com/api/v1/social' \
-H "Authorization: Bearer $EVERYINFRA_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"platform": "craigslist",
"action": "search",
"params": {
"keyword": "bicycle"
}
}'OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.
Response example
#{ "id": "req_…", "platform": "craigslist", "action": "search", "results": [ { "id": "•••", "url": "https://www.craigslist.org/view/d/commack-24-speed-bike-hard-lady-cruz/h4HVcd5nzs8KyR3HVN9TZG", "title": "24 Speed BIKE HARD LADY CRUZ Ultra Light StepThru Hybrid Disc 14”frame", "text": "Selling 24 Speed BIKE HARD LADY CRUZ Ultra Light StepThru Hybrid Bicycle\n700 x 35C tires, 14 inch frame, trigger shifters, Suspension seat, Front Suspension with lockouts, Mechanical DISC Brakes, water bottle holder, Adjustable handle bars for a more comfort fit, under seat compa…", "price": 230, "currency": "USD", "category": "For Sale", "location": "Commack/Western Suffolk", "posted_at": "2026-09-13T04:19:38-04:00", "lat": 40.843, "lng": -73.2799, "images": [ "https://images.craigslist.org/00N0N_9Zg27TVO3x4_0jm0ew_600x450.jpg", "https://images.craigslist.org/00707_hLl3WR8t1Kp_0jm0ew_600x450.jpg", "https://images.craigslist.org/00l0l_9fmzO7RF18k_0jm0ew_600x450.jpg" ], "platform": "craigslist" }, { "id": "•••", "url": "https://www.craigslist.org/view/d/commack-24-speed-bike-hard-lady-cruz/hZcuH7RbcmTr6Q1VoiiEYd", "title": "24 Speed BIKE HARD LADY CRUZ Ultra Light StepThru Hybrid Disc 14”frame", "text": "Selling 24 Speed BIKE HARD LADY CRUZ Ultra Light StepThru Hybrid Bicycle\n700 x 35C tires, 14 inch frame, trigger shifters, Suspension seat, Front Suspension with lockouts, Mechanical DISC Brakes, water bottle holder, Adjustable handle bars for a more comfort fit, under seat compa…", "price": 230, "currency": "USD", "category": "For Sale", "location": "Commack/Western Suffolk", "posted_at": "2026-09-13T03:44:18-04:00", "lat": 40.843, "lng": -73.2799, "images": [ "https://images.craigslist.org/00Q0Q_1L0TRDLmTUr_0CI0t2_600x450.jpg", "https://images.craigslist.org/00o0o_jzfT4Xvtn1Q_0CI0t2_600x450.jpg", "https://images.craigslist.org/00V0V_ehTbYzbjHWi_0CI0t2_600x450.jpg" ], "platform": "craigslist" } ], "count": 20, "billing": { "charged": …, "charged_usd": …, "balance_after_usd": …, … }, "quota": { … }}
Response fields
#Business data is in results. The table lists the fields a record can contain; values the platform does not show are never made up.
| Field | Meaning |
|---|---|
id | The record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms. |
url | Link to the record on the platform. |
title | Title. null when the platform has no titles (for example text-only posts). |
text | Body text with HTML removed, returned in full and never cut short (on a few platforms the list results themselves carry only an excerpt; the platform's field notes say so). |
price | Price as a number without a currency symbol; see currency. |
currency | Currency code of the price (for example CNY, USD). If price is present but currency is null, do not assume a currency. |
category | Category name in the platform's own taxonomy, not normalized across platforms. |
location | Location description passed through as is; the format varies by platform. |
posted_at | Publish time in ISO 8601, UTC (for example 2026-08-07T12:34:56+00:00). Non-standard strings from the platform are passed through as is, so parse defensively. null means the platform does not disclose it. |
lat | Keeps the platform's own meaning |
lng | Keeps the platform's own meaning |
emails | Contact email addresses (a record can have several), passed through as is with duplicates removed. |
phones | Keeps the platform's own meaning |
images | Array of image links in the platform's display order; absent when there are no images. |
platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
Errors and billing
#- 401
- Missing or invalid key.
- 402
- Insufficient balance. Top up first.
- 422
- Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
- 429
- Per-minute request limit reached. Wait for Retry-After, then try again.
- 503
- Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
- 200 empty
- No data. No charge.
Official references
#Used only to check objects and terms. They do not imply authorization or endorsement of EveryInfra by the platform.
- Craigslist: Geographic selection versus city-subsite searches ↗
Craigslist separates geographic location selection from search query processing, offering official map and ZIP code narrowing tools. In this action, country / region parameters only accept the city subsite format defined above and do not add support for postal code or radius filtering.
Checked 2026-09-04
- Craigslist: How category directories work with text searches ↗
Official Craigslist guidance specifies selecting a local area category before refining results with text queries. The category parameter in this action uses the neutral values defined above and does not directly accept official platform category codes or other site filters.
Checked 2026-09-04