{
  "openapi": "3.0.1",
  "info": {
    "title": "Encar Scraper — Korean Used Car Listings, Prices & VINs",
    "description": "Scrape Encar.com, South Korea's largest used-car marketplace: make, model, trim, year, mileage, price, fuel, dealer, region and photos. Optional VIN, plate, English names, MSRP and options. Filter by make, model, price, year, mileage or Encar URL.",
    "version": "0.1",
    "x-build-id": "RqlVPvRPYoEguq1dO"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/prodiger~encar-listings-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-prodiger-encar-listings-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/prodiger~encar-listings-scraper/runs": {
      "post": {
        "operationId": "runs-sync-prodiger-encar-listings-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/prodiger~encar-listings-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-prodiger-encar-listings-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": {
          "carType": {
            "title": "Car type",
            "enum": [
              "domestic",
              "imported",
              "all"
            ],
            "type": "string",
            "description": "Which part of the inventory to scrape: Korean domestic brands, imported brands, or both.",
            "default": "domestic"
          },
          "manufacturer": {
            "title": "Manufacturer",
            "type": "string",
            "description": "Optional make, in English or Korean as shown on Encar: e.g. <code>Hyundai</code>, <code>Kia</code>, <code>Genesis</code>, <code>BMW</code>, <code>Mercedes-Benz</code>, <code>현대</code>, <code>벤츠</code>. Leave empty for all makes."
          },
          "modelGroup": {
            "title": "Model",
            "type": "string",
            "description": "Optional model (needs a manufacturer), in English or Korean: e.g. <code>Grandeur</code>, <code>Sorento</code>, <code>5-Series</code>, <code>그랜저</code>. If the name is unknown the run fails and lists the valid models."
          },
          "priceMin": {
            "title": "Minimum price (in 10,000 KRW / 만원)",
            "minimum": 0,
            "type": "integer",
            "description": "Only include cars priced at or above this value. Prices are in units of 10,000 KRW (만원). For example, 2000 means 20,000,000 KRW. Leave empty for no lower limit."
          },
          "priceMax": {
            "title": "Maximum price (in 10,000 KRW / 만원)",
            "minimum": 0,
            "type": "integer",
            "description": "Only include cars priced at or below this value. Prices are in units of 10,000 KRW (만원). For example, 5000 means 50,000,000 KRW. Leave empty for no upper limit."
          },
          "yearMin": {
            "title": "Year from",
            "minimum": 1950,
            "maximum": 2100,
            "type": "integer",
            "description": "Only include cars first registered in this year or later (e.g. 2018)."
          },
          "yearMax": {
            "title": "Year to",
            "minimum": 1950,
            "maximum": 2100,
            "type": "integer",
            "description": "Only include cars first registered in this year or earlier."
          },
          "mileageMin": {
            "title": "Minimum mileage (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Only include cars with at least this many kilometres."
          },
          "mileageMax": {
            "title": "Maximum mileage (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Only include cars with at most this many kilometres."
          },
          "searchUrls": {
            "title": "Encar search URLs",
            "type": "array",
            "description": "Optional. Paste the URL of any Encar search results page (www.encar.com or car.encar.com) to reuse every filter you set on the site: fuel, color, region, options, accident history and more. When set, Car type / Manufacturer / Model are ignored; price, year and mileage filters above are still applied on top.",
            "items": {
              "type": "string"
            }
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "ModifiedDate",
              "PriceAsc",
              "PriceDesc",
              "MileageAsc",
              "MileageDesc",
              "Year"
            ],
            "type": "string",
            "description": "Order of results. Default: recently updated first, or the sort saved in a pasted Encar search URL."
          },
          "scrapeDetails": {
            "title": "Scrape full vehicle details",
            "type": "boolean",
            "description": "Fetch the full detail record for each car (VIN, plate number, English names, MSRP, color, displacement, options with names, full photo gallery, view count, seller info, warranty). This makes one extra request per car, so runs are slower and cost more.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum number of cars",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of car listings to scrape. Use a low number for testing. Encar shows at most 10,000 cars per search; above that the scraper splits the search by price automatically, so you can collect the whole inventory.",
            "default": 50
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many requests to Encar run in parallel.",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Encar blocks datacenter IPs on its search API, so Apify RESIDENTIAL proxy is used by default (a plain Apify Proxy setting is upgraded to residential automatically). A 200-car page is ~220 KB, so proxy traffic costs a fraction of a cent per 1,000 cars.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}