Bitpont Transactions API

The Transactions API from Bitpont — 5 operation(s) for transactions.

GitHub OpenAPI

Operations 5

POST /transactions/treasury/prepare Prepare treasury #
POST /transactions/treasury/payments/plan Plan treasury payments #
POST /transactions/treasury/payments/prepare Prepare treasury payments #
POST /transactions/evm-swap/prepare Prepare swap #
GET /read/transactions.status Transactions status #

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/bitpont-com:bitpont-com-transactions-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

bitpont-com-transactions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Bitpont Com Transactions API
  version: 1.34.0
  description: 'Operations tagged Transactions across 2 of this provider''s published API definitions: bitpont-com-openapi.json, bitpont-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://www.bitpont.com/api/v1
security:
- bearerAuth: []
tags:
- name: Transactions
paths:
  /transactions/treasury/prepare:
    post:
      operationId: prepareTreasury
      description: When using a partner key, its scope must include transactions:prepare. Prepares a bounded unsigned Aave USDC Safe proposal; does not approve, sign or submit. Amount is human-readable USDC, not base units. Available without an issued API key. Use the same private workspace for ticket and receipt access.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
              - chainId
              - safe
              - owner
              - action
              - amount
              properties:
                chainId:
                  type: integer
                  minimum: 1
                  maximum: 8453
                  enum:
                  - 1
                  - 8453
                safe:
                  type: string
                  maxLength: 300
                  pattern: ^0x[0-9a-fA-F]{40}$
                owner:
                  type: string
                  maxLength: 300
                  pattern: ^0x[0-9a-fA-F]{40}$
                action:
                  type: string
                  maxLength: 300
                  pattern: ^[^\u0000-\u001f]{1,300}$
                  enum:
                  - lending-supply
                  - lending-withdraw
                  - lending-repay
                  - lending-repay-supply
                amount:
                  type: string
                  maxLength: 70
                  pattern: ^(0|[1-9][0-9]*)(\.[0-9]{1,6})?$
                repayAll:
                  type: boolean
      responses:
        '200':
          description: ReadResult containing the exact Safe proposal, calls, fresh state, explicit simulation coverage, costs not quoted and an opt-in Bitpont review link.
        '400':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '405':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '413':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '502':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '503':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '504':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
      security:
      - {}
      - workspace: []
      - bearerAuth: []
      x-bitpont-free-access: true
      tags:
      - Transactions
      summary: Prepare treasury
      x-summary-source: derived
    servers:
    - url: https://www.bitpont.com/api/v1
  /transactions/treasury/payments/plan:
    post:
      operationId: planTreasuryPayments
      description: When using a partner key, its scope must include transactions:prepare. Validate up to 500 recipients and return bounded batch inputs. No nonce, approvals or execution are prepared by this planning endpoint. Prepare each batch separately with fresh state. Available without an issued API key. Use the same private workspace for ticket and receipt access.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
              - chainId
              - safe
              - owner
              - asset
              - payments
              properties:
                chainId:
                  type: integer
                  minimum: 1
                  maximum: 59144
                  enum:
                  - 1
                  - 8453
                  - 42161
                  - 10
                  - 137
                  - 43114
                  - 1329
                  - 999
                  - 146
                  - 130
                  - 143
                  - 59144
                safe:
                  type: string
                  maxLength: 300
                  pattern: ^0x[0-9a-fA-F]{40}$
                owner:
                  type: string
                  maxLength: 300
                  pattern: ^0x[0-9a-fA-F]{40}$
                asset:
                  type: string
                  maxLength: 300
                  pattern: ^[^\u0000-\u001f]{1,300}$
                  enum:
                  - USDC
                  - ETH
                  - POL
                  - MON
                  - S
                  - HYPE
                  - SEI
                  - AVAX
                  - USDCx
                  - ERC20
                tokenAddress:
                  type: string
                  maxLength: 300
                  pattern: ^0x[0-9a-fA-F]{40}$
                payments:
                  type: string
                  minLength: 1
                  maxLength: 100000
                  description: One address,amount per line. 1 to 500 unique recipients, split into batches of at most 50.
              allOf:
              - if:
                  properties:
                    asset:
                      const: ERC20
                then:
                  required:
                  - tokenAddress
                else:
                  not:
                    required:
                    - tokenAddress
      responses:
        '200':
          description: ReadResult with an unsigned payment plan, exact per-batch totals and preparation requests.
        '400':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '405':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '413':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '502':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '503':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '504':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
      security:
      - {}
      - workspace: []
      - bearerAuth: []
      x-bitpont-free-access: true
      tags:
      - Transactions
      summary: Plan treasury payments
      x-summary-source: derived
    servers:
    - url: https://www.bitpont.com/api/v1
  /transactions/treasury/payments/prepare:
    post:
      operationId: prepareTreasuryPayments
      description: When using a partner key, its scope must include transactions:prepare. Constructs an unsigned Safe payment batch, verifies recipients, owners and balances. No transaction is submitted. Available without an issued API key. Use the same private workspace for ticket and receipt access.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
              - chainId
              - safe
              - owner
              - asset
              - payments
              properties:
                chainId:
                  type: integer
                  minimum: 1
                  maximum: 59144
                  enum:
                  - 1
                  - 8453
                  - 42161
                  - 10
                  - 137
                  - 43114
                  - 1329
                  - 999
                  - 146
                  - 130
                  - 143
                  - 59144
                safe:
                  type: string
                  maxLength: 300
                  pattern: ^0x[0-9a-fA-F]{40}$
                owner:
                  type: string
                  maxLength: 300
                  pattern: ^0x[0-9a-fA-F]{40}$
                asset:
                  type: string
                  maxLength: 300
                  pattern: ^[^\u0000-\u001f]{1,300}$
                  enum:
                  - USDC
                  - ETH
                  - POL
                  - MON
                  - S
                  - HYPE
                  - SEI
                  - AVAX
                  - USDCx
                  - ERC20
                tokenAddress:
                  type: string
                  maxLength: 300
                  pattern: ^0x[0-9a-fA-F]{40}$
                payments:
                  type: string
                  minLength: 1
                  maxLength: 14000
                  description: One address,amount per line; 1 to 50 distinct recipients. Human-readable positive decimals. No header, self-recipient, ENS or arbitrary calldata.
              allOf:
              - if:
                  properties:
                    asset:
                      const: ERC20
                then:
                  required:
                  - tokenAddress
                else:
                  not:
                    required:
                    - tokenAddress
      responses:
        '200':
          description: ReadResult containing exact calls, Safe hash, unsigned owner approval and opt-in reviewUrl. Full execution simulation is required after owner approvals.
        '400':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '405':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '413':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '502':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '503':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '504':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
      security:
      - {}
      - workspace: []
      - bearerAuth: []
      x-bitpont-free-access: true
      tags:
      - Transactions
      summary: Prepare treasury payments
      x-summary-source: derived
    servers:
    - url: https://www.bitpont.com/api/v1
  /transactions/evm-swap/prepare:
    post:
      operationId: prepareSwap
      description: When using a partner key, its scope must include transactions:prepare. Returns an unsigned fee-checked swap. Kyber charges the input token. DragonSwap on Sei and Elk on Cronos enforce Bitpont’s fee on the gross output. Use a wallet-bound quote before it expires. Available without an issued API key. Use the same private workspace for ticket and receipt access.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              properties:
                quoteId:
                  type: string
                  pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
                  maxLength: 36
                wallet:
                  type: string
                  pattern: ^0x[0-9a-fA-F]{40}$
                  maxLength: 42
                routeId:
                  type: string
                  enum:
                  - kyber
                  - dragonswap
                  - elk
                  maxLength: 60
              required:
              - quoteId
              - wallet
              - routeId
      responses:
        '200':
          description: Bitpont response. Provider amounts remain decimal strings. See the resource data object for provider-specific units and pagination.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReadResult'
        '400':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '405':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '409':
          description: Quote expired or no longer meets the reviewed minimum. Request a new quote.
        '413':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '502':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '503':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '504':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
      security:
      - {}
      - workspace: []
      - bearerAuth: []
      x-bitpont-free-access: true
      tags:
      - Transactions
      summary: Prepare swap
      x-summary-source: derived
    servers:
    - url: https://www.bitpont.com/api/v1
  /read/transactions.status:
    get:
      operationId: transactions_status
      tags:
      - Transactions
      description: Read the resource and inspect upstream availability and completeness. When using a partner key, its scope must include positions:read. Available without an issued API key. Use the same private workspace for ticket and receipt access.
      parameters:
      - name: network
        in: query
        required: true
        schema:
          type: string
          enum:
          - ethereum
          - base
          - arbitrum
          - optimism
          - polygon
          - bnb
          - avalanche
          - etherlink
          - megaeth
          - robinhood
          - hyperevm
          - monad
          - linea
          - sonic
          - unichain
          - berachain
          - sei
          - plasma
          - cronos
          - arc
      - name: hash
        in: query
        required: true
        schema:
          type: string
          maxLength: 300
          pattern: ^0x[0-9a-fA-F]{64}$
      responses:
        '200':
          description: Bitpont response. Provider amounts remain decimal strings. See the resource data object for provider-specific units and pagination.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReadResult'
        '400':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '405':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '413':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '502':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '503':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '504':
          description: Structured error, with requestId and retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
      security:
      - {}
      - workspace: []
      - bearerAuth: []
      x-bitpont-free-access: true
      summary: Transactions status
      x-summary-source: derived
    servers:
    - url: https://www.bitpont.com/api/v1
components:
  schemas:
    Problem:
      type: object
      required:
      - type
      - title
      - status
      - detail
      - instance
      - code
      - requestId
      - retryable
      properties:
        type:
          const: about:blank
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        instance:
          type: string
        code:
          type: string
        requestId:
          type: string
        retryable:
          type: boolean
    Error:
      type: object
      required:
      - error
      - code
      - requestId
      - retryable
      properties:
        error:
          type: string
        code:
          type: string
        requestId:
          type: string
        retryable:
          type: boolean
    ReadResult:
      type: object
      required:
      - requestId
      - resource
      - state
      - servedAt
      - data
      properties:
        requestId:
          type: string
        resource:
          type: string
        state:
          enum:
          - available
          - partial
          - stale
        servedAt:
          type: integer
        observedAt:
          type:
          - integer
          - 'null'
        freshness:
          enum:
          - observed
          - unknown
          - stale
        data:
          type: object
  securitySchemes:
    workspace:
      type: apiKey
      in: header
      name: X-Bitpont-Workspace
      description: Private client-created workspace for keyless trading and ticket recovery.
    bearerAuth:
      type: http
      scheme: bearer
x-refined-from:
- bitpont-com-openapi.json
- bitpont-com-openapi.json