Skip to main content
GET
/
prices
Get historical price data
curl --request GET \
  --url https://api.aisa.one/apis/v1/financial/prices \
  --header 'Authorization: Bearer <token>'
{
  "prices": [
    {
      "open": 123,
      "close": 123,
      "high": 123,
      "low": 123,
      "volume": 123,
      "time": "<string>",
      "time_milliseconds": 123
    }
  ],
  "next_page_url": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

ticker
string
required

The ticker symbol.

interval
enum<string>
required

The time interval for the price data.

Available options:
second,
minute,
day,
week,
month,
year
interval_multiplier
integer
required

The multiplier for the interval.

Required range: x >= 1
start_date
string<date>
required

The start date for the price data (format: YYYY-MM-DD).

end_date
string<date>
required

The end date for the price data (format: YYYY-MM-DD).

limit
integer
default:5000

The maximum number of price records to return (default: 5000, max: 5000).

Required range: 1 <= x <= 5000

Response

Price data response

prices
object[]
next_page_url
string

The URL to the next page of results.