SMA Solar Technology Oauth2 API

The Oauth2 API from SMA Solar Technology — 2 operation(s) for oauth2.

Operations 2

GET /oauth2/auth Request permission to access a sma users resources #
POST /oauth2/token POST /oauth2/token #

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/sma-solar-oauth2-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

sma-solar-oauth2-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SMA Solar Technology Oauth2 API
  version: '2026-09-22'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-09-22: 2 operation(s) read from 1 public documentation page(s) (each operation names its page in x-source). This is not the provider''s published contract; SMA Solar Technology has published no machine-readable contract that the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 1
    documentation: 1
    pages-with-code: 1
    pages-read: 1
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-09-22'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://developer.sma.de/fileadmin/content/www.developer.sma.de/docs/JavaScript_Example.js
servers:
- url: https://auth.smaapis.de
tags:
- name: OAuth2
paths:
  /oauth2/auth:
    get:
      operationId: get_oauth2_auth
      tags:
      - OAuth2
      summary: Request permission to access a sma users resources
      x-source: https://developer.sma.de/fileadmin/content/www.developer.sma.de/docs/JavaScript_Example.js
      parameters:
      - name: client_id
        in: query
        required: true
        schema:
          type: string
      - name: response_type
        in: query
        required: true
        schema:
          type: string
        description: code
      - name: redirect_uri
        in: query
        required: true
        schema:
          type: string
      - name: state
        in: query
        required: true
        schema:
          type: string
        description: cas
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /oauth2/token:
    post:
      operationId: post_oauth2_token
      tags:
      - OAuth2
      summary: POST /oauth2/token
      x-source: https://developer.sma.de/fileadmin/content/www.developer.sma.de/docs/JavaScript_Example.js
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: javascript
        snippet: "fetch('https://auth.smaapis.de/oauth2/token',\n            {\n                method: 'POST',\n                headers: {\n                    'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'\n                },\n                body: formBody\n            })"