{
  "info": {
    "name": "Elektrikli Araç Şarj (SBX-SARJ)",
    "description": "Türkiye genelinde elektrikli araç şarj istasyonları: soket tipleri, güç, fiyat ve müsaitlik; il, ilçe, marka, soket tipi, fiyat aralığı ya da konuma göre arama ve mobil şarj üniteleri.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{SBX_API_KEY}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.servicebox.io",
      "type": "string"
    },
    {
      "key": "SBX_API_KEY",
      "value": "",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "List network brands",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/ev-charging/brands",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "ev-charging",
            "brands"
          ],
          "query": [],
          "variable": []
        },
        "description": "Charging-network brands as `{ id, name, registrationNo }`. Not paginated. Provisional — confirmed by the shape check at registration (docs/launch.md §8).\n\nCredits: 0"
      }
    },
    {
      "name": "List cities",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/ev-charging/cities",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "ev-charging",
            "cities"
          ],
          "query": [],
          "variable": []
        },
        "description": "All provinces with their ids and official codes. Not paginated: the whole list in one answer.\n\nCredits: 0"
      }
    },
    {
      "name": "List the districts of a city",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/ev-charging/districts?city=string",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "ev-charging",
            "districts"
          ],
          "query": [
            {
              "key": "city",
              "value": "string",
              "description": "City id or name, case- and Turkish-character-insensitive.",
              "disabled": false
            }
          ],
          "variable": []
        },
        "description": "The districts of one city, with the city in `meta.city`. Not paginated. Provisional — confirmed by the shape check at registration (docs/launch.md §8).\n\nCredits: 0"
      }
    },
    {
      "name": "List mobile charging units",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/ev-charging/mobile-units?cities=İSTANBUL",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "ev-charging",
            "mobile-units"
          ],
          "query": [
            {
              "key": "cities",
              "value": "İSTANBUL",
              "description": "Comma-separated city ids or names.",
              "disabled": false
            }
          ],
          "variable": []
        },
        "description": "Mobile charging units serving one or more cities, with the applied filter in `meta.filter`. Not paginated. Provisional — confirmed by the shape check at registration (docs/launch.md §8).\n\nCredits: 1"
      }
    },
    {
      "name": "Search charging stations",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/ev-charging/stations",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "ev-charging",
            "stations"
          ],
          "query": [
            {
              "key": "text",
              "value": "string",
              "description": "Free-text search over station name and address.",
              "disabled": true
            },
            {
              "key": "socketTypes",
              "value": "DC_CCS",
              "description": "Comma-separated socket types: `AC_TYPE2`, `DC_CCS`, `DC_CHADEMO`.",
              "disabled": true
            },
            {
              "key": "available",
              "value": "true",
              "description": "Boolean filter. Only together with another filter.",
              "disabled": true
            },
            {
              "key": "compatibleStations",
              "value": "true",
              "description": "Boolean filter. Only together with another filter.",
              "disabled": true
            },
            {
              "key": "networkOperators",
              "value": "string",
              "description": "Comma-separated network operator ids.",
              "disabled": true
            },
            {
              "key": "networkOperatorBrands",
              "value": "string",
              "description": "Comma-separated brand ids (`id` from `/v1/ev-charging/brands`).",
              "disabled": true
            },
            {
              "key": "cities",
              "value": "Ankara",
              "description": "Comma-separated city ids or names.",
              "disabled": true
            },
            {
              "key": "districts",
              "value": "string",
              "description": "Comma-separated district ids; district names require `cities`.",
              "disabled": true
            },
            {
              "key": "green",
              "value": "true",
              "description": "Boolean filter. Only together with another filter.",
              "disabled": true
            },
            {
              "key": "latitude",
              "value": "0",
              "description": "Latitude of a coordinate search (WGS84), with `longitude`.",
              "disabled": true
            },
            {
              "key": "longitude",
              "value": "0",
              "description": "Longitude of a coordinate search (WGS84), with `latitude`.",
              "disabled": true
            },
            {
              "key": "distance",
              "value": "10",
              "description": "Radius of a coordinate search, in kilometres.",
              "disabled": true
            },
            {
              "key": "startPrice",
              "value": "0",
              "description": "Lowest price in TL/kWh. Goes together with `endPrice`.",
              "disabled": true
            },
            {
              "key": "endPrice",
              "value": "0",
              "description": "Highest price in TL/kWh. Goes together with `startPrice`.",
              "disabled": true
            }
          ],
          "variable": []
        },
        "description": "Stations matching the filters, with the applied filters in `meta.filter`. Not paginated: every match comes in one answer. At least one narrowing filter is required: `text`, `socketTypes`, `networkOperators`, `networkOperatorBrands`, `cities`, `districts` (as ids; district names need `cities`), numeric `latitude` with `longitude`, or numeric `startPrice` with `endPrice`. `available`, `compatibleStations` and `green` do not narrow enough on their own: combine them with another filter. `startPrice` and `endPrice` go together. A search without a narrowing filter, or with only one of the prices, is answered `400` by ServiceBox without calling the source, and is not charged. A coordinate search uses `latitude`, `longitude` and `distance` (kilometres, default 10). Provisional — confirmed by the shape check at registration (docs/launch.md §8).\n\nCredits: 2"
      }
    },
    {
      "name": "Get the day's price range",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/ev-charging/stations/price-range",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "ev-charging",
            "stations",
            "price-range"
          ],
          "query": [
            {
              "key": "date",
              "value": "string",
              "description": "Day to price, `YYYY-MM-DD`. Defaults to today in Europe/Istanbul. Anything but a real calendar date is a `400`, answered without calling the source and not charged.",
              "disabled": true
            }
          ],
          "variable": []
        },
        "description": "The lowest and highest charging price per kWh for a date, as a bare object. `0` is free charging, a real price. Provisional — confirmed by the shape check at registration (docs/launch.md §8).\n\nCredits: 1"
      }
    },
    {
      "name": "Get a charging station",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/ev-charging/stations/:id",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "ev-charging",
            "stations",
            ":id"
          ],
          "query": [
            {
              "key": "date",
              "value": "string",
              "description": "Day to price, `YYYY-MM-DD`. Defaults to today in Europe/Istanbul. Anything but a real calendar date is a `400`, answered without calling the source and not charged.",
              "disabled": true
            }
          ],
          "variable": [
            {
              "key": "id",
              "value": "string",
              "description": "Station id (`id` from a station search)."
            }
          ]
        },
        "description": "Full station detail as a bare object: location, E.164 phone, operator, and sockets with connector type, power in kW, price per kWh, price windows and availability windows, plus payment types. An unknown id is a `404 not_found`. Provisional — confirmed by the shape check at registration (docs/launch.md §8).\n\nCredits: 1"
      }
    }
  ]
}