GET
/
chart
/
{symbol}
Get chart data
curl --request GET \
  --url https://api.financialcontext.com/chart/{symbol} \
  --header 'X-API-Key: <api-key>'
{
  "success": true,
  "data": "<any>",
  "message": "<string>",
  "timestamp": "2023-11-07T05:31:56Z",
  "meta": {
    "pagination": {
      "currentPage": 1,
      "pageSize": 20,
      "totalItems": 150,
      "totalPages": 8,
      "hasMore": true,
      "hasPrevious": false
    }
  }
}

Authorizations

X-API-Key
string
header
required

Path Parameters

symbol
string
required

Stock symbol (e.g., AAPL, NASDAQ:AAPL)

Required string length: 1 - 20
Example:

"AAPL"

Query Parameters

interval
string

Chart interval (1m, 5m, 15m, 30m, 1h, 1d, etc.)

range
string

Chart range (1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max)

indicators
string

Comma-separated list of technical indicators

includePrePost
string

Include pre and post market data

Response

Chart data retrieved successfully

success
boolean
required

Indicates successful API response

data
any
required

Response data payload

timestamp
string<date-time>
required

ISO 8601 timestamp of the response

message
string

Optional success message

meta
object

Optional metadata including pagination, statistics, and additional context