Felo API PlatformFelo API Platform
v0.1.0-beta
OpenAPI 3.1.0

Price Snapshot (Real-Time)

Сервер:https://openapi.felo.ai
Клиентские библиотеки

Financial Data

​

Company fundamentals, financial statements, market prices and economic data.

Financial Data Операции

Price Snapshot (Real-Time)

​

The current price of one stock in a single call: price, day_change, day_change_percent, and time (plus time_milliseconds). ticker is required. For a series of bars over a date range use get_financial_prices; for valuation multiples rather than the raw price use get_financial_financial_metrics_snapshot.

Query-параметры
  • ticker
    Тип: string
    обязательно

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

Ответы
  • 200
    Тип: object · PriceSnapshotResponse

    Price snapshot response

    • snapshot
      Тип: object · PriceSnapshot
      • day_change
        Тип: number

        The price change since the previous trading day's close.

      • day_change_percent
        Тип: number

        The percentage price change since the previous trading day's close.

      • market_cap
        Тип: number

        The market capitalization of the company.

      • price
        Тип: number

        The current price of the stock.

      • ticker
        Тип: string

        The ticker symbol.

      • time
        Тип: string

        The timestamp of the price snapshot in human-readable format in UTC.

      • time_milliseconds
        Тип: number

        The timestamp of the price snapshot in milliseconds since epoch.

    application/json
  • 400
    Тип: object · ErrorResponse

    Bad request

    • error
      Тип: string

      A short error message.

    • message
      Тип: string

      A more detailed error message.

    application/json
  • 401
    Тип: object · ErrorResponse

    Unauthorized

    • error
      Тип: string

      A short error message.

    • message
      Тип: string

      A more detailed error message.

    application/json
  • 402
    Тип: object · ErrorResponse

    The request requires a paid subscription

    • error
      Тип: string

      A short error message.

    • message
      Тип: string

      A more detailed error message.

    application/json
  • 403

    The account is not permitted to perform this operation.

  • 404
    Тип: object · ErrorResponse

    The specified resource was not found

    • error
      Тип: string

      A short error message.

    • message
      Тип: string

      A more detailed error message.

    application/json
  • 429

    A request or spending limit has been reached.

  • 502

    The service could not complete the request.

  • 503

    The API or billing service is temporarily unavailable.

  • 504

    The service timed out while processing the request.

  • default

    The operation failed. Keep the response request ID when contacting Felo support.

Request Example for get/v1/beta/financial/prices/snapshot
curl 'https://openapi.felo.ai/v1/beta/financial/prices/snapshot?ticker=' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "snapshot": {
    "price": 1,
    "ticker": "string",
    "day_change": 1,
    "day_change_percent": 1,
    "market_cap": 1,
    "time": "string",
    "time_milliseconds": 1
  }
}
Price Snapshot (Real-Time)