Skip to content

Major market indices (view only), the person's country first, with delayed levels

GET
/v1/markets/indices
curl "https://api.staging.idealx.com/v1/markets/indices" \
-H "Authorization: Bearer $IDEALX_API_KEY"

OK

Media typeapplication/json
object
indices
required
Array<object>
object
id
required
string
name
required
string
country
required

ISO 3166-1 alpha-2 (EU for a euro-area index)

string
value
required

The latest level, decimal

string
change
required

Change since the previous close, decimal

string | null
changePct
required

Percentage change, two decimals

string | null
currency
required
string
at
required

When the level is from (delayed)

string | null
open
required

Whether its exchange is trading now

boolean

Example

{
"indices": [
{
"id": "INDEX:SPX",
"value": "6650.25"
}
]
}

Not signed in

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
requestId
required
string
details
object
key
additional properties

Example

{
"error": {
"code": "validation_failed"
}
}