List accounts Run in API Explorer

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://docs.lumetrade.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Lumetrade API MCP server": {
    "url": "https://docs.lumetrade.com/mcp"
  }
}

Close
GET /api/v1/accounts

Returns accounts belonging to the authenticated API key owner for currencies enabled in the owner's effective jurisdiction.

Responses

  • 200 application/json

    Accounts returned successfully

    Hide response attributes Show response attributes object
    • id string

      Account id used by external account endpoints.

    • currency string

      Account currency.

    • balance number

      Available account balance.

    • lockedBalance number

      Locked account balance.

GET /api/v1/accounts
curl \
 --request GET 'https://api.lumetrade.com/api/v1/accounts' \
 --header "X-API-KEY: $API_KEY" \
 --header "X-API-SECRET: $API_KEY"
Response examples (200)
[
  {
    "id": "acc_8F4J2N",
    "currency": "ZAR",
    "balance": 2500,
    "lockedBalance": 0
  }
]