POST

API health

24h health
Normal
  • Healthy / normal
  • Available
Normal

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

#
NameInTypeRequiredDefaultDescription
AuthorizationheaderstringYes-Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository.
platformbodystringYescraigslistPlatform identifier, fixed value.
actionbodystringYesposting_detailCapability identifier, fixed value.
urlbody.paramsstringYes-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

#
bash
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

#
No sample response is available for these parameters yet. This preview shows the response shape and fields from the API definition, with … as placeholders; it is not the result of a live call.
json
{  "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.

FieldMeaning
idThe record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms.
uuidThe post's 22-character ID, the last part of its link; it can be passed as url to posting_detail.
urlLink to the record on the platform.
titleTitle. null when the platform has no titles (for example text-only posts).
textBody 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).
pricePrice as a number without a currency symbol; see currency.
currencyCurrency code of the price (for example CNY, USD). If price is present but currency is null, do not assume a currency.
price_labelThe price as shown on the post, such as $1,400.
categoryCategory: in posting_detail and categories the three-letter category code, such as bik or apa; in search the category name, sometimes the code.
category_idNumeric ID of the category.
category_nameName of the post's category, such as bicycles - by owner.
sectionThe broad section the post is in, such as for sale, housing or jobs.
posted_atPublish 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_atWhen the post was last edited (ISO 8601, UTC).
latLatitude.
lngLongitude.
cityHost name of the city site, such as newyork, sfbay or london.
subareaCode 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.
locationLocation description passed through as is; the format varies by platform.
neighborhoodThe neighborhood the poster entered, such as Inwood / Wash Hts; absent when not filled in.
addressStreet address the poster gave, on housing posts.
imagesArray of image links in the platform's display order; absent when there are no images.
image_countNumber of images on the post, the length of images.
attributesDetails 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_infoWhether the post includes contact details; they are not returned because the platform shows them only after a check.
is_repostWhether 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_idID of the earlier post this one reposts; present when is_repost is true.
noticesNotices the platform shows on the post, as given; absent when there are none.
company_nameCompany name on a job post.
job_titleJob title on a job post.
salary_labelCompensation as written on a job post, such as $114000 to $228000 per year.
bedroom_countNumber of bedrooms on a housing post; 0 for a studio.
bathroomsNumber of bathrooms on a housing post.
area_sqftFloor area in square feet on a housing post.
area_labelFloor area as shown on the post.
collected_atWhen this record was collected (ISO 8601, UTC).
platformSource 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.

Errors

Google Analytics needs consent. Privacy