diff --git a/app/main.py b/app/main.py index da49bc7..0f305e4 100644 --- a/app/main.py +++ b/app/main.py @@ -152,6 +152,13 @@ async def root_documentation():
GET /news/{{ticker}}/social-only - Social media posts onlyGET /filings/search/{{ticker}} - Search SEC filings (8-K, 6-K, 20-F, 40-F, 10-K, 10-Q)GET /filings/documents/{{accession_number}} - List all documents in a filingGET /filings/exhibit/{{accession_number}} - Extract exhibit content (e.g., EX-99.1 press releases)GET /etf/holdings/{{ticker}} - ETF holdings at date or most recent# Search AAPL 8-K filings (earnings announcements, material events)
+curl "http://localhost:18001/api/v1/filings/search/AAPL?form_type=8-K&limit=5"
+
+# Search foreign issuer filings
+curl "http://localhost:18001/api/v1/filings/search/TSM?form_type=20-F"
+curl "http://localhost:18001/api/v1/filings/search/SAP?form_type=6-K"
+
+# List all documents in a filing
+curl "http://localhost:18001/api/v1/filings/documents/0000320193-26-000005"
+
+# Extract press release (Exhibit 99.1) from an 8-K
+curl "http://localhost:18001/api/v1/filings/exhibit/0000320193-26-000005?exhibit_type=EX-99.1"
+
curl "http://localhost:18001/api/v1/etf/holdings/QQQ"
@@ -212,7 +233,8 @@ news = client.get_news_social_data("AAPL", days_back=7)