Skip to main content

End of Day Stocks Adjusted

Retrieve adjusted end-of-day OHLCV (Open, High, Low, Close, Volume) data for stocks with dividend and split adjustments applied.

GET/3.0/market/eod-adj

Description​

This endpoint provides dividend-adjusted historical price data for individual stocks. The prices are adjusted for corporate actions such as dividend payments and stock splits to reflect the true price movements and enable accurate historical analysis.

Request​

Authentication​

  • Type: Bearer Token
  • Required: Yes

Parameters​

NameTypeRequiredDescriptionExample
symbolstringYesStock symbol to retrieve data forAHCL
date_fromstringNoStart date in YYYY-MM-DD format2025-03-01
date_tostringNoEnd date in YYYY-MM-DD format2025-03-21

Response​

Success Response (200)​

{
"status": "ok",
"message": "",
"count": 15,
"data": [
{
"time": 1545998400,
"open": 37822.29,
"high": 37891.19,
"low": 36918.66,
"close": 37167.02,
"volume": 132828200
},
{
"time": 1545909247,
"open": 38382.24,
"high": 38460.1,
"low": 37701.16,
"close": 37853.57,
"volume": 69739040
}
]
}

Response Fields​

FieldTypeDescription
timenumberUnix timestamp (seconds since epoch, UTC)
opennumberOpening price (dividend-adjusted)
highnumberHighest price (dividend-adjusted)
lownumberLowest price (dividend-adjusted)
closenumberClosing price (dividend-adjusted)
volumenumberTrading volume

Error Responses​

For detailed Common Error responses, see the Error Handling.

No symbol Provided (200)​

{
"status": "error",
"message": "no `symbol` provided"
}

Examples​

Get Adjusted End of Day Data​

curl -X GET "https://csapis.com/3.0/market/eod-adj?symbol=AHCL&date_from=2025-03-01&date_to=2025-03-21" \
-H "Authorization: Bearer YOUR_API_TOKEN"

Use Cases​

  • Accurate Backtesting: Test strategies with adjustment-corrected prices
  • Fair Comparison: Compare performance across different time periods
  • Dividend Analysis: Track dividend impact on price movements
  • Historical Charting: Create accurate long-term price charts