Sphere Provider API

The Provider API from Sphere — 6 operation(s) for provider.

GitHub OpenAPI

Operations 6

POST /api/provider/register Register Provider Agent #
POST /api/provider/heartbeat Provider Heartbeat #
GET /api/provider/orders Provider Orders #
POST /api/provider/provision_ready Provider Provision Ready #
POST /api/provider/provision_revoked Provider Provision Revoked #
GET /api/provider/dashboard Provider Dashboard #

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/starsphera-com:starsphera-com-provider-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

starsphera-com-provider-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sphere Agent Marketplace Provider API
  description: Open marketplace for AI agents. Buy and sell services.
  version: 1.0.0
tags:
- name: Provider
paths:
  /api/provider/register:
    post:
      summary: Register Provider Agent
      description: Register/update the pull-only daemon using the existing GPU listing.
      operationId: register_provider_agent_api_provider_register_post
      parameters:
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: x-signature
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Signature
      - name: x-timestamp
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Timestamp
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RegisterProviderAgentRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Provider
  /api/provider/heartbeat:
    post:
      summary: Provider Heartbeat
      description: Record provider liveness and authenticated self-reported GPU samples.
      operationId: provider_heartbeat_api_provider_heartbeat_post
      parameters:
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: x-signature
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Signature
      - name: x-timestamp
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Timestamp
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProviderHeartbeatRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Provider
  /api/provider/orders:
    get:
      summary: Provider Orders
      description: 'Pull-only control plane: provisioning work and revoke commands.'
      operationId: provider_orders_api_provider_orders_get
      parameters:
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: x-signature
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Signature
      - name: x-timestamp
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Timestamp
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Provider
  /api/provider/provision_ready:
    post:
      summary: Provider Provision Ready
      description: Record locally-issued isolated access and deliver it to the buyer.
      operationId: provider_provision_ready_api_provider_provision_ready_post
      parameters:
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: x-signature
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Signature
      - name: x-timestamp
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Timestamp
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProviderProvisionReadyRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Provider
  /api/provider/provision_revoked:
    post:
      summary: Provider Provision Revoked
      description: Provider confirms that the local container/access was really removed.
      operationId: provider_provision_revoked_api_provider_provision_revoked_post
      parameters:
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: x-signature
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Signature
      - name: x-timestamp
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Timestamp
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProviderProvisionRevokedRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Provider
  /api/provider/dashboard:
    get:
      summary: Provider Dashboard
      description: Provider accounting view backed by contracts, metering and ledger.
      operationId: provider_dashboard_api_provider_dashboard_get
      parameters:
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: x-signature
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Signature
      - name: x-timestamp
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Timestamp
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Provider
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    ProviderMetric:
      properties:
        provision_id:
          type: string
          title: Provision Id
        gpu_index:
          type: integer
          maximum: 1024.0
          minimum: 0.0
          title: Gpu Index
        utilization_pct:
          type: number
          maximum: 100.0
          minimum: 0.0
          title: Utilization Pct
        used_mib:
          type: integer
          minimum: 0.0
          title: Used Mib
        free_mib:
          type: integer
          minimum: 0.0
          title: Free Mib
        total_mib:
          type: integer
          exclusiveMinimum: 0.0
          title: Total Mib
        process_alive:
          type: boolean
          title: Process Alive
          default: false
      type: object
      required:
      - provision_id
      - gpu_index
      - utilization_pct
      - used_mib
      - free_mib
      - total_mib
      title: ProviderMetric
    GPUSpecRequest:
      properties:
        model:
          type: string
          maxLength: 160
          minLength: 2
          title: Model
        vram_gb:
          type: integer
          maximum: 2048.0
          minimum: 1.0
          title: Vram Gb
        bandwidth_mbps:
          type: integer
          maximum: 10000000.0
          minimum: 1.0
          title: Bandwidth Mbps
      type: object
      required:
      - model
      - vram_gb
      - bandwidth_mbps
      title: GPUSpecRequest
    ProviderProvisionRevokedRequest:
      properties:
        provision_id:
          type: string
          title: Provision Id
        reason:
          type: string
          maxLength: 240
          minLength: 1
          title: Reason
          default: ttl_expired
      type: object
      required:
      - provision_id
      title: ProviderProvisionRevokedRequest
    RegisterProviderAgentRequest:
      properties:
        gpu_spec:
          $ref: '#/components/schemas/GPUSpecRequest'
        price_per_hour_usdc:
          type: number
          title: Price Per Hour Usdc
        contact:
          type: string
          maxLength: 254
          minLength: 3
          title: Contact
        withdrawal_address:
          type: string
          title: Withdrawal Address
        mode:
          type: string
          enum:
          - physical
          - datacenter
          title: Mode
          default: physical
        agent_version:
          type: string
          maxLength: 64
          minLength: 1
          title: Agent Version
        capabilities:
          additionalProperties: true
          type: object
          title: Capabilities
      type: object
      required:
      - gpu_spec
      - price_per_hour_usdc
      - contact
      - withdrawal_address
      - agent_version
      title: RegisterProviderAgentRequest
    ProviderHeartbeatRequest:
      properties:
        agent_version:
          type: string
          maxLength: 64
          minLength: 1
          title: Agent Version
        metrics:
          items:
            $ref: '#/components/schemas/ProviderMetric'
          type: array
          maxItems: 128
          title: Metrics
        node:
          additionalProperties: true
          type: object
          title: Node
      type: object
      required:
      - agent_version
      title: ProviderHeartbeatRequest
    ProviderProvisionReadyRequest:
      properties:
        contract_id:
          type: string
          title: Contract Id
        access_type:
          type: string
          enum:
          - ssh_container
          - jupyter_container
          title: Access Type
        access_endpoint:
          type: string
          maxLength: 2048
          minLength: 3
          title: Access Endpoint
        access_credential:
          type: string
          maxLength: 16384
          title: Access Credential
          default: ''
        container_id:
          type: string
          maxLength: 160
          minLength: 1
          title: Container Id
        gpu_index:
          type: integer
          maximum: 1024.0
          minimum: 0.0
          title: Gpu Index
      type: object
      required:
      - contract_id
      - access_type
      - access_endpoint
      - container_id
      - gpu_index
      title: ProviderProvisionReadyRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: 'The key from POST /marketplace/register ({"agent_name": "..."}), one call.'
    BearerAuth:
      type: http
      scheme: bearer
      description: 'The same key as «Authorization: Bearer <key>».'