tickerstringจำเป็น
The ticker symbol.
https://api.sandbase.ai/v1/api/financial-datasets/kpi-non-gaapGet non-GAAP financial metrics with GAAP equivalents and key adjustments.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Returns non-GAAP financial metrics that a public company reports, such as adjusted diluted EPS and adjusted net income. Each row includes the matching GAAP line item, a note on the adjustments, and a link to the source document. It needs a ticker.
key_adjustments text to find which one-time charges a company excluded in a fiscal year.source_url.period, report_period_gte and report_period_lte.curl -X POST "https://api.sandbase.ai/v1/api/financial-datasets/kpi-non-gaap" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"ticker": "AAPL", "limit": 2, "period": "annual"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
ticker | string | Yes | The ticker symbol. |
cursor | string | No | Opaque pagination cursor from a previous response's next_page_url. When provided, all other query parameters are ignored: the cursor carries the original request's filters. Treat it as opaque; do not construct or modify |
limit | integer | No | Number of periods to return. This is the total across all pages, not a page size: each page holds up to 10 records, linked by next_page_url. |
metric_name | string | No | Filter to a specific metric. |
period | string | No | Filter by period type: quarterly or annual. |
report_period_gte | string | No | Only return metrics on or after this date (YYYY-MM-DD). |
report_period_lte | string | No | Only return metrics on or before this date (YYYY-MM-DD). |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"kpi_non_gaap": [
{
"gaap_equivalent": "Diluted earnings per share",
"key_adjustments": "Excludes per-share impact ($0.67) of one-time income tax charge related to rever…",
"metric_name": "Adjusted Diluted EPS",
"period": "FY 2024",
"period_type": "annual",
"source_text": "Diluted earnings per share",
"source_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019325000077/a8-kex991q4202…",
"ticker": "AAPL",
"unit": "USD",
"value": 6.75
}
]
}
| Field | Meaning |
|---|---|
kpi_non_gaap[].metric_name | Name of the non-GAAP metric, for example Adjusted Diluted EPS or Adjusted Net Income. |
kpi_non_gaap[].value | Numeric value of the metric for the period. Read it together with unit. |
kpi_non_gaap[].unit | Unit of value. In this response it is USD. |
kpi_non_gaap[].gaap_equivalent | The GAAP line item that the non-GAAP metric corresponds to, for example Net income. |
kpi_non_gaap[].key_adjustments | Plain text describing what the company excluded to get from the GAAP figure to the non-GAAP figure. |
kpi_non_gaap[].period / kpi_non_gaap[].period_type | Label of the reporting period, such as FY 2024, and its type, such as annual. |
kpi_non_gaap[].source_url / kpi_non_gaap[].source_text | Link to the SEC filing where the figure appears, and the text snippet used to match it. |
kpi_non_gaap[].ticker | Ticker symbol of the company the metric belongs to. |
limit is the total number of periods across all pages. Each page holds up to 10 records, linked by next_page_url.next_page_url as cursor. All other parameters are then ignored.metric_name to filter to one metric, and period set to quarterly or annual to choose the period type. period defaults to quarterly.$0.02 per successful call. Failed calls are not charged.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/financial-datasets/kpi-non-gaap" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": 2,
"period": "annual",
"ticker": "AAPL"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
tickerstringจำเป็นThe ticker symbol.
cursorstringOpaque pagination cursor from a previous response's next_page_url. When provided, all other query parameters are ignored: the cursor carries the original request's filters. Treat it as opaque; do not construct or modify it.
limitintegerNumber of periods to return. This is the total across all pages, not a page size: each page holds up to 10 records, linked by `next_page_url`.
ค่าเริ่มต้น: 4
metric_namestringFilter to a specific metric.
periodstringFilter by period type: quarterly or annual.
ค่าเริ่มต้น: "quarterly"
ค่าที่เป็นไปได้: quarterly, annual
report_period_gtestringOnly return metrics on or after this date (YYYY-MM-DD).
report_period_ltestringOnly return metrics on or before this date (YYYY-MM-DD).
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Financial Datasets | $0.02 ต่อการเรียก | JSON |
Financial Datasets | $0.02 ต่อการเรียก | JSON |
Financial Datasets | $0.02 ต่อการเรียก | JSON |
Financial Datasets | $0.02 ต่อการเรียก | JSON |
Financial Datasets | $0.02 ต่อการเรียก | JSON |
Financial Datasets | $0.02 ต่อการเรียก | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/financial-datasets/kpi-non-gaap โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.02 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: ticker (string). ตัวเลือก: cursor (string), limit (integer), metric_name (string), period (หนึ่งใน quarterly, annual), report_period_gte (string) และ report_period_lte (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Financial Datasets Non-GAAP Metrics ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Financial Datasets API แยกต่างหาก