{
  "openapi": "3.0.1",
  "info": {
    "title": "Chileautos Scraper — Chile Used & New Car Listings",
    "description": "Scrape car listings from Chileautos.cl, Chile's largest car marketplace: make, model, trim, year, price (CLP), km, fuel, gearbox, body, region, dealer, photos, badges. Filter by make, model, year, price, km, region, seller. Full specs add-on. From US$3 per 1,000 vehicles.",
    "version": "0.1",
    "x-build-id": "Xz0bmcgo6odbN1BQ4"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fabrikit~chileautos-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fabrikit-chileautos-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/fabrikit~chileautos-scraper/runs": {
      "post": {
        "operationId": "runs-sync-fabrikit-chileautos-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/fabrikit~chileautos-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-fabrikit-chileautos-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": "Direct URLs (optional)",
            "type": "array",
            "description": "Paste chileautos.cl URLs instead of using the filters below: search result pages (e.g. `https://www.chileautos.cl/vehiculos/toyota/corolla/` or a filtered URL with `?q=...`) and/or individual listing pages (`https://www.chileautos.cl/vehiculos/detalles/.../CP-AD-8562919/`). When this list is not empty, the filter fields are ignored. Listing URLs always include full details.",
            "items": {
              "type": "string"
            }
          },
          "make": {
            "title": "Make",
            "type": "string",
            "description": "Brand as written on chileautos.cl, e.g. `Toyota`, `Mercedes-Benz`, `Land Rover`, `Chery`. Case-insensitive. Leave empty for all makes."
          },
          "model": {
            "title": "Model",
            "type": "string",
            "description": "Model name, e.g. `Corolla`, `Hilux`, `RAV4`. Best used together with Make."
          },
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "Free-text keyword matched against the listing (e.g. `4x4`, `hybrid`, `GT`)."
          },
          "vehicleType": {
            "title": "Vehicle type",
            "enum": [
              "any",
              "cars",
              "motorcycles",
              "trucks",
              "buses",
              "machinery",
              "boats",
              "motorhomes"
            ],
            "type": "string",
            "description": "Chileautos also lists motorcycles, trucks, buses, machinery, boats and motorhomes. `Cars, pickups & SUVs` covers ~90% of the site.",
            "default": "any"
          },
          "condition": {
            "title": "Condition",
            "enum": [
              "any",
              "used",
              "new"
            ],
            "type": "string",
            "description": "Used or new vehicles.",
            "default": "any"
          },
          "sellerType": {
            "title": "Seller type",
            "enum": [
              "any",
              "dealer",
              "private"
            ],
            "type": "string",
            "description": "`dealer` = automotoras (car dealers), `private` = private sellers.",
            "default": "any"
          },
          "region": {
            "title": "Region",
            "enum": [
              "any",
              "arica",
              "tarapaca",
              "antofagasta",
              "atacama",
              "coquimbo",
              "valparaiso",
              "metropolitana",
              "ohiggins",
              "maule",
              "nuble",
              "biobio",
              "araucania",
              "los_rios",
              "los_lagos",
              "aysen",
              "magallanes"
            ],
            "type": "string",
            "description": "Chilean region where the vehicle is located.",
            "default": "any"
          },
          "city": {
            "title": "City",
            "type": "string",
            "description": "City inside the selected Region, as the site names it (e.g. `Temuco`, `Concepcion`, `Viña del Mar`, `Santiago`). Requires a Region."
          },
          "bodyType": {
            "title": "Body type",
            "enum": [
              "any",
              "suv",
              "sedan",
              "hatchback",
              "pickup",
              "station_wagon",
              "coupe",
              "convertible",
              "citycar",
              "van",
              "furgon",
              "off_road",
              "cabina_simple",
              "cabina_extendida"
            ],
            "type": "string",
            "description": "Body style (carrocería).",
            "default": "any"
          },
          "fuel": {
            "title": "Fuel",
            "enum": [
              "any",
              "gasoline",
              "diesel",
              "hybrid",
              "electric",
              "gas"
            ],
            "type": "string",
            "description": "Fuel type.",
            "default": "any"
          },
          "transmission": {
            "title": "Transmission",
            "enum": [
              "any",
              "automatic",
              "manual"
            ],
            "type": "string",
            "description": "Gearbox type.",
            "default": "any"
          },
          "yearMin": {
            "title": "Year from",
            "minimum": 0,
            "maximum": 2100,
            "type": "integer",
            "description": "Oldest model year. 0 = no limit.",
            "default": 0
          },
          "yearMax": {
            "title": "Year to",
            "minimum": 0,
            "maximum": 2100,
            "type": "integer",
            "description": "Newest model year. 0 = no limit.",
            "default": 0
          },
          "priceMin": {
            "title": "Price from (CLP)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum price in Chilean pesos, e.g. `5000000`. 0 = no limit.",
            "default": 0
          },
          "priceMax": {
            "title": "Price to (CLP)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum price in Chilean pesos, e.g. `15000000`. 0 = no limit.",
            "default": 0
          },
          "kmMin": {
            "title": "Mileage from (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum odometer reading. 0 = no limit.",
            "default": 0
          },
          "kmMax": {
            "title": "Mileage to (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum odometer reading, e.g. `100000`. 0 = no limit.",
            "default": 0
          },
          "sort": {
            "title": "Sort order",
            "enum": [
              "newest",
              "relevance",
              "price_asc",
              "price_desc",
              "km_asc",
              "km_desc",
              "year_desc",
              "year_asc"
            ],
            "type": "string",
            "description": "`newest` = most recently published/updated first (best for monitoring). `relevance` is the site's default \"Destacado\" order, which puts paid promoted listings first.",
            "default": "newest"
          },
          "maxItems": {
            "title": "Max vehicles",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after this many vehicles. The site pages through at most 900 results per search; above that the Actor automatically splits the search into price bands, so you can export tens of thousands of listings in one run.",
            "default": 50
          },
          "fetchDetails": {
            "title": "Fetch full details (add-on)",
            "type": "boolean",
            "description": "Open each listing's page (1 extra request per vehicle) to add: exterior/interior color, comuna (city), doors, seats, exact engine size (cc), drivetrain, publication date, seller's description, the full spec sheet (60+ fields: power, torque, dimensions, airbags...), equipment list and the dealer's financing simulation. Charged as a separate \"vehicle details\" event.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. By default the Actor connects directly and, if Chileautos' anti-bot answers with a challenge, rotates sessions and switches automatically to Apify RESIDENTIAL proxies in Chile. You don't need to change this.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}