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

Interest Rates (Real-Time)

服务器:https://openapi.felo.ai
客户端库

Financial Data

​

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

Interest Rates (Real-Time)

​

Return the latest central-bank interest-rate snapshot. The optional bank code is case-sensitive, for example FED, ECB or BOJ. Omit bank to request all supported banks. Lowercase bank codes can return HTTP 404.

查询参数
  • bank
    类型: string 枚举

    Optional uppercase central-bank code, such as FED, ECB or BOJ. Omit to request all supported banks.

    值
    • FED
    • ECB
    • BOJ
    • BOE
    • BOC
响应
  • 200
    类型: object · InterestRatesResponse

    Interest rates snapshot response

    • interest_rates
      类型: array object[] · InterestRate[]
      • bank
        类型: string

        The symbol of the central bank.

      • date
        类型: string

        The date of the interest rate in YYYY-MM-DD format.

      • name
        类型: string

        The name of the central bank.

      • rate
        类型: number

        The interest rate of the central bank.

    application/json
  • 400

    The request could not be processed. Check the request parameters.

  • 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/macro/interest-rates/snapshot
curl https://openapi.felo.ai/v1/beta/financial/macro/interest-rates/snapshot \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "interest_rates": [
    {
      "bank": "string",
      "name": "string",
      "rate": 1,
      "date": "string"
    }
  ]
}
Interest Rates (Real-Time)