Huuray Balance API

The Balance API from Huuray — 1 operation(s) for balance.

Operations 1

GET /v4/Balance Used to get available balances

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/huuray-balance-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

huuray-balance-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Huuray Balance API
  description: Huuray API for B2B customers (last updated april 2025)
  contact:
    name: Support
    email: tech@huuray.com
  version: v4
servers:
- url: https://api.huuray.com
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: Balance
paths:
  /v4/Balance:
    get:
      tags:
      - Balance
      summary: Used to get available balances
      description: The amount of available balances on the B2B account in minor units with currency
      parameters:
      - name: X-API-NONCE
        in: header
        description: A random value that can only be used once every 60 days. (max 50 characters)<br /><small>(this prevents your message from being re-transmitted, and thereby also replay attacks)</small>
        required: true
      - name: X-API-HASH
        in: header
        description: 'The SHA512 hash of a concatenated string containing the following: ( API-SECRET + NONCE ).<br /><small>(this is used to authenticate you)</small>'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BalanceResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response'
      security:
      - ApiToken: []
components:
  schemas:
    Response:
      type: object
      properties:
        Status:
          type: integer
          description: HttpStatus code for the response
          format: int32
        Message:
          type:
          - string
          - 'null'
          description: Deprecated, use StatusMessage instead. Error message describing an error that occurred during the processing of the request
          deprecated: true
        StatusMessage:
          type:
          - string
          - 'null'
          description: Status message describing an error that occurred during the processing of the request
      additionalProperties: false
      description: The minimal possible response for any request
    BalanceItem:
      title: Balance Item
      type: object
      properties:
        Currency:
          type:
          - string
          - 'null'
          description: The currency as ISO alpha-3 code
        Balance:
          type: integer
          description: The available balance in minor units
          format: int64
        Master:
          type: boolean
          description: An option that shows whether the currency is a master currency
      additionalProperties: false
      description: An object containing information about available balance for currency
    BalanceResponse:
      title: Balance Response
      type: object
      properties:
        Balances:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/BalanceItem'
          description: The list of balances
        Status:
          type: integer
          description: HttpStatus code for the response
          format: int32
        Message:
          type:
          - string
          - 'null'
          description: Deprecated, use StatusMessage instead. Error message describing an error that occurred during the processing of the request
          deprecated: true
        StatusMessage:
          type:
          - string
          - 'null'
          description: Status message describing an error that occurred during the processing of the request
      additionalProperties: false
      description: The response containing available balances with currency
  securitySchemes:
    ApiToken:
      type: apiKey
      description: The API-Token provided to you by Huuray.
      name: X-API-TOKEN
      in: header