Mismatch between /exchange_accounts/paged API response and documented schema

Hi,

In the API docs, GET /v1/exchange_accounts/paged is described as returning an array of objects, each containing exchangeAccount (array), paging (object), prevUrl, and nextUrl.

However, when I call this endpoint in the Sandbox with:

GET https://sandbox-api.fireblocks.io/v1/exchange_accounts/paged

(using a valid X-API-Key and signed JWT), I get an empty array [] if there are no connected accounts, and not the described object/array-of-objects structure.

Questions:

  • Is this expected for an empty state, or is it a difference between Sandbox and production?

  • Should the docs clarify the actual response shape for both empty and non-empty cases?

Hi Clandast,

Thanks for reaching out to us.

This EP /v1/exchange_accounts/paged will return a list of the connected exchange accounts in your workspace, regardless of the Prod/sandbox. If there is no connected exchange accounts then the response might return empty response.

Looks like you are already using the sandbox baseurl on your sandbox env. Endpoint Permission: Admin, Non-Signing Admin.

Mainnet/Testnet: https://api.fireblocks.io/v1
Developer Sandbox: https://sandbox-api.fireblocks.io

Could you share your email in the sandbox env, so that I will be able to check further?