{
  "openapi": "3.0.1",
  "info": {
    "title": "AutoScout24 Clean Scraper with 75 typed fields, 8 EU domains",
    "description": "75 typed fields per AutoScout24 listing across 8 EU domains (DE/FR/IT/ES/NL/AT/BE/EN). VIN, GPS, VAT, accident history, TÜV, structured equipment. Pay-per-vehicle $0.004 — failed records never charge. MCP-ready for AI agents. Idempotent UUID dedup, schema versioned.",
    "version": "1.0",
    "x-build-id": "byaXPrHFJhF1ueJOs"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/hardy_ice-owner~autoscout24-clean-scraper-py/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-hardy_ice-owner-autoscout24-clean-scraper-py",
        "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/hardy_ice-owner~autoscout24-clean-scraper-py/runs": {
      "post": {
        "operationId": "runs-sync-hardy_ice-owner-autoscout24-clean-scraper-py",
        "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/hardy_ice-owner~autoscout24-clean-scraper-py/run-sync": {
      "post": {
        "operationId": "run-sync-hardy_ice-owner-autoscout24-clean-scraper-py",
        "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": {
          "urls": {
            "title": "Search URLs (listing pages)",
            "type": "array",
            "description": "AutoScout24 search result URLs to scrape. Use AS24 native filters (make, model, price, mileage, year, location, radius) to build URLs on autoscout24.de/.com/.fr/.it/.nl/.at/.be/.es, then paste here. AS24 caps any single search at ~400 results — split by region/year/price band and pass multiple URLs for larger queries (the actor dedups by vehicleId UUID across them). Provide AT LEAST ONE of urls or detailUrlsOnly.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxRecords": {
            "title": "Max records",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Maximum vehicles to scrape. First 10 records of every run are virtually free ($0.00001 each — $0.0001 trial total). Standard pricing ($0.004/record) applies above 10. Hard cap. Smart-capped per memory tier when includeRawData=true (1024 MB Actor: 2k cap; 4096 MB: 10k cap). Without includeRawData, full range available.",
            "default": 300
          },
          "detailUrlsOnly": {
            "title": "Detail URLs (skip listing)",
            "type": "array",
            "description": "Direct AS24 vehicle detail page URLs. Bypasses listing crawl, scrapes detail pages directly. Useful for re-fetching known vehicles. Leave empty to use 'urls' (listing crawl).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "outputFormat": {
            "title": "Output format",
            "enum": [
              "json",
              "csv",
              "excel"
            ],
            "type": "string",
            "description": "Informational hint — actor always writes JSON to Apify dataset. Download in any format via Apify Console (download button) or API: GET /datasets/{id}/items?format=json|csv|xlsx. CSV/Excel flatten nested fields with dot notation (e.g. vehicle.make).",
            "default": "json"
          },
          "forcePlaywright": {
            "title": "Force Playwright (browser rendering) — PREMIUM 3× cost",
            "type": "boolean",
            "description": "⚠️ PREMIUM OPTION — billed at $0.012/vehicle (3× standard $0.004). Renders pages via headless Chrome instead of HTTP. Enable only when AS24 blocks the default HTTP scrape (rare). Slower (~4× wall-clock), requires Actor memory ≥ 2048 MB.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy used to access AutoScout24. Defaults to Apify auto-tier (datacenter, included in free plan). Upgrade to RESIDENTIAL if you hit blocks at high volume.",
            "default": {
              "useApifyProxy": true
            }
          },
          "includeRawData": {
            "title": "Unlock all ~150 raw AutoScout24 source fields per vehicle — audit, custom extract, future-proof (PREMIUM +25%)",
            "type": "boolean",
            "description": "⚠️ PREMIUM OPTION — billed at $0.005/vehicle (+25% vs standard $0.004). Bundles the complete raw AutoScout24 source payload (~150 fields per listing — every value AS24 ships, vs our 82 typed/normalized fields in the clean record). Output size 5-10× larger. WHO NEEDS THIS: (1) data engineering teams extracting fields beyond our 82 typed (e.g. niche dealer metadata, undocumented promo flags); (2) QA / audit teams verifying our normalization against source values; (3) pipelines shipping raw AS24 payloads downstream to internal warehouses; (4) buyers future-proofing against AS24 schema changes (our parserVersion drifts → raw still captures everything). Off by default — the clean 82-field record covers 95% of use cases. Toggle on per-run when you need source-level fidelity.",
            "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}