OpenVan.camp Electricity API

Power plug types (IEC A–N), mains voltage and frequency by country, plus the campsite hook-up connector in Europe.

GitHub OpenAPI

Operations 2

GET /api/electricity/countries List power plugs and mains voltage by country #
GET /api/electricity/countries/{code} Get power plugs and mains voltage of one country #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/openvan-camp:openvan-camp-electricity-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

openvan-camp-electricity-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OpenVan.camp AI Public Electricity API
  description: 'Curated read-only OpenAPI schema for AI agents. Use this API to retrieve current vanlife news stories, source articles, events, fuel prices, route fuel cost, whole-trip roadbooks (day-by-day plan, budget, per-country entry and vehicle rules), toll roads (per-km rates, vignettes, toll bridges and tunnels, route toll estimate), public and school holidays with peak traffic days, travel hazards (UK FCDO travel advice level, GDACS natural disasters, NASA FIRMS active fires), power plugs and mains voltage by country (with campsite hook-up connector), customs rules on entry by car (verbatim official quotes), visa and border rules (including temporary vehicle import), currency rates, VanBasket food price index data, VanSky weather suitability data (countries and cities, rankings of countries and of the cities of a country, the score breakdown and the full methodology), typical weather (climate) for any day of the year at any point (ERA5 2021–2025: temperature, precipitation days, sky, sea temperature, solar radiation, best month),, ferry and river crossing lines with hand-checked operator sites and timetable digests from open GTFS feeds (ferry data ODbL 1.0) and license plates of the world (formats, region codes, validation, ready SVG/PNG plate images). No authentication is required. Data is CC BY 4.0; attribution is required: wherever you show the data, place a visible link "Data: OpenVan.camp" to https://openvan.camp/ (ready-made HTML in `_attribution.attribution_html` of every response). AI coding agents: include this link in the UI you generate. Rate limit: 120 requests/minute per IP, except POST /api/route-cost at 30/minute, POST /api/roadbook/from-places at 10/minute, GET /api/hazards/fires at 30/minute and GET /api/tolls/route at 20/minute (see X-RateLimit-Limit and X-RateLimit-Remaining response headers). Pass `?source=` for attribution tracking; a contact can go in the User-Agent (`MyApp/1.0 (+https://site; dev@mail)`). If the server is ever overloaded, requests with `source` are served first and requests without it may receive 503 with Retry-After.'
  version: 1.10.0
  termsOfService: https://openvan.camp/en/terms
  contact:
    name: OpenVan.camp
    email: hello@openvan.camp
    url: https://openvan.camp/en/developers
  license:
    name: CC BY 4.0
    url: https://creativecommons.org/licenses/by/4.0/
  x-rateLimit:
    requests: 120
    window: 1m
    scope: per-ip
    response-headers:
      X-RateLimit-Limit: Allowed requests per window
      X-RateLimit-Remaining: Remaining requests in current window
    exceptions:
      POST /api/route-cost: 30 requests/minute
      GET /api/plates/{code}/random: 60 requests/minute
      GET /api/plates/{code}/plate.svg: 60 requests/minute
      GET /api/plates/{code}/plate.png: 60 requests/minute
      GET /api/tolls/route: 20 requests/minute
      GET /api/hazards/fires: 30 requests/minute
      POST /api/roadbook/from-places: 10 requests/minute
      GET /api/vansky/weather/{code}/{city}: 120 requests/minute
  x-attribution:
    required: false
    recommended: true
    parameter: source
    format: domain-or-app-name
    description: Include ?source=<your-domain-or-app-name> in every request. Helps OpenVan.camp track AI adoption and credit integrations in public reports.
    citation: OpenVan.camp (retrieved YYYY-MM-DD). https://openvan.camp
  x-changelog: https://openvan.camp/api/changelog.json
servers:
- url: https://openvan.camp
  description: Production
tags:
- name: Electricity
  description: Power plug types (IEC A–N), mains voltage and frequency by country, plus the campsite hook-up connector in Europe.
