{
  "openapi": "3.0.1",
  "info": {
    "title": "🚀 Craigslist Scraper · 5,000 Free Listings/Month",
    "description": "Craigslist Scraper gets you Craigslist listings ⚡ fast, 🎯 100% accurate and 🔍 ridiculously detailed — prices, photos, full descriptions, attributes and GPS from any category. 💰 $1 per 1,000 listings, no start fee. Scrape your first 5,000 listings free every month 🚀",
    "version": "0.0",
    "x-build-id": "SR6n8BKJBTbrR59jn"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/omkar-cloud~craigslist-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-omkar-cloud-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/omkar-cloud~craigslist-scraper/runs": {
      "post": {
        "operationId": "runs-sync-omkar-cloud-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/omkar-cloud~craigslist-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-omkar-cloud-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": {
          "searchQueries": {
            "title": "Search Keywords",
            "type": "array",
            "description": "What to look for — each keyword is searched separately in every location. Rows carry a `query` field so you can tell them apart.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "Where to search — each is searched separately. A Craigslist site (`newyork`, `sfbay`, `losangeles`, `chicago` — the part before .craigslist.org), a ZIP / postal code (`94103`) or `latitude,longitude` (`40.7128,-74.0060`). ZIP codes and coordinates search a radius.",
            "items": {
              "type": "string"
            }
          },
          "section": {
            "title": "Section",
            "enum": [
              "sss",
              "hhh",
              "jjj",
              "ggg",
              "bbb",
              "ccc",
              "eee",
              "rrr"
            ],
            "type": "string",
            "description": "Which part of Craigslist to search.",
            "default": "sss"
          },
          "category": {
            "title": "Category Code",
            "type": "string",
            "description": "Optional three-letter Craigslist category code that narrows the section, e.g. `sya` (computers), `apa` (apartments), `cta` (cars & trucks), `sof` (software jobs). It is the code in a Craigslist search URL: newyork.craigslist.org/search/`sya`. Overrides Section."
          },
          "maxResultsPerSearch": {
            "title": "Max Listings per Search",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Stop each search after this many listings (Craigslist serves up to 10,000 per search). Caps your cost: 1,000 listings ≈ $1.",
            "default": 120
          },
          "includeDetails": {
            "title": "Scrape Full Listing Details",
            "type": "boolean",
            "description": "Opens every listing and adds the full description, every attribute (condition, make and model, bedrooms, pay …), street address, exact coordinates and repost history. Detailed rows cost $3 per 1,000 instead of $1.",
            "default": false
          },
          "listingUrls": {
            "title": "Listing URLs",
            "type": "array",
            "description": "Craigslist listing links (or listing IDs from a previous run). Each returns one fully detailed row at $3 per 1,000.",
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Min Price",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest price, in the site's currency."
          },
          "maxPrice": {
            "title": "Max Price",
            "minimum": 0,
            "type": "integer",
            "description": "Highest price, in the site's currency."
          },
          "radius": {
            "title": "Radius",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Search radius around a ZIP code or coordinates, in miles (km on Canadian sites). Ignored for site names. Craigslist's default is 30."
          },
          "sortBy": {
            "title": "Sort By",
            "enum": [
              "",
              "newest",
              "oldest",
              "price_low",
              "price_high",
              "distance",
              "relevance"
            ],
            "type": "string",
            "description": "Order of the results. `relevance` needs a keyword; `distance` needs a ZIP code or coordinates as the location.",
            "default": ""
          },
          "hasImage": {
            "title": "Only With Photos",
            "type": "boolean",
            "description": "Only listings that have photos.",
            "default": false
          },
          "postedToday": {
            "title": "Posted Today",
            "type": "boolean",
            "description": "Only listings posted today.",
            "default": false
          },
          "titleOnly": {
            "title": "Search Titles Only",
            "type": "boolean",
            "description": "Match keywords against listing titles only, not descriptions.",
            "default": false
          },
          "hideDuplicates": {
            "title": "Hide Duplicates",
            "type": "boolean",
            "description": "Collapse near-identical listings into one.",
            "default": false
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}