/data/filings/excel

Obtain a download URL for the filing's Excel file, valid for one hour.

POST/api/v1/data/filings/excel
Credits300Rate limit20 per minute

Filing selection: supply filing_id, or ticker and fiscal_year with optional form_type (default 10-K) and quarter. Giving both, or form_type or quarter with filing_id, returns 422.

Request:

filing_idintegerconditional

1–10⁹.

tickerstringconditional

Required if filing_id omitted. 1–32 characters.

form_typestring

Default 10-K, max 32.

fiscal_yearintegerconditional

Required if filing_id omitted. 1990–2100.

quarterstring

Max 4 characters.

Response:

ticker, fiscal_year

Filing identity.

download_url

The URL to download the Excel file.

expires_in

Seconds the URL stays valid (3600).

credits_used

300.

Credits: 300, debited after the filing and its Excel attachment are found; a DATA_EXCEL_OBJECT_NOT_IN_STORAGE response is still charged.

Errors:

HTTPerror_codeWhen
400DATA_FILING_QUARTER_REQUIREDSeveral filings match without a quarter; message lists available quarters. Not charged.
404DATA_FILING_NOT_FOUNDNo filing for the given id or identity. Not charged.
403PLAN_TIER_INSUFFICIENT_HISTORY, PLAN_TIER_INSUFFICIENT, PLAN_TIER_INSUFFICIENT_COVERAGEThe filing is outside your plan. Not charged.
404DATA_EXCEL_NOT_AVAILABLE_FOR_FILINGThe filing has no Excel attachment. Not charged.
503DATA_EXCEL_PUBLIC_URL_UNAVAILABLEA download URL cannot be provided right now. Not charged.
404DATA_EXCEL_OBJECT_NOT_IN_STORAGEThe Excel file is not available. Charged 300.
402CREDITS_INSUFFICIENTInsufficient credits.
422—Validation (filing selector, limits).