Felo API PlatformFelo API Platform

데이터 API / Financial Data / Prices

Get historical stock price data

Historical OHLCV bars for one stock. All four of ticker, interval, start_date and end_date are required — there is no trailing-window shortcut. interval is one of day, week, month or year. Each bar carries open, close, high, low, volume and time, wrapped in a prices array alongside the echoed ticker. Use it to chart or to measure a move across a known window. For just the latest price use get_financial_prices_snapshot.

파라미터

쿼리

  • tickerstring필수

    The stock ticker symbol (e.g. AAPL, MSFT).

  • intervalstring필수

    허용 값: day · week · month · year

    The time interval for the price data.

  • start_datestring필수

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

  • end_datestring필수

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

요청 예시

curl -G "https://openapi.felo.ai/v1/beta/financial/prices" \
  --data-urlencode "ticker=<string>" \
  --data-urlencode "interval=<string>" \
  --data-urlencode "start_date=<string>" \
  --data-urlencode "end_date=<string>" \
  -H "Authorization: Bearer $FELO_API_KEY"

응답

응답 필드

  • pricesobject[]선택
  • opennumber선택

    The open price of the ticker in the given time period.

  • closenumber선택

    The close price of the ticker in the given time period.

  • highnumber선택

    The high price of the ticker in the given time period.

  • lownumber선택

    The low price of the ticker in the given time period.

  • volumeinteger선택

    The volume of the ticker in the given time period.

  • timestring선택

    The human-readable time format of the price in UTC.

  • time_millisecondsnumber선택

    The timestamp of the price in milliseconds since epoch.

  • next_page_urlstring선택

    The URL to the next page of results.