Annual Financial Statements
curl --request GET \
--url https://api.tickdb.ai/v1/fundamentals/financials/annual \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.tickdb.ai/v1/fundamentals/financials/annual"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.tickdb.ai/v1/fundamentals/financials/annual', 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.tickdb.ai/v1/fundamentals/financials/annual",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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.tickdb.ai/v1/fundamentals/financials/annual"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
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.tickdb.ai/v1/fundamentals/financials/annual")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tickdb.ai/v1/fundamentals/financials/annual")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"code": 0,
"data": {
"symbol": "<string>",
"kind": "IS",
"rows": [
{
"kind": "IS",
"field_name": "<string>",
"indicator_title": "<string>",
"value": "<string>",
"fiscal_year": 123,
"fiscal_period": "<string>",
"period_type": "<string>",
"period_end": "2023-12-25",
"field_display": "<string>",
"currency": "<string>",
"is_percent": true,
"yoy": "<string>",
"ratio": "<string>"
}
]
}
}Financial Statements
Annual Financial Statements
Retrieve annual income statement, balance sheet, or cash flow statement metrics for recent fiscal years.
GET
/
v1
/
fundamentals
/
financials
/
annual
Annual Financial Statements
curl --request GET \
--url https://api.tickdb.ai/v1/fundamentals/financials/annual \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.tickdb.ai/v1/fundamentals/financials/annual"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.tickdb.ai/v1/fundamentals/financials/annual', 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.tickdb.ai/v1/fundamentals/financials/annual",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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.tickdb.ai/v1/fundamentals/financials/annual"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
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.tickdb.ai/v1/fundamentals/financials/annual")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tickdb.ai/v1/fundamentals/financials/annual")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"code": 0,
"data": {
"symbol": "<string>",
"kind": "IS",
"rows": [
{
"kind": "IS",
"field_name": "<string>",
"indicator_title": "<string>",
"value": "<string>",
"fiscal_year": 123,
"fiscal_period": "<string>",
"period_type": "<string>",
"period_end": "2023-12-25",
"field_display": "<string>",
"currency": "<string>",
"is_percent": true,
"yoy": "<string>",
"ratio": "<string>"
}
]
}
}Plan Access
| Plan | Available |
|---|---|
| Free | ❌ |
| Starter | ✅ |
| Professional | ✅ |
| Full-Market Plans (A-Shares, HK Stocks, US Stocks) | ✅ |
| Enterprise | ✅ |
Notes
rowscontains field-level records; one fiscal year may correspond to multiple financial metrics.
Supported Markets
| Market | Examples |
|---|---|
| US Stocks | AAPL.US |
| HK Stocks | 700.HK |
| A-Shares | 600519.SH |
Request Parameters
| Parameter | Required | Description |
|---|---|---|
symbol | Yes | Stock symbol |
type | No | Product type; currently supports stock |
kind | Yes | Statement type: IS income statement, BS balance sheet, or CF cash flow statement |
n | No | Number of fiscal years, range 1–20 |
Request Example
curl -H "X-API-Key: YOUR_API_KEY" \
"https://api.tickdb.ai/v1/fundamentals/financials/annual?symbol=AAPL&type=stock&kind=IS&n=5"
Response Fields
The table below lists fields indata; an outer code=0 indicates success.
| Field | Description |
|---|---|
| symbol | Stock symbol. |
| kind | Statement type: IS income statement, BS balance sheet, or CF cash flow statement. |
| rows | Annual statement metric records; a fiscal year normally contains multiple rows. |
| └─ kind | Row statement type: IS, BS, or CF. |
| └─ field_name | Financial field code; see the Financial Field Dictionary. |
| └─ field_display | Display name. |
| └─ indicator_title | Metric title. |
| └─ value | Field value returned as a string. |
| └─ currency | Currency. |
| └─ is_percent | Whether this is a percentage field. |
| └─ fiscal_year | Fiscal year. |
| └─ fiscal_period | Reporting period. |
| └─ period_type | Financial period type; annual data is normally af (annual), but a fiscal year-end period may also be represented as q4 (fourth quarter). |
| └─ period_end | Period end date in YYYY-MM-DD format. |
| └─ yoy | Year-over-year change; may be null. |
| └─ ratio | Ratio; may be null. |
n controls the number of fiscal years.Authorizations
Query Parameters
Stock symbol
Examples:
"AAPL"
"700"
"600519"
"AAPL.US"
"700.HK"
"600519.SH"
Product type; currently supports stock
Available options:
stock Statement type: IS income statement, BS balance sheet, or CF cash flow statement
Available options:
IS, BS, CF Number of periods, range 1–20
Required range:
1 <= x <= 20