Craigslist Scraper

ENDPOINTS
GET/locations/search

Search Locations

Find a Craigslist site by city, hostname or abbreviation, with its subareas and coordinates.

QUERY PARAMS

City, site hostname, abbreviation or region to look up.

Examples:

  • new york
  • sfbay
  • pdx

Maximum number of locations to return.

Default: 10

Allowed values: 1-50

{
  "query": "new york",
  "count": 1,
  "locations": [
    {
      "id": 3,
      "site": "newyork",
      "abbreviation": "nyc",
      "name": "new york city",
      "short_name": "new york",
      "link": "https://newyork.craigslist.org",
      "region": "NY",
      "country": "US",
      "latitude": 40.714199,
      "longitude": -74.006401,
      "timezone": "America/New_York",
      "subareas": [
        {
          "id": 1,
          "code": "mnh",
          "name": "manhattan"
        },
        {
          "id": 2,
          "code": "brk",
          "name": "brooklyn"
        },
        {
          "id": 3,
          "code": "que",
          "name": "queens"
        },
        {
          "id": 4,
          "code": "brx",
          "name": "bronx"
        },
        {
          "id": 5,
          "code": "stn",
          "name": "staten island"
        },
        {
          "id": 6,
          "code": "jsy",
          "name": "new jersey"
        },
        {
          "id": 7,
          "code": "lgi",
          "name": "long island"
        },
        {
          "id": 8,
          "code": "wch",
          "name": "westchester"
        },
        {
          "id": 9,
          "code": "fct",
          "name": "fairfield co, CT"
        }
      ]
    }
  ]
}