Fetch Document API

Retrieve full HTML content of any SEC document

Overview

Endpoint

GET api.secblast.com/v1/fetch

Description

Download a specific document file by its Document ID. Returns the raw document file contents with appropriate MIME type headers. The response will be compressed with gzip if the client supports it.

Request Parameters

ParameterTypeDescription
api_keystringRequiredYour API key
document_idstringRequiredDocument ID to fetch (e.g., 0000002488-25-000099-1)

Response Format

The raw document file contents with appropriate MIME type headers.

HTML documents: Content-Type: text/html

PDF documents: Content-Type: application/pdf

XBRL documents: Content-Type: application/xml

Example Request

curl "https://api.secblast.com/v1/fetch?api_key=YOUR_API_KEY&document_id=0000002488-25-000099-1"

Error Responses

400 Bad Request: Missing required parameter

Missing required parameter: document_id

401 Unauthorized: Invalid API key

Invalid API key (Inactive or invalid key)

404 Not Found: Document not found

Submission not found (/fetch)