Skip to content

True Markets DeFi REST (v2026_01_14)

API for the True Markets DeFi service

Download OpenAPI description
Languages
Servers
Mock server

https://docs.truemarkets.co/_mock/apis/defi-direct/v2026_01_14/

Local server

http://localhost:7072/

Assets

Query available assets and their metadata across supported chains.

Operations

Balances

Query wallet balances for the authenticated user.

Operations

Trading

Fetch quotes and execute trades on supported chains.

Operations

Transfers

Prepare and execute on-chain token transfers.

Operations

Request

Security
bearerAuth
Bodyapplication/jsonrequired
chainstringrequired

Blockchain chain (e.g., solana, base)

assetstringrequired

Asset contract address

tostringrequired

Recipient address

qtystringrequired

Transfer quantity

qty_unitstringrequired

Unit of quantity (base for token amount, quote for USD)

Enum"base""quote"
curl -i -X POST \
  https://docs.truemarkets.co/_mock/apis/defi-direct/v2026_01_14/v1/defi/core/transfer/prepare \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "chain": "string",
    "asset": "string",
    "to": "string",
    "qty": "string",
    "qty_unit": "base"
  }'

Responses

The transfer prepare response

Bodyapplication/json
transfer_idstring(uuid)
payloadsArray of objects(UnsignedPayload)
Response
application/json
{ "transfer_id": "d4a2d8dd-7def-4545-a062-761683b9aa05", "payloads": [ { … } ] }

Request

Security
bearerAuth
Bodyapplication/jsonrequired
transfer_idstring(uuid)required
signaturesArray of stringsrequired
auth_typestringrequired

The authentication type used for signing

Enum"web_authn""api_key"
curl -i -X POST \
  https://docs.truemarkets.co/_mock/apis/defi-direct/v2026_01_14/v1/defi/core/transfer/execute \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "transfer_id": "d4a2d8dd-7def-4545-a062-761683b9aa05",
    "signatures": [
      "string"
    ],
    "auth_type": "web_authn"
  }'

Responses

The transfer execute response

Bodyapplication/json
tx_hashstring
chainstring
assetstring
fromstring
tostring
sentstring
feestring
receivedstring
Response
application/json
{ "tx_hash": "string", "chain": "string", "asset": "string", "from": "string", "to": "string", "sent": "string", "fee": "string", "received": "string" }

Wallets

Create wallets and export private keys.

Operations

Profile

Retrieve authenticated user profile and wallet information.

Operations

Watchlists

Browse curated asset watchlists.

Operations

History

Unified transaction history across trades, transfers, and on-ramps.

Operations

Onramp

Initiate and track fiat-to-crypto on-ramp transactions via Coinbase.

Operations