Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

EOD Historical Data Indices API

S&P/Dow Jones indices data and components

EOD Historical Data Indices API is one of 20 APIs that EOD Historical Data publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Indices. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and pricing.

This API exposes 2 operations across 2 paths, and defines 9 schemas. It is described by OpenAPI 3.1.0, at version 2.0.0.

Requests are made against 2 base URLs: https://eodhd.com/api, https://eodhistoricaldata.com/api.

2 operations 2 paths 9 schemas 2 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2.0.0
Base URL
https://eodhd.com/api
Authentication
API Key
Terms of Service
Resource Areas
1

Authentication & Security 1

EOD Historical Data Indices API declares 1 security scheme for authenticating requests. An API key is passed in the query as api_token (EODHDQueryKey). By default, every request must be authenticated.

  • EODHDQueryKey — EODHD API key (stored as a secret in ChatGPT).

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 GET. Each is listed below with its method, path, parameters, and response codes.

Indices 2

S&P/Dow Jones indices data and components

GET
/mp/unicornbay/spglobal/comp/{symbol}
Index components (current + historical)
getIndexComponents 3 params → 200401403404429
GET
/mp/unicornbay/spglobal/list
List of indices with details
listIndicesWithDetails 2 params → 200401403429

Schemas 9

The contract defines 9 schemas that model the data the API accepts and returns. The most detailed are IndexListItem (16 properties), IndexGeneral (11 properties), IndexComponentItem (6 properties), HistoricalComponentItem (6 properties). Each schema is shown below with its type and property counts.

IndexListItem
object
16 properties 5 required
IndexGeneral
object
11 properties 4 required
IndexComponentsMap
object
HistoricalComponentItem
object
6 properties 5 required
IndexComponentsResponse
object
3 properties 3 required
Error
object
3 properties
HistoricalComponentsMap
object
IndexComponentItem
object
6 properties 3 required
IndexListResponse
array

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

eod-historical-indices-api-openapi.yml Raw ↑

Other APIs EOD Historical Data publishes across the network.

EOD Historical Data Calendar API
EOD Historical Data CBOE API
EOD Historical Data Corporate Actions API
EOD Historical Data Dividends & Splits API
EOD Historical Data Economic Data API
EOD Historical Data End-of-Day Data API
EOD Historical Data ESG API
EOD Historical Data Exchanges API
EOD Historical Data Fundamentals API
EOD Historical Data Intraday Data API
EOD Historical Data Investment Analytics API
EOD Historical Data Logos API