Merit Systems Balances API

The Balances API from Merit Systems — 4 operation(s) for balances.

Operations 4

GET /users/{login}/balance Get user balance by GitHub login #
GET /user/{user_id}/balance Get user balance by user ID #
GET /repos/{owner}/{repo}/balance Get repository balance by owner/repo name #
GET /repositories/{repo_id}/balance Get repository balance by repository ID #

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/merit-systems-balances-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

merit-systems-balances-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Merit Systems Balances API
  description: REST API for Merit Systems' open-source financial rails — query GitHub user and repository USDC balances and outgoing payments funded through the Merit Terminal. Faithfully generated by the API Evangelist enrichment pipeline from the provider-published API reference (sdk/api.md).
  version: v1
  contact:
    name: Merit Systems
    url: https://merit.systems
servers:
- url: https://api.merit.systems/v1
security:
- apiKey: []
tags:
- name: Balances
paths:
  /users/{login}/balance:
    get:
      operationId: getUserBalanceByLogin
      summary: Get user balance by GitHub login
      tags:
      - Balances
      parameters:
      - name: login
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: User balance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserBalance'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /user/{user_id}/balance:
    get:
      operationId: getUserBalanceByGithubId
      summary: Get user balance by user ID
      tags:
      - Balances
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: User balance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserBalance'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /repos/{owner}/{repo}/balance:
    get:
      operationId: getRepoBalanceByName
      summary: Get repository balance by owner/repo name
      tags:
      - Balances
      parameters:
      - name: owner
        in: path
        required: true
        schema:
          type: string
      - name: repo
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Repository balance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RepoBalance'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /repositories/{repo_id}/balance:
    get:
      operationId: getRepoBalanceByRepoId
      summary: Get repository balance by repository ID
      tags:
      - Balances
      parameters:
      - name: repo_id
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: Repository balance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RepoBalance'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    RepoBalance:
      type: object
      properties:
        repo_id:
          type: integer
        owner:
          type: string
        repo:
          type: string
        balance:
          $ref: '#/components/schemas/Amount'
      required:
      - repo_id
      - owner
      - repo
      - balance
    UserBalance:
      type: object
      properties:
        user_id:
          type: integer
        login:
          type: string
        balance:
          $ref: '#/components/schemas/Amount'
      required:
      - user_id
      - login
      - balance
    Error:
      type: object
      description: Standard error envelope returned on non-2xx responses.
      properties:
        status:
          type: integer
        message:
          type: string
        request_id:
          type: string
      required:
      - status
      - message
    Amount:
      type: object
      properties:
        raw:
          type: string
        formatted:
          type: string
      required:
      - raw
      - formatted
  responses:
    Unauthorized:
      description: Invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
x-apievangelist:
  generated: '2026-07-20'
  method: generated
  source: https://github.com/merit-systems/sdk/blob/master/api.md