Skip to main content
POST
Get Earnings

Request contract

  • Method and path: POST /apis/v1/api-ninjas/get-earnings
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/api-ninjas/get-earnings
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.00089 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
cik
string

Company Central Index Key. Mutually exclusive with ticker. Supply a company identifier, date, or complete date range.

date
string

Exact filing date in YYYY-MM-DD format. Mutually exclusive with date_start/date_end; supply a company identifier, date, or complete date range.

Pattern: ^\d{4}-\d{2}-\d{2}$
date_end
string

Range end in YYYY-MM-DD format. Requires date_start and is mutually exclusive with date; supply a company identifier, date, or complete date range.

Pattern: ^\d{4}-\d{2}-\d{2}$
date_start
string

Range start in YYYY-MM-DD format. Requires date_end and is mutually exclusive with date; supply a company identifier, date, or complete date range.

Pattern: ^\d{4}-\d{2}-\d{2}$
offset
integer
default:0

Results to skip; pages contain 50.

Required range: x >= 0
period
enum<string>

Fiscal period. Mutually exclusive with quarter and requires a company identifier and year.

Available options:
q1,
q2,
q3,
q4,
fy
quarter
enum<string>

Fiscal quarter. Mutually exclusive with period and requires a company identifier and year.

Available options:
1,
2,
3,
4
ticker
string

Company ticker symbol. Mutually exclusive with cik. Supply a company identifier, date, or complete date range.

year
integer

Fiscal year. Required with period or quarter, which also require a company identifier. Free users are limited to 2026; Premium covers the last 5 fiscal years; Business tier and above provides full history.

Response

Tool result data

balance_sheet
object
cash_flow
object
company_info
object
filing_info
object
income_statement
object