Read a filing items request
curl --request GET \
--url https://api.darvas.app/v1/filings/items/requests/{request_id} \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/filings/items/requests/{request_id}"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.darvas.app/v1/filings/items/requests/{request_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "processing",
"request_id": "6f1c3a52-7d5e-4a2b-9c1d-2e3f4a5b6c7d",
"accession_number": "0000320193-26-000024",
"estimated_ready_at": "2026-11-25T18:30:45.000Z"
}{
"error": "VALIDATION_ERROR",
"message": "Send ticker or cik"
}{
"error": "UNAUTHORIZED",
"message": "The API key is not valid"
}{
"error": "PLAN_REQUIRED",
"message": "The account of this key has no active data API plan"
}{
"error": "NOT_FOUND",
"message": "No company has this ticker or CIK"
}{
"error": "RATE_LIMITED",
"message": "Too many requests"
}{
"error": "INTERNAL_ERROR",
"message": "Something went wrong"
}{
"error": "UNAVAILABLE",
"message": "The data service is unavailable"
}SEC EDGAR Filings
Async SEC Filing Section Extraction Status API
Poll asynchronous SEC filing section extraction jobs returned with HTTP 202 when a requested 10-K, 10-Q or 8-K item is being parsed on demand.
Read a filing items request
curl --request GET \
--url https://api.darvas.app/v1/filings/items/requests/{request_id} \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/filings/items/requests/{request_id}"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.darvas.app/v1/filings/items/requests/{request_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "processing",
"request_id": "6f1c3a52-7d5e-4a2b-9c1d-2e3f4a5b6c7d",
"accession_number": "0000320193-26-000024",
"estimated_ready_at": "2026-11-25T18:30:45.000Z"
}{
"error": "VALIDATION_ERROR",
"message": "Send ticker or cik"
}{
"error": "UNAUTHORIZED",
"message": "The API key is not valid"
}{
"error": "PLAN_REQUIRED",
"message": "The account of this key has no active data API plan"
}{
"error": "NOT_FOUND",
"message": "No company has this ticker or CIK"
}{
"error": "RATE_LIMITED",
"message": "Too many requests"
}{
"error": "INTERNAL_ERROR",
"message": "Something went wrong"
}{
"error": "UNAVAILABLE",
"message": "The data service is unavailable"
}Overview
A/filings/items request for a filing Darvas has not read yet answers 202 with a request_id and a result_url. Polling the result_url answers one of three bodies:
MCP tool: get_filing_items_request on the data API MCP server.
status | Meaning | What to do |
|---|---|---|
processing | Darvas is reading the filing | Poll again after Retry-After seconds |
| none, the items | The filing is read | The body is the /filings/items answer for the first request’s parameters |
failed | SEC EDGAR did not serve the filing, or 5 minutes passed | Send the first request again |
result_url then answers 404.
Example
import os
import time
import requests
headers = {"X-API-KEY": os.environ["DARVAS_API_KEY"]}
first = requests.get(
"https://api.darvas.app/v1/filings/items",
headers=headers,
params={"ticker": "MSFT", "filing_type": "10-K", "year": 1998},
)
body = first.json()
while body.get("status") == "processing":
time.sleep(int(first.headers.get("Retry-After", 5)))
body = requests.get(first.headers["Location"], headers=headers).json()
if body.get("status") == "failed":
print(body["message"])
else:
print([item["number"] for item in body["items"]])
Authorizations
apiKeybearerKey
Path Parameters
Response
The request's status, or the filing's items.
- Option 1
- Option 2
- Option 3
Processing, the items, or failed.