Get all financial statements
curl --request GET \
--url https://api.aisa.one/apis/v1/financial/financials \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/financial/financials"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/financial/financials', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/financial/financials",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/financial/financials"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/financial/financials")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/financial/financials")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"financials": {
"income_statements": [
{
"ticker": "<string>",
"report_period": "2023-12-25",
"fiscal_period": "<string>",
"period": "quarterly",
"currency": "<string>",
"revenue": 123,
"cost_of_revenue": 123,
"gross_profit": 123,
"operating_expense": 123,
"selling_general_and_administrative_expenses": 123,
"research_and_development": 123,
"operating_income": 123,
"interest_expense": 123,
"ebit": 123,
"income_tax_expense": 123,
"net_income_discontinued_operations": 123,
"net_income_non_controlling_interests": 123,
"net_income": 123,
"net_income_common_stock": 123,
"preferred_dividends_impact": 123,
"consolidated_income": 123,
"earnings_per_share": 123,
"earnings_per_share_diluted": 123,
"dividends_per_common_share": 123,
"weighted_average_shares": 123,
"weighted_average_shares_diluted": 123
}
],
"balance_sheets": [
{
"ticker": "<string>",
"report_period": "2023-12-25",
"fiscal_period": "<string>",
"period": "quarterly",
"currency": "<string>",
"total_assets": 123,
"current_assets": 123,
"cash_and_equivalents": 123,
"inventory": 123,
"current_investments": 123,
"trade_and_non_trade_receivables": 123,
"non_current_assets": 123,
"property_plant_and_equipment": 123,
"goodwill_and_intangible_assets": 123,
"investments": 123,
"non_current_investments": 123,
"outstanding_shares": 123,
"tax_assets": 123,
"total_liabilities": 123,
"current_liabilities": 123,
"current_debt": 123,
"trade_and_non_trade_payables": 123,
"deferred_revenue": 123,
"deposit_liabilities": 123,
"non_current_liabilities": 123,
"non_current_debt": 123,
"tax_liabilities": 123,
"shareholders_equity": 123,
"retained_earnings": 123,
"accumulated_other_comprehensive_income": 123,
"total_debt": 123
}
],
"cash_flow_statements": [
{
"ticker": "<string>",
"report_period": "2023-12-25",
"fiscal_period": "<string>",
"period": "quarterly",
"currency": "<string>",
"net_income": 123,
"depreciation_and_amortization": 123,
"share_based_compensation": 123,
"net_cash_flow_from_operations": 123,
"capital_expenditure": 123,
"business_acquisitions_and_disposals": 123,
"investment_acquisitions_and_disposals": 123,
"net_cash_flow_from_investing": 123,
"issuance_or_repayment_of_debt_securities": 123,
"issuance_or_purchase_of_equity_shares": 123,
"dividends_and_other_cash_distributions": 123,
"net_cash_flow_from_financing": 123,
"change_in_cash_and_equivalents": 123,
"effect_of_exchange_rate_changes": 123,
"ending_cash_balance": 123,
"free_cash_flow": 123
}
]
}
}{
"error": "Bad Request",
"message": "Invalid request parameters"
}{
"error": "Unauthorized",
"message": "Invalid API key provided"
}{
"error": "Payment Required",
"message": "This endpoint requires a paid subscription. Please upgrade your plan."
}{
"error": "Not Found",
"message": "Ticker XXXX not found"
}Financial Statements
All Financial Statements
All three financial statements for one company in a single call.
GET
https://api.aisa.one/apis/v1/financial
/
financials
Get all financial statements
curl --request GET \
--url https://api.aisa.one/apis/v1/financial/financials \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/financial/financials"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/financial/financials', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/financial/financials",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/financial/financials"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/financial/financials")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/financial/financials")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"financials": {
"income_statements": [
{
"ticker": "<string>",
"report_period": "2023-12-25",
"fiscal_period": "<string>",
"period": "quarterly",
"currency": "<string>",
"revenue": 123,
"cost_of_revenue": 123,
"gross_profit": 123,
"operating_expense": 123,
"selling_general_and_administrative_expenses": 123,
"research_and_development": 123,
"operating_income": 123,
"interest_expense": 123,
"ebit": 123,
"income_tax_expense": 123,
"net_income_discontinued_operations": 123,
"net_income_non_controlling_interests": 123,
"net_income": 123,
"net_income_common_stock": 123,
"preferred_dividends_impact": 123,
"consolidated_income": 123,
"earnings_per_share": 123,
"earnings_per_share_diluted": 123,
"dividends_per_common_share": 123,
"weighted_average_shares": 123,
"weighted_average_shares_diluted": 123
}
],
"balance_sheets": [
{
"ticker": "<string>",
"report_period": "2023-12-25",
"fiscal_period": "<string>",
"period": "quarterly",
"currency": "<string>",
"total_assets": 123,
"current_assets": 123,
"cash_and_equivalents": 123,
"inventory": 123,
"current_investments": 123,
"trade_and_non_trade_receivables": 123,
"non_current_assets": 123,
"property_plant_and_equipment": 123,
"goodwill_and_intangible_assets": 123,
"investments": 123,
"non_current_investments": 123,
"outstanding_shares": 123,
"tax_assets": 123,
"total_liabilities": 123,
"current_liabilities": 123,
"current_debt": 123,
"trade_and_non_trade_payables": 123,
"deferred_revenue": 123,
"deposit_liabilities": 123,
"non_current_liabilities": 123,
"non_current_debt": 123,
"tax_liabilities": 123,
"shareholders_equity": 123,
"retained_earnings": 123,
"accumulated_other_comprehensive_income": 123,
"total_debt": 123
}
],
"cash_flow_statements": [
{
"ticker": "<string>",
"report_period": "2023-12-25",
"fiscal_period": "<string>",
"period": "quarterly",
"currency": "<string>",
"net_income": 123,
"depreciation_and_amortization": 123,
"share_based_compensation": 123,
"net_cash_flow_from_operations": 123,
"capital_expenditure": 123,
"business_acquisitions_and_disposals": 123,
"investment_acquisitions_and_disposals": 123,
"net_cash_flow_from_investing": 123,
"issuance_or_repayment_of_debt_securities": 123,
"issuance_or_purchase_of_equity_shares": 123,
"dividends_and_other_cash_distributions": 123,
"net_cash_flow_from_financing": 123,
"change_in_cash_and_equivalents": 123,
"effect_of_exchange_rate_changes": 123,
"ending_cash_balance": 123,
"free_cash_flow": 123
}
]
}
}{
"error": "Bad Request",
"message": "Invalid request parameters"
}{
"error": "Unauthorized",
"message": "Invalid API key provided"
}{
"error": "Payment Required",
"message": "This endpoint requires a paid subscription. Please upgrade your plan."
}{
"error": "Not Found",
"message": "Ticker XXXX not found"
}All three statements for one company in a single call. Returns a
financials object holding income_statements, balance_sheets and cash_flow_statements, each the same shape the dedicated tools return. period is required (annual, quarterly or ttm); identify the company by ticker or cik and cap with limit. Use it when you need the full picture and would otherwise make three calls. When you only need one statement, get_financial_financials_income_statements, get_financial_financials_balance_sheets or get_financial_financials_cash_flow_statements returns far less data; when you need a handful of named fields across several companies, post_financial_financials_search_line_items is narrower still.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
The ticker symbol. Required if cik is not provided.
The time period of the financial statements.
Available options:
annual, quarterly, ttm The maximum number of financial statements to return.
The Central Index Key (CIK) of the company.
Filter by exact report period date in YYYY-MM-DD format.
Filter by report period greater than or equal to date in YYYY-MM-DD format.
Filter by report period less than or equal to date in YYYY-MM-DD format.
Filter by report period greater than date in YYYY-MM-DD format.
Filter by report period less than date in YYYY-MM-DD format.
Response
Financial statements response
Show child attributes
Show child attributes