Craigslist Post details API
API health
- 24h health
- Normal
- Healthy / normal
- Available
Last 24 hours
Last 30 days
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.
Send POST https://api.everyinfra.com/api/v1/social with platform set to craigslist and action set to posting_detail. Price $0.56 per 1,000 requests ($0.000556 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 Post details endpoint (craigslist/posting_detail).
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 posting_detail, and put the parameters inside params.
- Required parameters:
- url: 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…
- Returns one object. Main fields: id, uuid (The post's 22-character ID, the last pa…), url, title, text, price, currency, price_label (The price as shown on the post, such as…), category (Category: in posting_detail and categor…), category_id (Numeric ID of the category), category_name (Name of the post's category, such as bi…), section (The broad section the post is in, such…); 36 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=craigslist.
- Example request body:
{
"platform": "craigslist",
"action": "posting_detail",
"params": {
"url": "https://www.craigslist.org/view/d/new-york-1978-raleigh-competition-gs/vTTJq95heQdC4p2GeTGeMM"
}
}
- Price: $0.56 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 | posting_detail | Capability identifier, fixed value. |
url | body.params | string | Yes | - | 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. |
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": "posting_detail",
"params": {
"url": "https://www.craigslist.org/view/d/new-york-1978-raleigh-competition-gs/vTTJq95heQdC4p2GeTGeMM"
}
}'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": "posting_detail", "results": { "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": … }, "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. |
uuid | The post's 22-character ID, the last part of its link; it can be passed as url to posting_detail. |
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. |
price_label | The price as shown on the post, such as $1,400. |
category | Category: in posting_detail and categories the three-letter category code, such as bik or apa; in search the category name, sometimes the code. |
category_id | Numeric ID of the category. |
category_name | Name of the post's category, such as bicycles - by owner. |
section | The broad section the post is in, such as for sale, housing or jobs. |
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. |
edited_at | When the post was last edited (ISO 8601, UTC). |
lat | Latitude. |
lng | Longitude. |
city | Host name of the city site, such as newyork, sfbay or london. |
subarea | Code of the part of the city site the post is in, such as mnh for Manhattan on newyork; absent on sites that are not split. |
location | Location description passed through as is; the format varies by platform. |
neighborhood | The neighborhood the poster entered, such as Inwood / Wash Hts; absent when not filled in. |
address | Street address the poster gave, on housing posts. |
images | Array of image links in the platform's display order; absent when there are no images. |
image_count | Number of images on the post, the length of images. |
attributes | Details the poster filled in for the category, such as make, condition, bedrooms or compensation: a list of {name, label, value}, where name is the platform's attribute name and label is the name shown on the page. |
has_contact_info | Whether the post includes contact details; they are not returned because the platform shows them only after a check. |
is_repost | Whether the post is a repost of an earlier one by the same poster; original_posting_id then gives that earlier post's ID. |
original_posting_id | ID of the earlier post this one reposts; present when is_repost is true. |
notices | Notices the platform shows on the post, as given; absent when there are none. |
company_name | Company name on a job post. |
job_title | Job title on a job post. |
salary_label | Compensation as written on a job post, such as $114000 to $228000 per year. |
bedroom_count | Number of bedrooms on a housing post; 0 for a studio. |
bathrooms | Number of bathrooms on a housing post. |
area_sqft | Floor area in square feet on a housing post. |
area_label | Floor area as shown on the post. |
collected_at | When this record was collected (ISO 8601, UTC). |
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.