SiftingIO icon

SiftingIO

Consume the SiftingIO financial-data API

Historical → Get Stock Bars

AI-generated

Summary

Retrieve historical OHLCV bars for a US stock ticker over a specified time window. Choose a bar interval and either fetch a limited number of results or return all available pages.

Inputs

  • Ticker (required) — Stock ticker symbol, case-insensitive.
  • Start (required) — Start of the time window as YYYY-MM-DD or RFC3339.
  • End — End of the time window as YYYY-MM-DD or RFC3339; defaults to now.
  • Interval — Bar size: 1 minute, 5 minutes, 15 minutes, 30 minutes, or 1 hour. Defaults to 1 hour.
  • Return All — When enabled, follows cursor pages to return all results. Defaults to false.
  • Limit — Maximum results when Return All is disabled; defaults to 100 and accepts values from 1 to 2,000.

Output shape

A list of items, one per bar.

Each item comes from the response's data array. Request Options can configure batching, SSL certificate handling, proxy, and timeout.

Links

Discussion