SPAN Storage API

The Storage API from SPAN — 2 operation(s) for storage.

Operations 4

GET /api/v1/storage/soe Get Storage Soe #
POST /api/v1/storage/soe Set Storage Soe #
GET /api/v1/storage/nice-to-have-thresh Get Storage Nice To Have Threshold #
POST /api/v1/storage/nice-to-have-thresh Set Storage Nice To Have Threshold #

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/span-io-storage-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

span-io-storage-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Span Auth Storage API
  description: Span Panel REST API
  version: v1
tags:
- name: Storage
paths:
  /api/v1/storage/soe:
    get:
      summary: Get Storage Soe
      operationId: get_storage_soe_api_v1_storage_soe_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatteryStorage'
      security:
      - HTTPBearer: []
      tags:
      - Storage
    post:
      summary: Set Storage Soe
      operationId: set_storage_soe_api_v1_storage_soe_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BatteryStorage'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatteryStorage'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      tags:
      - Storage
  /api/v1/storage/nice-to-have-thresh:
    get:
      summary: Get Storage Nice To Have Threshold
      operationId: get_storage_nice_to_have_threshold_api_v1_storage_nice_to_have_thresh_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NiceToHaveThreshold'
      security:
      - HTTPBearer: []
      tags:
      - Storage
    post:
      summary: Set Storage Nice To Have Threshold
      operationId: set_storage_nice_to_have_threshold_api_v1_storage_nice_to_have_thresh_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NiceToHaveThreshold'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NiceToHaveThreshold'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      tags:
      - Storage
components:
  schemas:
    ValidationError:
      title: ValidationError
      required:
      - loc
      - msg
      - type
      type: object
      properties:
        loc:
          title: Location
          type: array
          items:
            type: string
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
    BatteryStorage:
      title: BatteryStorage
      required:
      - soe
      type: object
      properties:
        soe:
          $ref: '#/components/schemas/StateOfEnergy'
    StateOfEnergy:
      title: StateOfEnergy
      type: object
      properties:
        percentage:
          title: Percentage
          type: integer
    NiceToHaveThreshold:
      title: NiceToHaveThreshold
      type: object
      properties:
        nice_to_have_threshold_low_soe:
          $ref: '#/components/schemas/StateOfEnergy'
        nice_to_have_threshold_high_soe:
          $ref: '#/components/schemas/StateOfEnergy'
    HTTPValidationError:
      title: HTTPValidationError
      type: object
      properties:
        detail:
          title: Detail
          type: array
          items:
            $ref: '#/components/schemas/ValidationError'
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer