Skip to main content
POST
/
v1
/
trading-accounts
Create a broker credential
curl --request POST \
  --url https://api.anthid.com/v1/trading-accounts \
  --header 'Content-Type: application/json' \
  --data '
{
  "Lightspeed": {
    "account_id": "LS-123456",
    "api_key": "lightspeed-api-key",
    "environment": "paper"
  }
}
'
{
  "broker_credential_id": "550e8400-e29b-41d4-a716-446655440111",
  "trading_account_id": "550e8400-e29b-41d4-a716-446655440000"
}

Documentation Index

Fetch the complete documentation index at: https://docs.anthid.com/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json

Broker-specific credential payload. Lightspeed credentials are currently supported.

Lightspeed
object
required

Response

Credential created

broker_credential_id
string<uuid>
required
trading_account_id
string<uuid>
required