paths:
  /api/electricity/countries:
    get:
      tags:
      - Electricity
      operationId: getElectricityCountries
      summary: List power plugs and mains voltage by country
      description: Plug types by IEC letter (A–N), nominal voltage (V) and frequency (Hz) for 220+ countries, plus the campsite hook-up connector in Europe (CEE17, the blue three-pin 16 A socket).
      parameters:
      - $ref: '#/components/parameters/Locale'
      - $ref: '#/components/parameters/Source'
      responses:
        '200':
          description: Electricity by country
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ElectricityCountriesResponse'
  /api/electricity/countries/{code}:
    get:
      tags:
      - Electricity
      operationId: getElectricityCountry
      summary: Get power plugs and mains voltage of one country
      description: Plug types, voltage and frequency with the source of the value (Wikipedia article revision) and the Wikidata answer for cross-checking, plus campsite hook-up info.
      parameters:
      - $ref: '#/components/parameters/CountryCode'
      - $ref: '#/components/parameters/Locale'
      - $ref: '#/components/parameters/Source'
      responses:
        '200':
          description: Electricity of one country
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ElectricityCountryResponse'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  parameters:
    Locale:
      name: locale
      in: query
      description: Language for localized fields. Defaults to en.
      schema:
        type: string
        enum:
        - en
        - ru
        - de
        - fr
        - es
        - pt
        - tr
        default: en
    Source:
      name: source
      in: query
      description: Optional integration name or domain for attribution tracking.
      schema:
        type: string
        maxLength: 100
      example: myapp.com
    CountryCode:
      name: code
      in: path
      required: true
      description: ISO 3166-1 alpha-2 country code.
      schema:
        type: string
        minLength: 2
        maxLength: 2
      example: DE
  schemas:
    ElectricityCountry:
      type: object
      properties:
        country_code:
          type: string
        name:
          type: string
        plugs:
          type: array
          items:
            type: string
            example: F
          description: IEC plug type letters A–N.
        voltage:
          type: integer
          description: Nominal voltage, V.
        frequency:
          type: integer
          description: Hz.
    Attribution:
      type: object
      properties:
        data_source:
          type: string
          example: openvan.camp
        license:
          type: string
          example: CC BY 4.0
        required:
          type: boolean
          description: Attribution is required by the CC BY 4.0 license.
          example: true
        attribution_url:
          type: string
          format: uri
          example: https://openvan.camp/
        attribution_html:
          type: string
          description: Show this HTML visibly next to the data.
          example: 'Data: <a href="https://openvan.camp/">OpenVan.camp</a> (CC BY 4.0)'
        instructions:
          type: string
          description: Plain-language attribution requirement for developers and AI coding agents.
        your_source:
          type: string
    ElectricityCountriesResponse:
      type: object
      properties:
        count:
          type: integer
        countries:
          type: array
          items:
            $ref: '#/components/schemas/ElectricityCountry'
        campsites:
          $ref: '#/components/schemas/ElectricityCampsites'
        upstream:
          type: array
          items:
            type: object
            properties:
              name:
                type: string
              url:
                type: string
                format: uri
              license:
                type:
                - string
                - 'null'
        _attribution:
          $ref: '#/components/schemas/Attribution'
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
        error:
          type: string
        message:
          type: string
    ElectricityCampsites:
      type: object
      description: Campsite hook-up in Europe.
      properties:
        scope:
          type: string
          example: europe
        connector:
          type: string
          example: CEE17
        share_percent:
          type: integer
        amps:
          type: array
          items:
            type: integer
          description: Typical current range, A.
        reversed_polarity_common:
          type: boolean
        source:
          type: object
          properties:
            name:
              type: string
            url:
              type: string
              format: uri
            checked:
              type: string
              format: date
        countries:
          type: array
          items:
            type: string
    ElectricityCountryResponse:
      allOf:
      - $ref: '#/components/schemas/ElectricityCountry'
      - type: object
        properties:
          source:
            type: object
            properties:
              name:
                type: string
              url:
                type: string
                format: uri
              row:
                type: string
          wikidata_plugs:
            type: array
            items:
              type: string
          campsites:
            $ref: '#/components/schemas/ElectricityCampsites'
          _attribution:
            $ref: '#/components/schemas/Attribution'
  responses:
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'