Parallel Balance API

Organization balance endpoints

GitHub OpenAPI

Operations 2

GET /service/v1/balance Get Balance #
POST /service/v1/balance/add Add to Balance #

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/parallel-ai:parallel-ai-balance-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

parallel-ai-balance-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fast Balance API
  version: 0.1.0
  description: Organization balance endpoints
servers:
- url: https://api.parallel.ai/account
  description: Parallel Account API
tags:
- name: Balance
  description: Organization balance endpoints
paths:
  /service/v1/balance:
    get:
      tags:
      - Balance
      summary: Get Balance
      description: Get the authenticated organization's prepaid credit balance
      operationId: get_balance_service_v1_balance_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BalanceResponse'
      security:
      - BearerAuth: []
  /service/v1/balance/add:
    post:
      tags:
      - Balance
      summary: Add to Balance
      description: Charge the organization's default payment method and add the amount to the prepaid credit balance. The default payment method configured on the org's Stripe customer is always used; no payment method id is accepted from the client.
      operationId: add_balance_service_v1_balance_add_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddBalanceRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BalanceResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - BearerAuth: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AddBalanceRequest:
      properties:
        amount_cents:
          type: integer
          maximum: 10000.0
          exclusiveMinimum: 0.0
          title: Amount Cents
          description: Amount in cents to charge and add to the balance. Must be between 1 and 10000 cents ($100.00).
        idempotency_key:
          type: string
          maxLength: 128
          minLength: 8
          title: Idempotency Key
          description: Required idempotency key. Stripe dedupes the charge server-side for at least 24h when the same key is submitted again for the same org (see https://docs.stripe.com/api/idempotent_requests). Pick a high-entropy value (e.g. a UUID) so distinct agent attempts do not collide.
      type: object
      required:
      - amount_cents
      - idempotency_key
      title: AddBalanceRequest
      description: Request to charge the org's default payment method and add to balance.
    BalanceResponse:
      properties:
        org_id:
          type: string
          title: Org Id
          description: Organization ID
        credit_balance_cents:
          type: number
          title: Credit Balance Cents
          description: Total available prepaid balance in cents (credits + prepaid commits). Always 0 when will_invoice is true.
        pending_debit_balance_cents:
          type: number
          title: Pending Debit Balance Cents
          description: Balance in cents currently held for inflight tasks plus charges not yet synced to the billing provider. Always 0 when will_invoice is true.
        will_invoice:
          type: boolean
          title: Will Invoice
          description: True if this organization is billed by invoice (postpaid) rather than from a prepaid credit balance. Invoice-only orgs cannot add balance via this API.
      type: object
      required:
      - org_id
      - credit_balance_cents
      - pending_debit_balance_cents
      - will_invoice
      title: BalanceResponse
      description: Balance response for service clients.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Send `Authorization: Bearer <access_token>`. This must be an account API access token minted via a supported Parallel OAuth grant, not a standard API key. See the [account API docs](/integrations/account-api).'