← Back to marketplace

Craigslist

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.

other
by Mark89 endpoints100% uptime91ms avg

Includes 100 free calls per month

After the free quota, standard per-request pricing applies via x402 (USDC on Base).

Endpoints

GET/v1/general/areas
$0.0010/req

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

countrystring

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"
            }
          }
        }
      }
    }
  }
}
GET/v1/general/categories
$0.0010/req

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"
            }
          }
        }
      }
    }
  }
}
GET/v1/general/nearest-area
$0.0010/req

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

latitudestringrequired

Latitude of the point (e.g. 40.7128)

longitudestringrequired

Longitude of the point (e.g. -74.0060)

Response schema

areastring
areaIdinteger
subareastring
citystring
regionstring
countrystring
postalstring
latitudenumber
longitudenumber
GET/v1/posting/details
$0.0010/req

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_uuidstringrequired

Posting uuid, as returned by /posting/search

Response schema

idinteger
uuidstring
titlestring
urlstring
priceinteger
priceTextstring
sectionstring
categoryobject
postedTimestampinteger
updatedTimestampinteger
repostOfnull
companynull
hasContactInfoboolean
descriptionstring
descriptionHtmlstring
locationobject
attributesarray
imagesarray
GET/v1/posting/details-by-url
$0.0010/req

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

urlstringrequired

Address of the posting on Craigslist

Response schema

idinteger
uuidstring
titlestring
urlstring
priceinteger
priceTextstring
sectionstring
categoryobject
postedTimestampinteger
updatedTimestampinteger
repostOfnull
companynull
hasContactInfoboolean
descriptionstring
descriptionHtmlstring
locationobject
attributesarray
imagesarray
GET/v1/posting/search
$0.0010/req

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

areastringrequired

Area hostname (e.g. newyork), as returned by /general/areas

categorystring

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.

querystring

Search term (e.g. iphone)

subareastring

Subarea abbreviation to search one part of the area only (e.g. brk), as returned by /general/areas

sortstring

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.

min_pricestring

Lowest price

max_pricestring

Highest price

has_imagestring

Set to true to return only postings with an image

posted_todaystring

Set to true to return only postings from today

titles_onlystring

Set to true to match the query against posting titles only

postalstring

Postal code to search around (e.g. 10001), together with search_distance

search_distancestring

Distance from the postal code, in the distance unit of the area (miles or kilometres), up to 1000

filtersstring

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.

pagestring

Page number, 120 postings per page (default 1)

Response schema

pageinteger
pageSizeinteger
totalResultsinteger
totalPagesinteger
sortstring
currencystring
postingsarray
GET/v1/search/category-counts
$0.0010/req

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

areastringrequired

Area hostname (e.g. newyork), as returned by /general/areas

querystringrequired

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"
            }
          }
        }
      }
    }
  }
}
GET/v1/search/filters
$0.0010/req

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

categorystringrequired

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"
            }
          }
        }
      }
    }
  }
}
GET/v1/search/suggestions
$0.0010/req

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

querystringrequired

Beginning of the search term (e.g. iph)

typestring

What to suggest: search for search terms (default) or make-model for vehicle makes and models

Response schema

{
  "type": "array",
  "items": {
    "type": "string"
  }
}

Quick start

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)

Pricing calculator

Estimate your monthly cost for Craigslist.

GET /v1/general/areas$0.0010/req
-
GET /v1/general/categories$0.0010/req
-
GET /v1/general/nearest-area$0.0010/req
-
GET /v1/posting/details$0.0010/req
-
GET /v1/posting/details-by-url$0.0010/req
-
GET /v1/posting/search$0.0010/req
-
GET /v1/search/category-counts$0.0010/req
-
GET /v1/search/filters$0.0010/req
-
GET /v1/search/suggestions$0.0010/req
-