evcc (self-hosted) Tariffs API

The tariffs API from evcc (self-hosted) — 1 operation(s) for tariffs.

Operations 1

GET /tariff/{type} Tariff information #

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/evcc:evcc-tariffs-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

evcc-tariffs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: evcc Tariffs API
  description: smart charging. open source energy management.
  version: 0.2.0
  contact:
    url: https://github.com/evcc-io/evcc
servers:
- url: https://demo.evcc.io/api
tags:
- name: tariffs
paths:
  /tariff/{type}:
    get:
      operationId: getTariffInfo
      summary: Tariff information
      description: Returns the prices or emission values for the upcoming hours
      externalDocs:
        url: https://docs.evcc.io/en/tariffs
      tags:
      - tariffs
      parameters:
      - name: type
        in: path
        description: Tariff type
        required: true
        schema:
          type: string
          enum:
          - grid
          - feedin
          - co2
          - planner
          - solar
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  rates:
                    $ref: '#/components/schemas/Rates'
        '404':
          description: Tariff not defined
components:
  schemas:
    Rates:
      type: array
      items:
        $ref: '#/components/schemas/Rate'
    Rate:
      description: A time slot with an associated price or emission value.
      type: object
      properties:
        start:
          description: Start of the time slot.
          type: string
          format: date-time
        end:
          description: End of the time slot.
          type: string
          format: date-time
        value:
          description: Price per kWh in the configured currency or emissions in g/kWh.
          type: number
      required:
      - start
      - end
      - value
  securitySchemes:
    cookieAuth:
      type: apiKey
      in: cookie
      name: auth
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Long-lived API key (prefixed `evcc_`, managed via /auth/apikey).

        Grants access to /api/db/* without requiring the X-Admin-Password header.

        '