{
  "openapi": "3.0.1",
  "info": {
    "title": "Toyota Europe Inventory & Prices",
    "description": "Extract vehicle catalog, grades, variants, and prices from Toyota Europe across 30+ countries. Get list prices, discounts, promotions, engine specs, CO2 emissions, and fuel consumption for every model and trim level.",
    "version": "0.1",
    "x-build-id": "yoprQS3rK3ovRyXwQ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rastriq~toyota-europe-inventory/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rastriq-toyota-europe-inventory",
        "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/rastriq~toyota-europe-inventory/runs": {
      "post": {
        "operationId": "runs-sync-rastriq-toyota-europe-inventory",
        "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/rastriq~toyota-europe-inventory/run-sync": {
      "post": {
        "operationId": "run-sync-rastriq-toyota-europe-inventory",
        "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": {
          "countries": {
            "title": "🌍 Countries",
            "uniqueItems": true,
            "type": "array",
            "description": "Select one or more Toyota Europe markets. Each country returns its own catalog with <b>local pricing</b>, promotions, and grade availability.<br><br>Covers <b>30+ markets</b>: Western Europe, Nordics, Central & Eastern Europe, Mediterranean, Turkey, and Eurasia.<br><br>🇧🇪 Belgium and 🇨🇭 Switzerland have separate entries per language (e.g. <code>Belgium (NL)</code> vs <code>Belgium (FR)</code>).<br><br>💡 <b>Tip:</b> Leave empty or select <b>Spain</b> for a quick test. Add more countries to compare cross-market pricing.",
            "items": {
              "type": "string",
              "enum": [
                "es",
                "fr",
                "de",
                "gb",
                "it",
                "nl",
                "pt",
                "ie",
                "at",
                "be_nl",
                "be_fr",
                "lu",
                "ch_de",
                "ch_fr",
                "ch_it",
                "dk",
                "fi",
                "se",
                "no",
                "is",
                "pl",
                "cz",
                "sk",
                "hu",
                "ro",
                "bg",
                "hr",
                "si",
                "ee",
                "lv",
                "lt",
                "rs",
                "gr",
                "cy",
                "tr",
                "ua",
                "ge",
                "az",
                "il",
                "md",
                "am",
                "kz"
              ],
              "enumTitles": [
                "🇪🇸 Spain (EUR)",
                "🇫🇷 France (EUR)",
                "🇩🇪 Germany (EUR)",
                "🇬🇧 United Kingdom (GBP)",
                "🇮🇹 Italy (EUR)",
                "🇳🇱 Netherlands (EUR)",
                "🇵🇹 Portugal (EUR)",
                "🇮🇪 Ireland (EUR)",
                "🇦🇹 Austria (EUR)",
                "🇧🇪 Belgium (NL) (EUR)",
                "🇧🇪 Belgium (FR) (EUR)",
                "🇱🇺 Luxembourg (EUR)",
                "🇨🇭 Switzerland (DE) (CHF)",
                "🇨🇭 Switzerland (FR) (CHF)",
                "🇨🇭 Switzerland (IT) (CHF)",
                "🇩🇰 Denmark (DKK)",
                "🇫🇮 Finland (EUR)",
                "🇸🇪 Sweden (SEK)",
                "🇳🇴 Norway (NOK)",
                "🇮🇸 Iceland (ISK)",
                "🇵🇱 Poland (PLN)",
                "🇨🇿 Czech Republic (CZK)",
                "🇸🇰 Slovakia (EUR)",
                "🇭🇺 Hungary (HUF)",
                "🇷🇴 Romania (RON)",
                "🇧🇬 Bulgaria (BGN)",
                "🇭🇷 Croatia (EUR)",
                "🇸🇮 Slovenia (EUR)",
                "🇪🇪 Estonia (EUR)",
                "🇱🇻 Latvia (EUR)",
                "🇱🇹 Lithuania (EUR)",
                "🇷🇸 Serbia (RSD)",
                "🇬🇷 Greece (EUR)",
                "🇨🇾 Cyprus (EUR)",
                "🇹🇷 Turkey (TRY)",
                "🇺🇦 Ukraine (UAH)",
                "🇬🇪 Georgia (GEL)",
                "🇦🇿 Azerbaijan (AZN)",
                "🇮🇱 Israel (ILS)",
                "🇲🇩 Moldova (MDL)",
                "🇦🇲 Armenia (AMD)",
                "🇰🇿 Kazakhstan (KZT)"
              ]
            },
            "default": [
              "es"
            ]
          },
          "modelFilter": {
            "title": "🚗 Models",
            "uniqueItems": true,
            "type": "array",
            "description": "Filter by specific Toyota models. Leave empty to get <b>all available models</b> in each selected country.<br><br>Each model returns all its <b>grades</b> (trims), <b>engine variants</b>, and <b>pricing breakdowns</b> (list price, discount, net, tax).<br><br>💡 <b>Tip:</b> Not all models are available in every country. The actor automatically skips unavailable models without errors.",
            "items": {
              "type": "string",
              "enum": [
                "ya",
                "yb",
                "ax",
                "c-hr",
                "cb",
                "corolla-hb",
                "corolla",
                "corolla-ts",
                "cx",
                "ra",
                "de",
                "landcruiser150",
                "hilux",
                "su",
                "gy",
                "mirai",
                "proace",
                "proaceverso",
                "pd",
                "pf",
                "pm_ps"
              ],
              "enumTitles": [
                "Yaris",
                "Yaris Cross",
                "Aygo X Cross",
                "C-HR",
                "C-HR+",
                "Corolla 5p",
                "Corolla Sedan",
                "Corolla Touring Sports",
                "Corolla Cross",
                "RAV4",
                "bZ4X",
                "Land Cruiser 250",
                "Hilux",
                "GR Supra",
                "GR Yaris",
                "Mirai",
                "Proace",
                "Proace Verso",
                "Proace City",
                "Proace City Verso",
                "Proace Max"
              ]
            },
            "default": []
          },
          "includeSpecs": {
            "title": "📊 Include specs and equipment",
            "type": "boolean",
            "description": "Fetch detailed specifications for each model. Adds three extra fields per variant:<br>• Number of engine options available<br>• Number of exterior colors available<br>• Number of grades available<br><br>⚠️ Enabling this <b>increases run time</b> (one extra data fetch per model). Only enable if you need spec data.",
            "default": false
          },
          "requestDelay": {
            "title": "⏱️ Request delay",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Milliseconds to wait between data requests. The default value works well for most runs.<br><br>Recommended values:<br>• <b>300–500 ms</b> — normal operation<br>• <b>1000–2000 ms</b> — if experiencing slowdowns<br>• <b>0 ms</b> — fastest (use with caution)",
            "default": 500
          },
          "proxyConfiguration": {
            "title": "🔒 Proxy configuration",
            "type": "object",
            "description": "Optional. Toyota Europe data works <b>without proxies</b> from most locations. Only enable if you're running from a restricted network."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}