API Documentation
Access real-time and historical market data with easy-to-integrate RESTful endpoints.

Products

high demand High demand

Endpoint

5 endpoint(s) for Us Stocks
Search Icon
  • Stock Last Quote
  • Stock Last Trade
  • Stock Market Aggregates API
  • Stock Market Previous Close
  • Stock Snapshot API

Stock Market Aggregates API

With the Stock Market Aggregates endpoint, you can get the OHLCV bars of the stock market.

URL Schema

https://api.finage.co.uk/agg/stock/{ symbol }/{ multiply }/{ time }/{ from }/{ to }?apikey=YOUR_API_KEY

Example Request

https://api.finage.co.uk/agg/stock/AAPL/1/day/2020-02-05/2020-02-07?apikey=YOUR_API_KEY

Example Output

{
  "symbol": "AAPL",
  "totalResults": 3,
  "results": [
{
      "o": 80.88,
      "h": 81.19,
      "l": 79.7375,
      "c": 80.3625,
      "v": 118746872,
      "t": 1580878800000
    },
{
      "o": 80.6425,
      "h": 81.305,
      "l": 80.0662,
      "c": 81.3025,
      "v": 105392140,
      "t": 1580965200000
    },
{
      "o": 80.5925,
      "h": 80.85,
      "l": 79.5,
      "c": 80.0075,
      "v": 117684048,
      "t": 1581051600000
    }
  ]
}

Input Parameters (* required field)

  • * symbolSymbol Name
  • * multiplyTime Multiplier
  • * timeSize of the time. [minute, hour, day, week, month, quarter, year]
  • * fromStart date
  • * toEnd date
  • limitLimit of the results. Default is 100, maximum allowed limit is 50000. Please set a limit if you are using the API in the production.
  • sortYou can sort the results by timestamp. asc will return ascending results oldest to newest, desc will return descending results newest to oldest. Default is asc.
  • dbt_filterDaily-based time filter. You can allow the time filters to filter daily based. Otherwise, the filter will only trim the start and end of the output. Default is false.
  • stStart time in UTC. (Eg. 17:30)
  • etEnd time in UTC. (Eg. 17:45)
  • date_formatChoose date format: 'dt' for datetime or 'ts' for timestamp. [Default: timestamp]

Output Parameters

  • symbolSymbol Name
  • totalResultsResult Count
  • oOpen Price
  • hHighest Price
  • lLowest Price
  • cClose Price
  • vVolume
  • tTimestamp
Crafted, simply, by Finage © 2025 | All rights reserved.