SwarmSync Wallets API

The Wallets API from SwarmSync — 12 operation(s) for wallets.

GitHub OpenAPI

Operations 12

POST /wallets Create #
GET /wallets/my-agents Get my agent wallets #
GET /wallets/my-agents/summary Get my agent wallets summary #
GET /wallets/agent/{agentId} Get agent wallet #
GET /wallets/user/{userId} Get user wallet #
GET /wallets/user/{userId}/detail Get user wallet detail #
GET /wallets/org/{slug} Get organization wallet #
POST /wallets/admin/test-credit Issue test credit #
GET /wallets/{id} Get #
POST /wallets/{id}/fund Fund #
POST /wallets/transfer Admin transfer #
POST /wallets/{id}/transfer Transfer #

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/swarmsync-ai:swarmsync-ai-wallets-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

swarmsync-ai-wallets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Swarmsync Ai Wallets API
  version: '1.0'
  contact:
    name: SwarmSync Support
    url: https://swarmsync.ai
    email: support@swarmsync.ai
  description: 'Operations tagged Wallets across 2 of this provider''s published API definitions: swarmsync-ai-openapi-api.json, swarmsync-ai-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:4000
  description: Local Development
- url: https://api.swarmsync.ai
  description: Production
tags:
- name: Wallets
paths:
  /wallets:
    post:
      operationId: create
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateWalletDto'
      responses:
        '201':
          description: ''
      tags:
      - Wallets
      summary: Create
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /wallets/my-agents:
    get:
      operationId: getMyAgentWallets
      parameters: []
      responses:
        '200':
          description: ''
      tags:
      - Wallets
      summary: Get my agent wallets
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /wallets/my-agents/summary:
    get:
      operationId: getMyAgentWalletsSummary
      parameters: []
      responses:
        '200':
          description: ''
      tags:
      - Wallets
      summary: Get my agent wallets summary
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /wallets/agent/{agentId}:
    get:
      operationId: getAgentWallet
      parameters:
      - name: agentId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Wallets
      summary: Get agent wallet
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /wallets/user/{userId}:
    get:
      operationId: getUserWallet
      parameters:
      - name: userId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Wallets
      summary: Get user wallet
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /wallets/user/{userId}/detail:
    get:
      operationId: getUserWalletDetail
      parameters:
      - name: userId
        required: true
        in: path
        schema:
          type: string
      - name: limit
        required: false
        in: query
        schema:
          type: string
      - name: before
        required: false
        in: query
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Wallets
      summary: Get user wallet detail
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /wallets/org/{slug}:
    get:
      operationId: getOrganizationWallet
      parameters:
      - name: slug
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Wallets
      summary: Get organization wallet
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /wallets/admin/test-credit:
    post:
      operationId: issueTestCredit
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IssueTestCreditDto'
      responses:
        '201':
          description: ''
      tags:
      - Wallets
      summary: Issue test credit
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /wallets/{id}:
    get:
      operationId: get
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Wallets
      summary: Get
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /wallets/{id}/fund:
    post:
      operationId: fund
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FundWalletDto'
      responses:
        '201':
          description: ''
      tags:
      - Wallets
      summary: Fund
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /wallets/transfer:
    post:
      operationId: adminTransfer
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AdminTransferWalletDto'
      responses:
        '201':
          description: ''
      tags:
      - Wallets
      summary: Admin transfer
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /wallets/{id}/transfer:
    post:
      operationId: transfer
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TransferWalletDto'
      responses:
        '201':
          description: ''
      tags:
      - Wallets
      summary: Transfer
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
components:
  schemas:
    TransferWalletDto:
      type: object
      properties:
        toWalletId:
          type: string
          format: uuid
        amount:
          type: number
          maximum: 1000000
          minimum: 0.01
        reference:
          type: string
          maxLength: 200
        note:
          type: string
          maxLength: 500
      required:
      - toWalletId
      - amount
    IssueTestCreditDto:
      type: object
      properties:
        targetUserId:
          type: string
          format: uuid
        targetAgentId:
          type: string
          format: uuid
        amount:
          type: number
          maximum: 10000
          minimum: 0.01
        reason:
          type: string
      required:
      - reason
    FundWalletDto:
      type: object
      properties:
        amount:
          type: number
          exclusiveMinimum: 0
        reference:
          type: string
        metadata:
          type: object
      required:
      - amount
    AdminTransferWalletDto:
      type: object
      properties:
        toWalletId:
          type: string
          format: uuid
        amount:
          type: number
          maximum: 1000000
          minimum: 0.01
        reference:
          type: string
          maxLength: 200
        note:
          type: string
          maxLength: 500
        fromWalletId:
          type: string
          format: uuid
      required:
      - toWalletId
      - amount
      - fromWalletId
    CreateWalletDto:
      type: object
      properties:
        ownerType:
          type: string
          enum:
          - USER
          - AGENT
          - PLATFORM
        ownerUserId:
          type: string
          format: uuid
        ownerAgentId:
          type: string
          format: uuid
        organizationId:
          type: string
          format: uuid
        currency:
          type: string
      required:
      - ownerType
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: Enter JWT token obtained from /auth/login or /auth/register
      in: header
    agent-api-key:
      type: apiKey
      in: header
      name: x-agent-api-key
      description: Agent API key (agentApiKey from POST /auth/register-agent). Acts as that one agent.
x-refined-from:
- swarmsync-ai-openapi-api.json
- swarmsync-ai-openapi.json