Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: Alpha Vantage Query API
description: This is an API specification for the Alpha Vantage API, which provides various financial data.
version: 1.0.0
servers:
- url: https://www.alphavantage.co/query
tags:
- name: Query
paths:
/query:
get:
summary: Fetches financial data
description: Invokes the 'query' function of the Alpha Vantage API to fetch specific financial data. It's essential to provide both the 'function' and 'symbol' parameters. The 'function' parameter specifies the type of financial data (e.g., 'OVERVIEW', 'INCOME_STATEMENT', 'BALANCE_SHEET', or 'CASH_FLOW'), and the 'symbol' parameter indicates the equity of interest. The model must include both parameters in the request to ensure accurate data retrieval.
parameters:
- name: function
in: query
required: true
description: The function to be performed by the API
schema:
type: string
enum:
- OVERVIEW
- INCOME_STATEMENT
- BALANCE_SHEET
- CASH_FLOW
- name: symbol
in: query
required: true
description: The symbol of the equity you're interested in (used with equity-related functions).
schema:
type: string
- name: apikey
in: query
required: true
description: Your Alpha Vantage API key
schema:
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
additionalProperties: true
tags:
- Query