FinanceQuery
 1.4.4 
OAS 3.1

/openapi.json

FinanceQuery is a simple API to query financial data. It provides endpoints to get quotes, historical prices, indices, market movers, similar stocks, finance news, indicators, search, and sectors. Please use FinanceQueryDemoAWSHT as the demo API key which is limited to 2000 requests/day. You are free to deploy your own instance of FinanceQuery to AWS and use your own API key. If you are testing locally you can use the local server and will not need a key.

Servers

Quotes

Get relevant stock information for multiple stocks.

Parameters

NameDescription
symbols *
string
(query)

Comma-separated list of stock symbols

Servers

These operation-level options override the global server options.

Responses

Curl

curl -X 'GET' \
  'https://finance-query.onrender.com/v1/quotes?symbols=a' \
  -H 'accept: application/json'

Request URL

https://finance-query.onrender.com/v1/quotes?symbols=a

Server response

CodeDetails
Undocumented

Failed to fetch.
Possible Reasons:

  • CORS
  • Network Failure
  • URL scheme must be "http" or "https" for CORS request.

Responses

CodeDescription
200

Successful Response

Media type
Controls Accept header.
[
  {
    "symbol": "AAPL",
    "name": "Apple Inc.",
    "price": "145",
    "afterHoursPrice": "145.5",
    "change": "+1.00",
    "percentChange": "+0.69%",
    "open": "144",
    "high": "146",
    "low": "143",
    "yearHigh": "150",
    "yearLow": "100",
    "volume": 1000000,
    "avgVolume": 2000000,
    "marketCap": "2.5T",
    "beta": "1.23",
    "pe": "30",
    "eps": "4.5",
    "dividend": "0.82",
    "yield": "1.3%",
    "exDividend": "Feb 5, 2024",
    "netAssets": "10.5B",
    "nav": "100.00",
    "expenseRatio": "0.05%",
    "category": "Large Growth",
    "lastCapitalGain": "10.00",
    "morningstarRating": "★★",
    "morningstarRiskRating": "Low",
    "holdingsTurnover": "5.00%",
    "earningsDate": "Apr 23, 2024",
    "lastDividend": "0.82",
    "inceptionDate": "Jan 1, 2020",
    "sector": "Technology",
    "industry": "Consumer Electronics",
    "about": "Apple Inc. designs, manufactures, and markets smartphones, personal computers, tablets, wearables, and accessories worldwide.",
    "ytdReturn": "+10.00%",
    "yearReturn": "+20.00%",
    "threeYearReturn": "+30.00%",
    "fiveYearReturn": "+40.00%",
    "logo": "https://logo.clearbit.com/apple.com"
  }
]
400

Symbols parameter is required

"string"
422

Validation Error

Media type
{
  "detail": [
    {
      "loc": [
        "string",
        0
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Historical Data

Technical Indicators

Analysis

Indices

Market Movers

Similar Stocks

News

Sectors

Server Sent Events (SSE)

object
object
object
object
string
object
string
object
object
object
object
string
object
string
object
string
object