⚙️API Integrations (V5)

Learn more about OpenTrade's REST API and common integration paths.

Overview

The REST API enables users to query information on vaults, transactions, and accounts.

Versioning

The Version 5 API can be used to query vaults and accounts from both Version 4 and Version 5.

Data Schemas

There are multiple different data schemas that will be returned depending on the endpoint, vault type, and version you are querying. Each schema is documented in detail on Swaggerarrow-up-right.

circle-check
Version / Vault Type
Schema Name

All

  • PoolEvent

  • CompanyProfileCTO

  • CompanyProfileActionCTO

V4 / Fixed Term

  • VaultAccountCTO

  • VaultConfigurationCTO

  • LoanOverviewCTO

  • WithdrawalActivityCTO

V4 / Flexible Term

  • VaultFlexOverviewCTO

  • VaultFlexAccountCTO

  • VaultFlexConfigurationCTO

  • WithdrawalActivityCTO

V5 / Dynamic

  • VaultDynamicOverviewCTO

  • VaultDynamicAccountCTO

  • VaultDynamicConfigurationCTO

  • DynamicWithdrawalActivityCTO

API Status & Monitoring

OpenTrade monitors the APIs' statuses continuously and provides a status page which customers can access at anytime to check for and track issues, incidents, planned upgrades, and downtime.

You can access the status page herearrow-up-right.

Authentication

The API requires an API keys to authenticate, both in sandbox and in production.

circle-info

To request an API key, please inquire with your account manager.

Swagger

For the REST API, we provide a Swagger collectionarrow-up-right that enables you to review and test the API.

REST URLs (V5)

Each environment has a unique URL.

Environment
Networks
URL

Production

Ethereum, Avalanche

https://api.open-trade.io

Sandbox

Sepolia, Fuji

https://api.opentradesandbox.io

Common Use Cases

listReturn a list of vaultschevron-rightvaultQuery a specific vaultchevron-rightfile-invoice-dollarQuery a specific accountchevron-rightmagnifying-glass-dollarQuery withdrawal activitychevron-rightcalendar-checkGet events for a vaultchevron-rightcalendar-exclamationGet events for an accountchevron-rightclock-rotate-leftGet historical data for a vaultchevron-rightfile-userGet historical data for an accountchevron-right

Last updated