GnistAI GnistAI
Log in

SEC EDGAR

SEC filings — 10-K, 10-Q, 8-K, and other company disclosures.

Overview   |   MCP   |   REST API   |   OpenAPI   |   CLI   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 5 tools tools 5 5 type: api wrapper type type api wrapper api wrapper lifecycle: flagship lifecycle lifecycle flagship flagship Business

Data source: SEC EDGAR

REST Bridge Endpoint https://context.gnist.ai/rest/sec-edgar/
Authentication

All requests require a Gnist-API-Key header (or api_key query parameter).

Free tier: 100 calls/day. Get your API key.

Tools (5)

search_filings

Full-text search over all public SEC filings (10-K, 10-Q, 8-K, proxy, and more).

Args:
query: Search terms — phrase-matched against filing text.
Examples: "artificial intelligence", "climate risk", "supply chain".
form_type: Filter to a specific form type: "10-K", "10-Q", "8-K", "DEF 14A".
Omit to search all form types.
company: Filter by company name (partial match).
date_from: Earliest filing date — YYYY-MM-DD.
date_to: Latest filing date — YYYY-MM-DD.
max_results: Maximum filings to return (1–100, default 20).

Returns:
List of matching filings with accession number, form type, filing date,
company name, reporting period, and EDGAR viewer URL.

ParameterTypeRequiredDescription
querystringrequiredSearch terms — phrase-matched against filing text.
form_typeanyoptional
companyanyoptional
date_fromanyoptional
date_toanyoptional
max_resultsintegeroptional (default: 20)
Request Body
{
  "query": "example"
}
get_company_filings

Retrieve recent SEC filings for any public company by ticker or CIK.

Args:
ticker_or_cik: Company identifier — either a ticker symbol (e.g. "AAPL", "MSFT")
or a numeric CIK (e.g. "320193" or "0000320193").
form_type: Filter to a specific form type: "10-K", "10-Q", "8-K", etc.
Omit to return all recent filings.
limit: Maximum filings to return (default 10).

Returns:
Company metadata (name, CIK, ticker, industry) and a list of filings,
each with accession number, form type, dates, and document URL.

ParameterTypeRequiredDescription
ticker_or_cikstringrequiredCompany identifier — either a ticker symbol (e.g. "AAPL", "MSFT") or a numeric CIK (e.g. "320193" or "0000320193").
form_typeanyoptionalFilter to a specific form type: "10-K", "10-Q", "8-K", etc. Omit to return all recent filings.
limitintegeroptionalMaximum filings to return (default 10). (default: 10)
Request Body
{
  "ticker_or_cik": "example"
}
get_financial_facts

Retrieve XBRL-tagged financial data for a company concept across all reporting periods.

Common concepts (us-gaap taxonomy):
- Revenue: "Revenues" or "RevenueFromContractWithCustomerExcludingAssessedTax"
- Net income: "NetIncomeLoss"
- Total assets: "Assets"
- Cash: "CashAndCashEquivalentsAtCarryingValue"
- EPS (basic): "EarningsPerShareBasic" (use unit="USD/shares")

Args:
ticker_or_cik: Ticker symbol (e.g. "AAPL") or numeric CIK (e.g. "320193").
concept: XBRL concept tag name. Case-sensitive, CamelCase.
unit: Unit of measure — "USD", "shares", or "USD/shares". Default "USD".
taxonomy: XBRL taxonomy — "us-gaap" (default) or "dei".

Returns:
Company name, concept label, and a list of facts sorted newest-first.

ParameterTypeRequiredDescription
ticker_or_cikstringrequiredTicker symbol (e.g. "AAPL") or numeric CIK (e.g. "320193").
conceptstringrequiredXBRL concept tag name. Case-sensitive, CamelCase.
unitstringoptionalUnit of measure — "USD", "shares", or "USD/shares". Default "USD". (default: "USD")
taxonomystringoptionalXBRL taxonomy — "us-gaap" (default) or "dei". (default: "us-gaap")
Request Body
{
  "ticker_or_cik": "example",
  "concept": "example"
}
get_filing_section

Extract a specific section from a public SEC filing as plain text.

Args:
accession_number: EDGAR accession number — e.g. "0000320193-23-000106".
section: Section to extract. Named sections: "business", "risk_factors",
"mda", "financial_statements", "executive_compensation",
"quantitative_risk", "controls".
Also accepts raw item numbers: "1", "1A", "7", "7A", "8", "9A", "11".

Returns:
Section name, source URL, and extracted plain text (up to ~8000 chars).

ParameterTypeRequiredDescription
accession_numberstringrequiredEDGAR accession number — e.g. "0000320193-23-000106".
sectionstringrequiredSection to extract. Named sections: "business", "risk_factors", "mda", "financial_statements", "executive_compensation", "quantitative_risk", "controls". Also accepts raw item numbers...
Request Body
{
  "accession_number": "123456789",
  "section": "123456789"
}
report_feedback

Report a bug, feature request, or general feedback for this data source.

Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.

Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.

ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")
Request Body
{
  "feedback": "example"
}

Quick Start

Shell
curl -X POST "https://context.gnist.ai/rest/sec-edgar/search_filings" \
  -H "Content-Type: application/json" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"query": "example"}'
Python
import httpx

resp = httpx.post(
    "https://context.gnist.ai/rest/sec-edgar/search_filings",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    json={
  "query": "example"
},
)
print(resp.json())

Related Toolkits (Business)

Resources