{
  "openapi": "3.0.1",
  "info": {
    "title": "Craigslist Scraper Worldwide: All Cities Subareas & Leads $0.50",
    "description": "⚡Ultra Fast & Cheapest Craigslist Scraper worldwide across 700+ cities and boroughs in the US, Canada, UK, Australia, Europe, and Asia. Extract direct seller phones, emails, cars, housing, and multi-currency pricing from $0.50/1k.",
    "version": "1.2",
    "x-build-id": "JKcu1JQ7fQ4k0f4Q3"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/unitbytes~craigslist-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-unitbytes-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/unitbytes~craigslist-scraper/runs": {
      "post": {
        "operationId": "runs-sync-unitbytes-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/unitbytes~craigslist-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-unitbytes-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": {
          "startUrls": {
            "title": "Start URLs (Search, Category, or Listing URLs)",
            "type": "array",
            "description": "List of Craigslist search, category, borough/subarea, or direct listing URLs (e.g. https://sfbay.craigslist.org/eby/cta, https://newyork.craigslist.org/mnh/apa, https://toronto.craigslist.org/search/cta). Paste URLs directly from your browser to target any city, neighborhood, or custom filter set worldwide.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "searchUrl": {
            "title": "Search or Listing URL",
            "type": "string",
            "description": "💡 Easiest method: Browse to any search, neighborhood, or borough on Craigslist, copy the URL from your browser address bar (e.g. https://sfbay.craigslist.org/eby/cta or https://newyork.craigslist.org/mnh/apa), and paste it here. All cities, subareas, filters, and price ranges are automatically extracted."
          },
          "searchQuery": {
            "title": "Search Keyword (Optional)",
            "type": "string",
            "description": "Keyword to search for (e.g. 'toyota', 'macbook', 'apartment'). Leave blank to scrape ALL listings in the selected category or city."
          },
          "category": {
            "title": "Category",
            "enum": [
              "sss",
              "cta",
              "cto",
              "ctd",
              "apa",
              "rea",
              "roo",
              "sub",
              "jjj",
              "ggg",
              "bbb",
              "res",
              "ccc",
              "ela",
              "fua",
              "app",
              "mca",
              "bka",
              "zip"
            ],
            "type": "string",
            "description": "Craigslist category code.",
            "default": "sss"
          },
          "subdomain": {
            "title": "Metro Area / Region",
            "enum": [
              "losangeles",
              "newyork",
              "sfbay",
              "chicago",
              "houston",
              "dallas",
              "miami",
              "seattle",
              "atlanta",
              "phoenix",
              "denver",
              "boston",
              "sandiego",
              "austin",
              "lasvegas",
              "portland",
              "orlando",
              "tampa",
              "minneapolis",
              "detroit",
              "philadelphia",
              "washingtondc",
              "charlotte",
              "raleigh",
              "nashville",
              "sacramento",
              "saltlakecity",
              "columbus",
              "cleveland",
              "pittsburgh",
              "stlouis",
              "kansascity",
              "indianapolis",
              "cincinnati",
              "milwaukee",
              "sanantonio",
              "jacksonville",
              "memphis",
              "richmond",
              "baltimore",
              "honolulu",
              "anchorage",
              "albuquerque",
              "tucson",
              "fresno",
              "tulsa",
              "oklahomacity",
              "omaha",
              "louisville",
              "neworleans",
              "birmingham",
              "toronto",
              "vancouver",
              "montreal",
              "calgary",
              "ottawa",
              "edmonton",
              "london",
              "manchester",
              "edinburgh",
              "dublin",
              "sydney",
              "melbourne",
              "brisbane",
              "auckland",
              "paris",
              "berlin",
              "amsterdam",
              "rome",
              "madrid",
              "tokyo",
              "singapore",
              "hongkong",
              "dubai",
              "seoul",
              "mexicocity",
              "puertorico",
              "buenosaires"
            ],
            "type": "string",
            "description": "Select from top global metropolitan areas across US, Canada, UK, Australia, Europe, and Asia, OR simply paste any Craigslist URL above to target ANY city, town, or neighborhood worldwide.",
            "default": "losangeles"
          },
          "subarea": {
            "title": "Sub-Region / Borough (Optional)",
            "type": "string",
            "description": "Optional sub-region or borough code (e.g., 'mnh' for Manhattan, 'eby' for East Bay, 'wst' for Westside, 'tor' for City of Toronto). Leave empty to search the entire metropolitan area, or paste a URL above."
          },
          "regionPreset": {
            "title": "Regional Cluster Preset",
            "enum": [
              "none",
              "socal",
              "norcal_bayarea",
              "florida",
              "texas",
              "tri_state_ny",
              "pacific_northwest",
              "midwest_chicago"
            ],
            "type": "string",
            "description": "Target an entire regional market across multiple cities in a single run. Overrides the single Metro Area dropdown above.",
            "default": "none"
          },
          "subdomains": {
            "title": "Custom Multi-Metro List (Optional)",
            "type": "array",
            "description": "List of specific Craigslist metropolitan subdomains to scrape in a single run (e.g. ['miami', 'orlando', 'tampa'] or ['austin', 'dallas']).",
            "items": {
              "type": "string"
            }
          },
          "scrapeDetails": {
            "title": "Scrape Full Listing Details (Recommended)",
            "type": "boolean",
            "description": "Enabled by default. Extracts complete listing details including full description, contact info (phones/emails), complete vehicle specs (VIN, mileage, year, transmission), real estate attributes (beds, baths, sqft), coordinates, and high-res photo galleries ($1.50/1k). Disable for ultra-fast, low-cost Search Discovery ($0.50/1k).",
            "default": true
          },
          "minPrice": {
            "title": "Minimum Price ($)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum listing price in USD."
          },
          "maxPrice": {
            "title": "Maximum Price ($)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum listing price in USD."
          },
          "purveyor": {
            "title": "Seller Type",
            "enum": [
              "all",
              "owner",
              "dealer"
            ],
            "type": "string",
            "description": "Filter by owner or dealer.",
            "default": "all"
          },
          "hasImage": {
            "title": "Has Photos Only",
            "type": "boolean",
            "description": "Only return listings that include photos.",
            "default": false
          },
          "postedToday": {
            "title": "Posted Today Only",
            "type": "boolean",
            "description": "Only return listings published within the last 24 hours.",
            "default": false
          },
          "sort": {
            "title": "Sort Order",
            "enum": [
              "date",
              "priceasc",
              "pricedsc",
              "rel"
            ],
            "type": "string",
            "description": "Sort order for returned listings (Newest first, lowest price, highest price, or relevance).",
            "default": "date"
          },
          "postal": {
            "title": "Postal / ZIP Code (Optional)",
            "type": "string",
            "description": "Target a specific postal or ZIP code (e.g. '90210', '10001', 'M5V 2T6'). Combine with Search Radius below."
          },
          "radius": {
            "title": "Search Radius (Miles)",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Distance radius in miles around the specified Postal / ZIP Code."
          },
          "condition": {
            "title": "Item Condition",
            "enum": [
              "all",
              "10",
              "20",
              "30",
              "40",
              "50",
              "60"
            ],
            "type": "string",
            "description": "Filter listings by item condition (for vehicles, electronics, furniture, for sale).",
            "default": "all"
          },
          "maxItems": {
            "title": "Max Items",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum number of listings to extract.",
            "default": 50
          },
          "offset": {
            "title": "Result Offset (Skip Items)",
            "minimum": 0,
            "type": "integer",
            "description": "Number of initial listings to skip for pagination or bookmarking (e.g., 120, 240, 360).",
            "default": 0
          },
          "maxConcurrency": {
            "title": "Max Concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum simultaneous detail requests.",
            "default": 5
          },
          "onlyNewListings": {
            "title": "⚡ Real-Time Delta Mode (Only New Listings Since Last Run)",
            "type": "boolean",
            "description": "When enabled, checks against a persistent cache in your Apify Key-Value Store and outputs ONLY newly posted listings on subsequent scheduled runs. Perfect for Slack, Discord, Google Sheets, or Zapier automations with 0 duplicate spam ($0.00 charge for skipped duplicates).",
            "default": false
          },
          "maxHours": {
            "title": "Listing Freshness (Max Age in Hours)",
            "minimum": 1,
            "maximum": 720,
            "type": "integer",
            "description": "Only scrape listings posted within the last N hours (e.g. 2, 6, 24). Automatically skips older postings during discovery."
          },
          "enableDeduplication": {
            "title": "Enable 24-Hour Deduplication (Delta Cache)",
            "type": "boolean",
            "description": "When enabled, checks against a 24-hour cache in your Apify storage and automatically skips listings seen in the last 24 hours. Only brand-new listings are pushed to the dataset ($0.00 charge for filtered duplicates).",
            "default": false
          },
          "hideDuplicates": {
            "title": "Hide In-Run Duplicate Postings",
            "type": "boolean",
            "description": "Automatically filters out duplicate dealer reposts and spam with identical titles and prices within the run.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Managed Apify proxy configuration with automatic IP rotation.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}