Company
Facts
Get company facts for a ticker.
GET
/
company
/
facts
👋 Overview
We have company facts for 16,000+ public companies.
Company facts includes data like name, CIK, market cap, total employees, website URL, and more.
Any data that you receive from our API is yours to keep. You may save the data to minimize repeat API calls.
To get started, please create an account and grab your API key at financialdatasets.ai.
You will use the API key to authenticate your API requests.
🚀 Getting Started
There are only 3 steps for making a successful API call:
- Add your API key to the header of the request as
X-API-KEY
. - Add query params like
ticker
filter the data. - Execute the API request.
Note: You must include the ticker
in your query params.
💻 Example
Company Facts
import requests
# add your API key to the headers
headers = {
"X-API-KEY": "your_api_key_here"
}
# set your query params
ticker = 'AAPL'
# create the URL
url = (
f'https://api.financialdatasets.ai/company/facts'
f'?ticker={ticker}'
)
# make API request
response = requests.get(url, headers=headers)
# parse company_facts from the response
company_facts = response.json().get('company_facts')
Authorizations
X-API-KEY
string
headerrequiredAPI key for authentication.
Query Parameters
ticker
string
requiredThe ticker symbol.
Response
200 - application/json
company_facts
object