Rebase Energy Usage API

The Usage API from Rebase Energy — 2 operation(s) for usage.

GitHub OpenAPI

Operations 2

GET /platform/v2/subscriptions Get Subscription List #
GET /platform/v2/subscriptions/{sub_id}/usage Subscription Usage #

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/rebase-energy:rebase-energy-usage-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

rebase-energy-usage-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fast Usage API
  version: 0.1.0
tags:
- name: Usage
paths:
  /platform/v2/subscriptions:
    get:
      tags:
      - Usage
      summary: Get Subscription List
      description: Lists all of your subscriptions
      operationId: get_subscription_list_platform_v2_subscriptions_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: is_active
        in: query
        required: false
        schema:
          type: boolean
          title: Is Active
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationResponse'
  /platform/v2/subscriptions/{sub_id}/usage:
    get:
      tags:
      - Usage
      summary: Subscription Usage
      description: Get usage of a subscription
      operationId: subscription_usage_platform_v2_subscriptions__sub_id__usage_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: sub_id
        in: path
        required: true
        schema:
          type: integer
          title: Sub Id
      - name: start_date
        in: query
        required: false
        schema:
          type: string
          format: date
          title: Start Date
      - name: end_date
        in: query
        required: false
        schema:
          type: string
          format: date
          title: End Date
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubscriptionUsage'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationResponse'
components:
  schemas:
    CreditBalanceUsage:
      properties:
        balance:
          $ref: '#/components/schemas/CreditBalanceRemaining'
        history:
          items:
            $ref: '#/components/schemas/ApiUsageItem'
          type: array
          title: History
      type: object
      required:
      - balance
      - history
      title: CreditBalanceUsage
    ValidationResponse:
      properties:
        errors:
          items:
            $ref: '#/components/schemas/ErrorItem'
          type: array
          title: Errors
      type: object
      required:
      - errors
      title: ValidationResponse
    DailyQuotaLimit:
      properties:
        limit:
          type: integer
          title: Limit
        used:
          type: integer
          title: Used
      type: object
      required:
      - limit
      - used
      title: DailyQuotaLimit
    DatasetPointOverview:
      properties:
        limit:
          anyOf:
          - type: integer
          - type: 'null'
          title: Limit
        items:
          items:
            $ref: '#/components/schemas/DatasetPoint'
          type: array
          title: Items
      type: object
      required:
      - limit
      - items
      title: DatasetPointOverview
    DatasetPoint:
      properties:
        lat:
          type: number
          title: Lat
        lon:
          type: number
          title: Lon
        model:
          type: string
          title: Model
      type: object
      required:
      - lat
      - lon
      - model
      title: DatasetPoint
    CreditBalanceRemaining:
      properties:
        remaining:
          type: integer
          title: Remaining
        items:
          items:
            $ref: '#/components/schemas/CreditBalanceItem'
          type: array
          title: Items
      type: object
      required:
      - remaining
      - items
      title: CreditBalanceRemaining
    ApiUsageItem:
      properties:
        usage_date:
          type: string
          format: date
          title: Usage Date
        credits_used:
          type: integer
          title: Credits Used
      type: object
      required:
      - usage_date
      - credits_used
      title: ApiUsageItem
    ErrorItem:
      properties:
        field:
          type: string
          title: Field
        message:
          type: string
          title: Message
      type: object
      required:
      - field
      - message
      title: ErrorItem
    DatasetServiceUsage:
      properties:
        points:
          $ref: '#/components/schemas/DatasetPointOverview'
        history:
          items:
            $ref: '#/components/schemas/ApiUsageItem'
          type: array
          title: History
      type: object
      required:
      - points
      - history
      title: DatasetServiceUsage
    OperationalUsage:
      properties:
        daily_quota:
          $ref: '#/components/schemas/DailyQuotaLimit'
        history:
          items:
            $ref: '#/components/schemas/ApiUsageItem'
          type: array
          title: History
      type: object
      required:
      - daily_quota
      - history
      title: OperationalUsage
    SubscriptionUsage:
      properties:
        type:
          type: string
          title: Type
        models:
          type: string
          title: Models
        usage:
          anyOf:
          - $ref: '#/components/schemas/CreditBalanceUsage'
          - $ref: '#/components/schemas/OperationalUsage'
          - $ref: '#/components/schemas/DatasetServiceUsage'
          title: Usage
      type: object
      required:
      - type
      - models
      - usage
      title: SubscriptionUsage
    CreditBalanceItem:
      properties:
        amount:
          type: integer
          title: Amount
        bought_timestamp_utc:
          type: string
          format: date-time
          title: Bought Timestamp Utc
        expire_timestamp_utc:
          type: string
          format: date-time
          title: Expire Timestamp Utc
      type: object
      required:
      - amount
      - bought_timestamp_utc
      - expire_timestamp_utc
      title: CreditBalanceItem
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      description: Your API key. This is required to access our API programatically. You can view your API key in the Rebase dashboard.
      in: header
      name: Authorization
x-provenance:
  method: harvested
  publisher: Rebase Energy
  source: https://docs.rebase.energy/api-reference/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)