symbolstringจำเป็น
Stock ticker symbol (e.g. 'AAPL', 'MSFT', 'NVDA').
https://api.sandbase.ai/v1/api/stockanalysis/stock-financials-incomeDetailed income statement for a stock. Returns annual financial data including revenue, gross profit, operating income, net income, EPS, margins, and growth rates organized in a financialData object with arrays per.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Returns the annual income statement for a stock, including revenue, gross profit, operating income, net income, EPS, margins and cash flow figures. It needs one input, the ticker symbol, such as AAPL.
curl -X POST "https://api.sandbase.ai/v1/api/stockanalysis/stock-financials-income" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"symbol": "AAPL"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
symbol | string | Yes | Stock ticker symbol (e.g. 'AAPL', 'MSFT', 'NVDA'). |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"availableSources": [
"spg"
],
"classicStatementLayout": false,
"defaultSource": "spg",
"details": {
"fiscalYear": "October - September",
"fiscalYearShort": "Oct - Sep",
"lastTradingDay": "Nov 2, 2026",
"lastTrailingDate": "Sep 26, 2026",
"reportingFrequency": null,
"source": "spg"
},
"financialData": {
"cor": [
245232000000
],
"datekey": [
"TTM"
],
"depAmorEbitda": [
13423000000
],
"dps": [
null
],
"ebit": [
158063000000
],
"ebitMargin": [
0.3301
],
"ebitda": [
171486000000
],
"ebitdaMargin": [
0.35813
],
"epsBasic": [
9.01484
],
"epsdil": [
8.98
],
"fcf": [
136056000000
],
"fcfMargin": [
0.28414
]
},
"financialState": null,
"fullWidthFinancials": false,
"full_count": 10,
"head": {
"description": "Detailed annual and quarterly income statement for Apple (AAPL). See many years …",
"heading": "Income Statement",
"title": "Apple (AAPL) Income Statement",
"url": "/stocks/aapl/financials/income-statement/"
},
"map": [
{
"id": "operatingRevenue",
"title": "Operating Revenue"
}
],
"overrideSource": null,
"overviewLeftToRight": false
},
"status": "success"
}
| Field | Meaning |
|---|---|
data.financialData.datekey[] | Period label for each position in the arrays. The first value is TTM for trailing twelve months, and the others are period end dates such as 2025-09-27. |
data.financialData.revenue[] | Revenue for each period, in the same order as datekey. |
data.financialData.gp[] / data.financialData.opinc[] / data.financialData.netinc[] | Gross profit, operating income and net income for each period. |
data.financialData.grossMargin[] / data.financialData.operatingMargin[] / data.financialData.profitMargin[] | Margins as decimal ratios. For example, 0.48786 is a gross margin of about 48.8%. |
data.financialData.epsdil[] / data.financialData.epsBasic[] | Diluted and basic earnings per share for each period. |
data.financialData.ebitda[] / data.financialData.fcf[] | EBITDA and free cash flow for each period. |
data.financialData.rnd[] / data.financialData.sgna[] / data.financialData.opex[] | Research and development, selling, general and administrative, and total operating expenses. |
data.financialData.sharesDiluted[] / data.financialData.sharesBasic[] | Diluted and basic weighted share counts for each period. |
data.financialData.fiscalYear[] / data.financialData.fiscalQuarter[] | Fiscal year and fiscal quarter that each period belongs to. |
data.prior | Same income statement fields for an older period (fiscal year 2021 in this response), held in single-item arrays. |
data.financialData lines up by index with data.financialData.datekey. Read the same index across arrays to get one period.null, for example interestExpense and interestIncome in the current periods.period field is annual in this response. data.details.fiscalYear gives the company fiscal year range, such as October - September.$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/stockanalysis/stock-financials-income" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"symbol": "AAPL"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
symbolstringจำเป็นStock ticker symbol (e.g. 'AAPL', 'MSFT', 'NVDA').
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
StockAnalysis | $0.01 ต่อการเรียก | Async JSON |
StockAnalysis | $0.01 ต่อการเรียก | Async JSON |
StockAnalysis | $0.01 ต่อการเรียก | Async JSON |
StockAnalysis | $0.01 ต่อการเรียก | Async JSON |
StockAnalysis | $0.01 ต่อการเรียก | Async JSON |
StockAnalysis | $0.01 ต่อการเรียก | Async JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/stockanalysis/stock-financials-income โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.01 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: symbol (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
ผลลัพธ์ JSON จุดเชื่อมต่อนี้ทำงานแบบอะซิงโครนัส ดังนั้นการตอบกลับจะบอกวิธีดึงผลลัพธ์ที่เสร็จแล้ว README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น StockAnalysis Stock Financials Income ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง StockAnalysis API แยกต่างหาก