Skip to main content
GET
/
api
/
v1
/
index
/
{index}
/
price
Get index price
curl --request GET \
  --url https://api.international.coinbase.com/api/v1/index/{index}/price \
  --header 'CB-ACCESS-KEY: <api-key>' \
  --header 'CB-ACCESS-PASSPHRASE: <api-key>' \
  --header 'CB-ACCESS-SIGN: <api-key>' \
  --header 'CB-ACCESS-TIMESTAMP: <api-key>'
{
  "product_id": "COIN50",
  "status": "STATE_OK",
  "timestamp": "2024-11-11T20:42:33Z",
  "price": "388.91871799439963",
  "price_24hr_change": "8.940862872710408"
}
  • TS/JS
const indexService = new IndexService(client);

indexService.getIndexPrice({
    index: 'COIN50',
}).then(async (response) => {
    console.log('Index Price: ', response);
})
For more information, please visit the INTX TS SDK.

Authorizations

CB-ACCESS-KEY
string
header
required
CB-ACCESS-PASSPHRASE
string
header
required
CB-ACCESS-SIGN
string
header
required
CB-ACCESS-TIMESTAMP
string
header
required

Path Parameters

index
string
required

Response

product_id
string
Example:
status
string
Example:
timestamp
string
Example:
price
string
Example:
price_24hr_change
string
Example: