Skip to main content
GET
/
api
/
v1
/
market-data
/
instrument-types
Fetch available instrument types (asset classes) such as stocks, ETFs, commodities, etc.
curl --request GET \
  --url https://public-api.etoro.com/api/v1/market-data/instrument-types \
  --header 'x-api-key: <x-api-key>' \
  --header 'x-request-id: <x-request-id>' \
  --header 'x-user-key: <x-user-key>'
{
  "instrumentTypes": [
    {
      "instrumentTypeId": 123,
      "instrumentTypeDescription": "<string>"
    }
  ]
}

Headers

x-request-id
string<uuid>
required

A unique request identifier.

Example:

"4787035a-f324-4b70-9ea4-6f77c9137522"

x-api-key
string<password>
required

API key for authentication.

Example:

"lhgfaslk21490FAScVPkdsb53F9dNkfHG4faZSG5vfjndfcfgdssdgsdHF4663"

x-user-key
string<password>
required

User-specific authentication key.

Example:

"eyJlYW4iOiJVbnJlZ2lzdGVyZWRBcHBsaWNhdGlvbiIsImVrIjoiOE5sZ2cwcW5EUVdROUFNWGpXT2lmOWktZnpidG5KcUlqWGJ3WHJZZkpZcldrbG90ZEhvLVBjSWhQaU8xU1ZtMW84aU1WZGZqN2xWNzFjLXFxLmcybXE1dnh4Q1hUT25xaWRUaTFlcEhmVk1fIn0_"

Query Parameters

instrumentTypeIds
integer<int32>[]

A comma seperated list of instrument type ids to retrieve

Response

200 - application/json

Success

instrumentTypes
object[]