{
  "openapi": "3.0.1",
  "info": {
    "title": "EV Charging Stations Scraper - NL, DE, FR Prices & Status",
    "description": "Official AFIR open data on EU EV charging stations: charge point (EVSE) IDs, connectors, kW, live availability and ad-hoc EUR/kWh prices for the Netherlands, plus Germany's and France's national registers. Radius search, change monitoring and LLM-ready output.",
    "version": "1.0",
    "x-build-id": "fvl21LbMIzfSVFvCB"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/tiger19935~ev-charging-stations-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-tiger19935-ev-charging-stations-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/tiger19935~ev-charging-stations-scraper/runs": {
      "post": {
        "operationId": "runs-sync-tiger19935-ev-charging-stations-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/tiger19935~ev-charging-stations-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-tiger19935-ev-charging-stations-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",
        "required": [
          "countries"
        ],
        "properties": {
          "countries": {
            "title": "Countries",
            "minItems": 1,
            "type": "array",
            "description": "Official open-data source per country. NL = NDW DOT-NL (AFIR National Access Point: live status + machine-readable ad-hoc prices, ~75,000 locations). DE = Bundesnetzagentur Ladesäulenregister (static register, updated monthly). FR = Base nationale des IRVE (static, daily; prices as published free text).",
            "items": {
              "type": "string",
              "enum": [
                "NL",
                "DE",
                "FR"
              ],
              "enumTitles": [
                "Netherlands (live status + prices)",
                "Germany (static register)",
                "France (static + price text)"
              ]
            },
            "default": [
              "NL"
            ]
          },
          "latitude": {
            "title": "Latitude (radius search)",
            "minimum": -90,
            "maximum": 90,
            "type": "number",
            "description": "Centre of a radius search, e.g. 52.3676 for Amsterdam. Use together with longitude and radius. Results are then sorted by distance."
          },
          "longitude": {
            "title": "Longitude (radius search)",
            "minimum": -180,
            "maximum": 180,
            "type": "number",
            "description": "Centre of a radius search, e.g. 4.9041 for Amsterdam."
          },
          "radiusKm": {
            "title": "Radius (km)",
            "minimum": 0.1,
            "maximum": 3000,
            "type": "number",
            "description": "Search radius around latitude/longitude in kilometres."
          },
          "cities": {
            "title": "Cities",
            "type": "array",
            "description": "Keep stations in these cities (case- and accent-insensitive, prefix match: \"Amsterdam\" also matches \"Amsterdam-Zuidoost\").",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "postalCodePrefixes": {
            "title": "Postal code prefixes",
            "type": "array",
            "description": "Keep stations whose postal code starts with any of these, e.g. \"10\" or \"3581\".",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "operators": {
            "title": "Operators",
            "type": "array",
            "description": "Keep stations of these operators (substring match on operator or station name), e.g. \"Fastned\", \"Ionity\", \"Tesla\", \"EnBW\".",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "minPowerKw": {
            "title": "Minimum power (kW)",
            "minimum": 0,
            "maximum": 2000,
            "type": "integer",
            "description": "Keep stations with at least one connector of this power or more. 50 = DC fast, 150 = HPC (high power charging).",
            "default": 0
          },
          "connectorTypes": {
            "title": "Connector types",
            "type": "array",
            "description": "Keep stations offering at least one of these connectors.",
            "items": {
              "type": "string",
              "enum": [
                "CCS",
                "CCS1",
                "TYPE2",
                "CHADEMO",
                "TYPE1",
                "SCHUKO",
                "TESLA",
                "TYPE3",
                "MCS",
                "OTHER"
              ],
              "enumTitles": [
                "CCS (Combo 2)",
                "CCS1 (Combo 1)",
                "Type 2",
                "CHAdeMO",
                "Type 1",
                "Schuko / domestic",
                "Tesla",
                "Type 3",
                "MCS (megawatt)",
                "Other"
              ]
            },
            "default": []
          },
          "onlyAvailableNow": {
            "title": "Only stations with a free charge point right now",
            "type": "boolean",
            "description": "Uses live AFIR status. Applies to the Netherlands only (Germany and France publish no live status).",
            "default": false
          },
          "onlyWithPrice": {
            "title": "Only stations with a known ad-hoc price",
            "type": "boolean",
            "description": "Drop stations without a published ad-hoc (pay-as-you-go) price.",
            "default": false
          },
          "includePrices": {
            "title": "Include ad-hoc prices",
            "type": "boolean",
            "description": "Netherlands: joins the official OCPI tariffs (price per kWh incl. VAT, per minute, session fee). Turn off for a slightly faster run.",
            "default": true
          },
          "mode": {
            "title": "Mode",
            "enum": [
              "snapshot",
              "changes"
            ],
            "type": "string",
            "description": "Snapshot = all matching stations. Changes = only stations that are new, changed or removed since the previous run with the same filters (ideal for scheduled monitoring). The first run in Changes mode saves a baseline and outputs stations as \"new\" (up to Max items).",
            "default": "snapshot"
          },
          "changeTriggers": {
            "title": "What counts as a change",
            "minItems": 1,
            "type": "array",
            "description": "Changes mode only. price = ad-hoc tariff changed; static = location, connectors, power, opening hours or payment changed; availability = live status changed (very frequent in NL, enable only for occupancy tracking).",
            "items": {
              "type": "string",
              "enum": [
                "price",
                "static",
                "availability"
              ],
              "enumTitles": [
                "Price changes",
                "Static data changes",
                "Live availability changes"
              ]
            },
            "default": [
              "price",
              "static"
            ]
          },
          "stateKey": {
            "title": "Monitoring state key",
            "type": "string",
            "description": "Optional name of the saved state for Changes mode (letters, digits, \"-\"). By default the key is derived from your filters, so each saved task keeps its own history."
          },
          "outputFormat": {
            "title": "Output format",
            "enum": [
              "nested",
              "flat"
            ],
            "type": "string",
            "description": "Nested = one item per station with an evses[] array (best for apps and AI agents). Flat = one row per station without nested arrays (best for Excel/CSV/Google Sheets).",
            "default": "nested"
          },
          "includeLlmSummary": {
            "title": "Add an LLM-ready text summary",
            "type": "boolean",
            "description": "Adds llmSummary - one plain-English sentence block per station (location, power, live status, price) for AI agents and RAG. A Markdown digest of all results is also saved as RESULTS_MD in the key-value store.",
            "default": true
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Maximum number of dataset items (stations or changes) to output in this run. You pay per output item, so this also caps the cost.",
            "default": 500
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}