Fast JSON API for Craigslist classifieds - search postings for sale, housing, jobs, gigs, services, community, events and resumes in any area with price, image and category filters, full posting details with description, attributes, location and images, areas, categories and search suggestions.
Includes 100 free calls per month
After the free quota, standard per-request pricing applies via x402 (USDC on Base).
Returns every Craigslist area (local site) with its id, hostname, name, country, region, coordinates, timezone and subareas. The area hostname and the subarea abbreviation are what the search endpoints take.
Request schema
Two-letter country code to list the areas of one country only (e.g. US)
Response schema
{
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"hostname": {
"type": "string"
},
"abbreviation": {
"type": "string"
},
"name": {
"type": "string"
},
"shortName": {
"type": "string"
},
"country": {
"type": "string"
},
"region": {
"type": [
"string",
"null"
]
},
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
},
"timezone": {
"type": "string"
},
"subareas": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"abbreviation": {
"type": "string"
},
"name": {
"type": "string"
},
"shortName": {
"type": "string"
}
}
}
}
}
}
}Returns the Craigslist sections (for sale, housing, jobs, gigs, services, community, events, resumes) with the categories of each: id, abbreviation and name. Both the section and the category abbreviation are accepted wherever a category is asked for.
Request schema
{
"type": "object",
"properties": {}
}Response schema
{
"type": "array",
"items": {
"type": "object",
"properties": {
"abbreviation": {
"type": "string"
},
"name": {
"type": "string"
},
"categories": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"abbreviation": {
"type": "string"
},
"name": {
"type": "string"
}
}
}
}
}
}
}Returns the Craigslist area and subarea that cover a pair of coordinates, together with the city, region, country and postal code at that point.
Request schema
Latitude of the point (e.g. 40.7128)
Longitude of the point (e.g. -74.0060)
Response schema
Returns one posting in full: title, url, price, section and category, posting and update time, description as text and as HTML, location with address and coordinates, every attribute (condition, make and model, odometer, bedrooms, compensation, employment type…) and images in full size.
Request schema
Posting uuid, as returned by /posting/search
Response schema
Returns one posting in full, looked up by its Craigslist address instead of its uuid. The response is the same as the one of /posting/details.
Request schema
Address of the posting on Craigslist
Response schema
Searches the postings of an area and returns them 120 per page: id, uuid, title, url, price, category, posting time, location with coordinates and images. Depending on the category a posting also carries bedrooms and square feet, odometer and monthly payment, compensation, company and job title, or event, open house and sale dates.
Request schema
Area hostname (e.g. newyork), as returned by /general/areas
Section or category abbreviation (e.g. sss for everything for sale, apa for apartments, cta for cars and trucks, jjj for jobs), as returned by /general/categories and /search/category-counts. Defaults to sss.
Search term (e.g. iphone)
Subarea abbreviation to search one part of the area only (e.g. brk), as returned by /general/areas
Order of the results: newest, oldest, price-asc, price-desc, relevance, distance or upcoming. Without it a search with a query is ordered by relevance and any other by newest.
Lowest price
Highest price
Set to true to return only postings with an image
Set to true to return only postings from today
Set to true to match the query against posting titles only
Postal code to search around (e.g. 10001), together with search_distance
Distance from the postal code, in the distance unit of the area (miles or kilometres), up to 1000
Category filters as comma-separated name:value pairs (e.g. min_bedrooms:2,housing_type:1,housing_type:6). Repeat a name to pass several values. Use /search/filters to list the names and values of a category.
Page number, 120 postings per page (default 1)
Response schema
Returns how many postings match a search term in an area, per section and per category. The abbreviations are the ones /posting/search takes as its category.
Request schema
Area hostname (e.g. newyork), as returned by /general/areas
Search term (e.g. iphone)
Response schema
{
"type": "array",
"items": {
"type": "object",
"properties": {
"abbreviation": {
"type": "string"
},
"name": {
"type": "string"
},
"count": {
"type": "integer"
},
"categories": {
"type": "array",
"items": {
"type": "object",
"properties": {
"abbreviation": {
"type": "string"
},
"name": {
"type": "string"
},
"count": {
"type": "integer"
}
}
}
}
}
}
}Returns the filters a section or category can be searched by: name, label, type (boolean, number, select, multi or text) and the accepted values. They go into the filters parameter of /posting/search as name:value pairs.
Request schema
Section or category abbreviation (e.g. apa for apartments, cta for cars and trucks), as returned by /general/categories
Response schema
{
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"label": {
"type": "string"
},
"type": {
"type": "string"
},
"options": {
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"label": {
"type": "string"
}
}
}
}
}
}
}Returns the search terms Craigslist suggests for the beginning of a query. With the make-model type it suggests vehicle makes and models instead, which is what the auto_make_model filter takes.
Request schema
Beginning of the search term (e.g. iph)
What to suggest: search for search terms (default) or make-model for vehicle makes and models
Response schema
{
"type": "array",
"items": {
"type": "string"
}
}Easiest way: the APIHub CLI. Credits cover x402, no wallet needed.
# install and set up once
npx @apihubio/cli register
npx @apihubio/cli topup 10
# call this service
npx @apihubio/cli call -X GET "https://proxy.apihub.io/craigslist/v1/general/areas" \
-d '{"country":"US"}'Or call the proxy directly (curl / any HTTP client):
curl https://proxy.apihub.io/craigslist/v1/general/areas \
-H "Authorization: Bearer ahk_your_key"
# If credits available: charged automatically, returns 200
# Otherwise: returns 402 (pay via @x402/fetch or top up credits)Estimate your monthly cost for Craigslist.