GET
/
api
/
indices
/
{index_id}
Get index by ID
curl --request GET \
  --url https://api.data.adj.news/api/indices/{index_id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "index_id": "<string>",
    "name": "<string>",
    "created_at": "<string>",
    "updated_at": "<string>",
    "constituents": [
      {
        "adj_ticker": "<string>",
        "weight": 50
      }
    ]
  }
}

Get Index by ID

Fetch a single index and its constituents.

Path Parameters

  • index_id: The UUID of the index

Response

{
  "data": {
    "index_id": "22e1c8b3-9f3a-4a0a-8c3c-9c2b9b9f4a10",
    "name": "AI MegaCap Index",
    "created_at": "2025-01-20T12:00:00Z",
    "updated_at": "2025-01-20T12:00:00Z",
    "constituents": [
      { "adj_ticker": "PM-TRUMP-2024", "weight": 40 },
      { "adj_ticker": "KLSHI-CPI-2025", "weight": 30 },
      { "adj_ticker": "MANI-AI-2025", "weight": 30 }
    ]
  }
}

Examples

curl "https://api.data.adj.news/api/indices/22e1c8b3-9f3a-4a0a-8c3c-9c2b9b9f4a10"

Authorizations

Authorization
string
header
required

Enter your API key as the bearer token

Path Parameters

index_id
string
required

Unique identifier for the index

Response

200
application/json

Index details

The response is of type object.