Bitpont Compositions API
The Compositions API from Bitpont — 2 operation(s) for compositions.
The Compositions API from Bitpont — 2 operation(s) for compositions.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/bitpont-com:bitpont-com-compositions-api"
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.
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: 3.2.0
info:
title: Bitpont Com Compositions API
version: 1.34.0
description: 'Operations tagged Compositions 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: Compositions
paths:
/compositions:
get:
responses:
'200':
description: Capability or integration contract
'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
description: Available without an issued API key. Use the same private workspace for ticket and receipt access.
tags:
- Compositions
summary: Get compositions
x-summary-source: derived
operationId: getCompositions
x-operation-id-source: derived
servers:
- url: https://www.bitpont.com/api/v1
/compositions/prepare:
post:
operationId: prepareComposition
description: When using a partner key, its scope must include workflows:prepare. Validates one to twelve compatible actions and returns an unsigned draft and Bitpont review link. No quote, execution or signing authority. Protocol availability is checked again at execution. 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:
- steps
properties:
title:
type: string
maxLength: 160
steps:
type: array
minItems: 1
maxItems: 12
items:
type: object
additionalProperties: false
required:
- domain
- product
- action
- asset
- symbol
- decimals
- amount
properties:
domain:
type: object
additionalProperties: false
required:
- family
- network
- chainId
- wallet
properties:
family:
enum:
- evm
- solana
network:
enum:
- solana
- ethereum
- base
- arbitrum
- optimism
- polygon
- bnb
- avalanche
chainId:
type:
- integer
- 'null'
wallet:
type: string
product:
enum:
- swap
- bridge
- aave
- morpho
- morpho-blue
- pendle
- jupiter
- perps
- boros
- marinade
- liquidity
action:
type: string
asset:
type: string
symbol:
type: string
maxLength: 32
decimals:
type: integer
minimum: 0
maximum: 18
amount:
type:
- string
- 'null'
description: Exact positive base units for the first step. Null for subsequent steps.
destination:
type: object
additionalProperties: false
required:
- family
- network
- chainId
- wallet
properties:
family:
enum:
- evm
- solana
network:
enum:
- solana
- ethereum
- base
- arbitrum
- optimism
- polygon
- bnb
- avalanche
chainId:
type:
- integer
- 'null'
wallet:
type: string
output:
type: string
outputSymbol:
type: string
market:
type: string
token:
type: string
maxAmount:
type: string
minimumOutput:
type: string
borrowAmount:
type: string
collateralAmount:
type: string
outputDecimals:
type: integer
slippageBps:
type: integer
maxLtvBps:
type: integer
spotMarketIndex:
type: integer
subAccountId:
type: integer
tickLower:
type: integer
tickUpper:
type: integer
tokenId:
type:
- string
- integer
liquidity:
type: string
inputs:
type: array
maxItems: 2
items:
type: object
additionalProperties: false
required:
- step
- output
properties:
step:
type: integer
minimum: 0
maximum: 11
output:
type: integer
minimum: 0
maximum: 1
maxAmount:
type: string
tokens:
type: array
minItems: 2
maxItems: 2
items:
type: object
additionalProperties: false
required:
- address
- symbol
- decimals
properties:
address:
type: string
symbol:
type: string
decimals:
type: integer
minimum: 0
maximum: 18
pool:
type: object
additionalProperties: false
required:
- protocol
- fee
- spacing
- hooks
properties:
protocol:
type: string
fee:
type: integer
spacing:
type: integer
hooks:
type: string
full:
type: boolean
native:
type: boolean
responses:
'200':
description: Version 3 single-output or version 4 multi-asset draft with exact input/output domains, per-step unquoted costs, executionModel and reviewUrl. executionModel describes minimum transaction prompts, participating accounts and networks, and separately reviewed execution. It does not grant signing authority or attest private submission.
'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:
- Compositions
summary: Prepare composition
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
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