# True Markets DeFi REST API for the True Markets DeFi service Version: v2026_01_14 ## Servers Local server ``` http://localhost:7072 ``` ## Security ### bearerAuth Type: http Scheme: bearer Bearer Format: JWT ## Download OpenAPI description [True Markets DeFi REST](https://docs.truemarkets.co/_spec/APIs/DeFi%20Direct/v2026_01_14.yaml) ## Assets Query available assets and their metadata across supported chains. ### Get all active assets - [GET /v1/defi/core/assets](https://docs.truemarkets.co/apis/defi-direct/v2026_01_14/assets/getassets.md) ### Get asset by chain and address - [GET /v1/defi/core/asset/{chain}/{address}](https://docs.truemarkets.co/apis/defi-direct/v2026_01_14/assets/getassetbychainandaddress.md) ## Balances Query wallet balances for the authenticated user. ### Get authenticated user balances - [GET /v1/defi/core/balances](https://docs.truemarkets.co/apis/defi-direct/v2026_01_14/balances/getbalances.md): Returns balances for all wallets associated with the authenticated user ## Trading Fetch quotes and execute trades on supported chains. ### Fetch a quote - [POST /v1/defi/core/quote](https://docs.truemarkets.co/apis/defi-direct/v2026_01_14/trading/createquote.md) ### Execute a trade - [POST /v1/defi/core/trade](https://docs.truemarkets.co/apis/defi-direct/v2026_01_14/trading/executetrade.md) ## Transfers Prepare and execute on-chain token transfers. ### Prepare a transfer - [POST /v1/defi/core/transfer/prepare](https://docs.truemarkets.co/apis/defi-direct/v2026_01_14/transfers/preparetransfer.md) ### Execute a transfer - [POST /v1/defi/core/transfer/execute](https://docs.truemarkets.co/apis/defi-direct/v2026_01_14/transfers/executetransfer.md) ## Wallets Create wallets and export private keys. ### Create a new wallet - [POST /v1/defi/core/create-wallet](https://docs.truemarkets.co/apis/defi-direct/v2026_01_14/wallets/createwallet.md) ### Prepare a wallet export payload - [POST /v1/defi/core/wallet/export/prepare](https://docs.truemarkets.co/apis/defi-direct/v2026_01_14/wallets/preparewalletexport.md) ### Execute a wallet private key export - [POST /v1/defi/core/wallet/export/execute](https://docs.truemarkets.co/apis/defi-direct/v2026_01_14/wallets/executewalletexport.md) ## Profile Retrieve authenticated user profile and wallet information. ### Get the authenticated user profile - [GET /v1/defi/core/profile/me](https://docs.truemarkets.co/apis/defi-direct/v2026_01_14/profile/getprofile.md) ## Watchlists Browse curated asset watchlists. ### Get all watchlists - [GET /v1/defi/core/watchlists](https://docs.truemarkets.co/apis/defi-direct/v2026_01_14/watchlists/getwatchlists.md): Returns all global/public watchlists. ### Get watchlist by ID - [GET /v1/defi/core/watchlists/{id}](https://docs.truemarkets.co/apis/defi-direct/v2026_01_14/watchlists/getwatchlistbyid.md): Returns a specific global/public watchlist with all its assets. ## History Unified transaction history across trades, transfers, and on-ramps. ### Get transaction history - [GET /v1/defi/core/history](https://docs.truemarkets.co/apis/defi-direct/v2026_01_14/history/gethistory.md): Returns a unified view of all user transactions including trades, transfers, and onramps ## Onramp Initiate and track fiat-to-crypto on-ramp transactions via Coinbase. ### Create an onramp transaction - [POST /v1/defi/core/onramp](https://docs.truemarkets.co/apis/defi-direct/v2026_01_14/onramp/createonramp.md): Initiates a Coinbase onramp flow for purchasing crypto with fiat ### Get onramp transaction status - [GET /v1/defi/core/onramp/transactions/{id}/status](https://docs.truemarkets.co/apis/defi-direct/v2026_01_14/onramp/getonrampstatus.md): Returns the status of a specific onramp transaction