{
  "openapi": "3.0.1",
  "info": {
    "title": "RentalCars Scraper - Car Hire Locations, Ratings, Prices",
    "description": "Extract rentalcars.com car hire data: about 16,900 place pages with airport codes and coordinates, supplier ratings with 7 sub-scores and opening hours, and a pick-up date price calendar in 89 currencies. Plain requests, no proxy, no login. Export to CSV, Excel, JSON or XML.",
    "version": "0.1",
    "x-build-id": "3Cnn3SKLxo4y4fTw7"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/recordsdata~rentalcars-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-recordsdata-rentalcars-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/recordsdata~rentalcars-scraper/runs": {
      "post": {
        "operationId": "runs-sync-recordsdata-rentalcars-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/recordsdata~rentalcars-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-recordsdata-rentalcars-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": {
          "mode": {
            "title": "What to collect",
            "enum": [
              "locations",
              "supplierRatings",
              "priceCalendar"
            ],
            "type": "string",
            "description": "locations = the directory of pick-up places: airports, cities, districts, regions and countries. supplierRatings = customer ratings of car hire suppliers worldwide or per country, city or airport. priceCalendar = the cheapest pick-up days of a date window for an airport, with the estimated total price.",
            "default": "locations"
          },
          "maxItems": {
            "title": "Maximum items",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Stops after this many rows. Free plans are limited to 10 rows per run.",
            "default": 50
          },
          "language": {
            "title": "Language",
            "enum": [
              "en",
              "es",
              "de",
              "fr",
              "it",
              "pt",
              "nl",
              "pl",
              "sv",
              "ja"
            ],
            "type": "string",
            "description": "Language of place names, supplier page texts and links. Prices and scores do not depend on it.",
            "default": "en"
          },
          "searchTerms": {
            "title": "Place names",
            "type": "array",
            "description": "Place names to look up, for example Barcelona or Heathrow. Each name returns up to 10 places: airports, cities, districts, regions and landmarks. In the price calendar the airports among the results are priced. Leave empty to list places by country, place type or airport code instead.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "iataCodes": {
            "title": "Airport codes",
            "type": "array",
            "description": "Three-letter airport codes, for example BCN or JFK. Not case sensitive. Locations: lists those airports. Supplier ratings: only the pages of those airports. Price calendar: the airports to price. A code the site does not list gives a clear error with suggestions.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Countries by name or two-letter code, for example Spain, ES or España (English, Spanish, German, French, Italian, Portuguese and Dutch names work). Keeps only places and supplier pages of these countries. A country the site does not list gives a clear error with suggestions.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "placeTypes": {
            "title": "Place types",
            "type": "array",
            "description": "Keeps only these kinds of place or supplier page. Empty = all. Locations lists airport, city, district, region and country pages; landmarks and hotels come only from place names. Supplier ratings also has the worldwide brand pages. The price calendar always prices airports.",
            "items": {
              "type": "string",
              "enum": [
                "airport",
                "city",
                "district",
                "region",
                "country",
                "landmark",
                "brand"
              ],
              "enumTitles": [
                "Airports",
                "Cities",
                "Districts",
                "Regions",
                "Countries",
                "Landmarks and hotels (place search only)",
                "Supplier brands, worldwide (ratings only)"
              ]
            },
            "default": []
          },
          "includeDetails": {
            "title": "Read each place page",
            "type": "boolean",
            "description": "Locations by country, type or airport code only. On = reads each place page for the exact name, region, coordinates, vehicle classes and example vehicles (about one request per place). Off = a fast listing from the site map, where names are built from the page address, so they can lack accents, and there are no coordinates.",
            "default": true
          },
          "suppliers": {
            "title": "Suppliers",
            "type": "array",
            "description": "Car hire brands, for example Hertz, Avis, Sixt or Europcar. Not case sensitive. Leave empty for every supplier. A brand the site does not list gives a clear error with suggestions.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "onlyRated": {
            "title": "Only pages with a rating",
            "type": "boolean",
            "description": "On = skips supplier pages that have no customer rating yet (about half of them), for free. Off = also delivers those pages as rows without scores.",
            "default": true
          },
          "minRating": {
            "title": "Minimum overall score",
            "minimum": 0,
            "maximum": 10,
            "type": "number",
            "description": "Keeps only pages whose overall score is at least this value, from 0 to 10. 0 = no filter.",
            "default": 0
          },
          "minRatingCount": {
            "title": "Minimum number of ratings",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Keeps only pages rated by at least this many customers. 0 = no filter.",
            "default": 0
          },
          "includeBreakdown": {
            "title": "Include the seven sub-scores",
            "type": "boolean",
            "description": "Adds value for money, counter staff, pick-up speed, drop-off speed, cleanliness, vehicle condition and desk location to each rating row.",
            "default": true
          },
          "pickupFrom": {
            "title": "First pick-up day",
            "type": "string",
            "description": "First pick-up day of the window, written YYYY-MM-DD. Empty = 7 days from today. It cannot be in the past or more than about 264 days ahead, which is as far as the site publishes estimates."
          },
          "pickupTo": {
            "title": "Last pick-up day",
            "type": "string",
            "description": "Last pick-up day of the window, written YYYY-MM-DD. Empty = 30 days after the first day. A window can span at most 366 days; the part beyond the published horizon is cut off with a warning."
          },
          "rentalDays": {
            "title": "Rental length (days)",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Number of rental days the estimate covers, from 1 to 30. The drop-off date is the pick-up date plus this many days.",
            "default": 5
          },
          "currency": {
            "title": "Currency",
            "enum": [
              "USD",
              "EUR",
              "GBP",
              "AUD",
              "CAD",
              "NZD",
              "CHF",
              "JPY",
              "CNY",
              "HKD",
              "SGD",
              "INR",
              "AED",
              "SAR",
              "QAR",
              "KWD",
              "BHD",
              "OMR",
              "ILS",
              "TRY",
              "ZAR",
              "EGP",
              "MAD",
              "TND",
              "NGN",
              "KES",
              "GHS",
              "BRL",
              "ARS",
              "CLP",
              "COP",
              "PEN",
              "MXN",
              "UYU",
              "PYG",
              "BOB",
              "CRC",
              "DOP",
              "GTQ",
              "HNL",
              "NIO",
              "PAB",
              "SEK",
              "NOK",
              "DKK",
              "ISK",
              "PLN",
              "CZK",
              "HUF",
              "RON",
              "BGN",
              "HRK",
              "RSD",
              "UAH",
              "RUB",
              "KZT",
              "GEL",
              "AMD",
              "AZN",
              "THB",
              "MYR",
              "IDR",
              "PHP",
              "VND",
              "KRW",
              "TWD",
              "LKR",
              "PKR",
              "BDT",
              "NPR",
              "JOD",
              "LBP",
              "MUR",
              "SCR",
              "XOF",
              "XAF",
              "TZS",
              "UGX",
              "ETB",
              "MZN",
              "BWP",
              "NAD",
              "ZMW",
              "CUP",
              "JMD",
              "TTD",
              "BBD",
              "BSD",
              "FJD"
            ],
            "type": "string",
            "description": "Currency of the estimated prices. The site answers for these 89 currency codes; the price rows carry the code used.",
            "default": "USD"
          },
          "priceDetail": {
            "title": "Price detail",
            "enum": [
              "cheapest",
              "daily"
            ],
            "type": "string",
            "description": "cheapest = the 5 cheapest pick-up days of the window per airport, ranked, in one request. daily = one estimate for every day of the window (one request per day, up to 93 days).",
            "default": "cheapest"
          },
          "maxPricePerDay": {
            "title": "Maximum price per day",
            "minimum": 0,
            "maximum": 1000000,
            "type": "number",
            "description": "Skips estimates whose price per rental day is above this amount, in the currency chosen above. 0 = no filter.",
            "default": 0
          },
          "onlyNew": {
            "title": "Only new or changed records",
            "type": "boolean",
            "description": "On = skips records an earlier run of the same search already delivered, and does not charge for them. A rating row comes back when its overall score changes, a price row when its estimate changes. The memory lives in a key-value store of your account.",
            "default": false
          },
          "stateKey": {
            "title": "Monitor name",
            "type": "string",
            "description": "Optional label that separates the memory of two monitors with the same filters.",
            "default": ""
          },
          "resetSeen": {
            "title": "Forget what was seen",
            "type": "boolean",
            "description": "On = clears the memory of this search before the run, so everything counts as new again.",
            "default": false
          },
          "maxScanSeconds": {
            "title": "Longest scan (seconds)",
            "minimum": 10,
            "maximum": 3600,
            "type": "integer",
            "description": "Stops reading pages after this many seconds and keeps what was found. A strict filter (for example a minimum rating of 9.9 across every supplier page) can mean thousands of pages; this keeps the run short and cheap. Raise it to scan further.",
            "default": 300
          },
          "maxConcurrency": {
            "title": "Parallel requests",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Pages read at the same time, from 1 to 5. The actor still spaces request starts at least 300 ms apart, and follows the site robots.txt.",
            "default": 3
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Not needed. Turn on Apify Proxy only if the log shows blocked requests. Only datacenter proxy is used; proxy groups are ignored.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}