{
  "openapi": "3.0.1",
  "info": {
    "title": "Craigslist Scraper - Listings, Prices & Images",
    "description": "Scrape Craigslist listings without an API or login. Export Craigslist data to CSV/JSON with prices, images & coordinates. Unofficial API alternative.",
    "version": "1.0",
    "x-build-id": "z2kjhBzLDU6pcfgas"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/logiover~craigslist-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-logiover-craigslist-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/logiover~craigslist-scraper/runs": {
      "post": {
        "operationId": "runs-sync-logiover-craigslist-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/logiover~craigslist-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-logiover-craigslist-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "city": {
            "title": "City",
            "enum": [
              "newyork",
              "losangeles",
              "chicago",
              "sfbay",
              "seattle",
              "boston",
              "washingtondc",
              "sandiego",
              "denver",
              "atlanta",
              "dallas",
              "houston",
              "austin",
              "phoenix",
              "portland",
              "miami",
              "philadelphia",
              "minneapolis",
              "sacramento",
              "orangecounty",
              "lasvegas",
              "detroit",
              "tampa",
              "orlando",
              "charlotte",
              "raleigh",
              "pittsburgh",
              "cleveland",
              "columbus",
              "cincinnati",
              "kansascity",
              "stlouis",
              "nashville",
              "neworleans",
              "saltlakecity",
              "albuquerque",
              "tucson",
              "elpaso",
              "sanantonio",
              "jacksonville",
              "indianapolis",
              "milwaukee",
              "buffalo",
              "rochester",
              "hartford",
              "providence",
              "richmond",
              "louisville",
              "memphis",
              "birmingham",
              "honolulu",
              "anchorage",
              "boise",
              "spokane",
              "eugene",
              "reno",
              "fresno",
              "bakersfield",
              "inlandempire",
              "santabarbara",
              "ventura",
              "hudsonvalley",
              "longisland",
              "newjersey",
              "baltimore",
              "delaware",
              "westernmass",
              "newhampshire",
              "maine",
              "vermont",
              "montana",
              "wyoming",
              "fargo",
              "siouxfalls",
              "omaha",
              "desmoines",
              "wichita",
              "tulsa",
              "oklahomacity",
              "littlerock",
              "jackson",
              "columbia",
              "savannah",
              "knoxville",
              "chattanooga",
              "huntsville",
              "mobile",
              "toronto",
              "vancouver",
              "montreal",
              "calgary",
              "ottawa",
              "edmonton",
              "london",
              "manchester",
              "sheffield",
              "berlin",
              "sydney",
              "melbourne"
            ],
            "type": "string",
            "description": "Pick a Craigslist city/region to scrape. Used together with Category (and optional Search keyword) when you don't paste full search URLs below. Leave the default to browse a busy city.",
            "default": "newyork"
          },
          "category": {
            "title": "Category",
            "enum": [
              "sss",
              "cta",
              "apa",
              "hhh",
              "jjj",
              "ggg",
              "bbb",
              "ccc",
              "ela",
              "sya",
              "mca",
              "rva",
              "bia",
              "boa",
              "hva",
              "for",
              "fua",
              "hsa",
              "tla",
              "ppa",
              "zip",
              "ata",
              "bka",
              "haa",
              "sga",
              "moa",
              "msa",
              "wanted",
              "vga",
              "tia",
              "jwa",
              "clo",
              "gms",
              "res",
              "sad",
              "acc",
              "lbg",
              "lgs",
              "wta"
            ],
            "type": "string",
            "description": "Craigslist category to browse when you don't paste full search URLs below. Leave the default ('All for sale') to pull recent for-sale listings.",
            "default": "sss"
          },
          "query": {
            "title": "Search keyword (optional)",
            "type": "string",
            "description": "Optional keyword to search within the selected City + Category (e.g. 'iphone', 'toyota', 'macbook'). Leave empty to pull ALL recent listings in the category.",
            "default": ""
          },
          "searchUrls": {
            "title": "Craigslist search URLs (advanced)",
            "type": "array",
            "description": "Optional. Paste one or more full Craigslist search-results URLs to override the City/Category picker above. Open Craigslist, pick a city + category, apply any filters, then copy the URL. Examples: https://newyork.craigslist.org/search/sss?query=iphone — https://losangeles.craigslist.org/search/cta?query=toyota",
            "items": {
              "type": "string"
            }
          },
          "builder": {
            "title": "Search builder (advanced)",
            "type": "object",
            "description": "Optional. Build a search programmatically. Provide city subdomain (e.g. 'newyork'), category code (e.g. 'sss'), optional query, minPrice, maxPrice and a filters object. Overridden by searchUrls if both are set."
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of listings to collect across all searches. 0 = unlimited (paginates as deep as Craigslist allows).",
            "default": 1000
          },
          "includeDetails": {
            "title": "Fetch listing details",
            "type": "boolean",
            "description": "Open each listing's detail page to also collect the full description, attributes and full-size images. Much slower — leave off for fast bulk scraping.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Craigslist blocks datacenter IPs — US residential proxies are required. Leave the default (Apify Proxy · RESIDENTIAL · US).",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "US"
            }
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}