API TraderAPI QuantAPI Developer
Public securities transactions in one stock disclosed by members of the US government - congressional STOCK Act filings, executive-branch OGE Form 278-T reports and federal judges' periodic transaction reports.
Available Data Points:
- Transaction Date: When the transaction was made (
YYYY-MM-DD). - Report Date: The date on the filing that disclosed it (
YYYY-MM-DD). - Published At: When the filing was observed publicly, as an ISO 8601 timestamp; null where only the report date is known. Use this rather than the transaction date when testing a strategy: filers have up to 45 days to disclose.
- USD Value: The disclosed value band, e.g.
$1001-$15000; a single figure where exact. - Transaction Type: The transaction type as disclosed, e.g. Buy, Sell, Sell (Partial), Exchange.
- Filer Name: The official who filed.
- Filer Photo / Filer Website: The filer's official portrait and website, where available.
- Party: The filer's political party; empty for executive-branch and judicial filers.
- Chamber: House, Senate, Executive or Judicial.
- Branch: Legislative (House and Senate), Executive or Judicial.
- Committees: The committees the filer sits on. For executive-branch filers this holds their agency, for judicial filers their court.
Filtering
from_date is required and to_date defaults to today; both bound the report date. Results are ordered by report date, most recent first. The window filters on the report date (the date the filing was made), as v1 does - not on the transaction date, so from_date set to yesterday returns everything disclosed since yesterday, however long before the trade was made. Publication can lag the report date by a day or two, so a backtest that must not see a trade before its disclosure should filter on publishedAt (or reportDate where publishedAt is null). Trades from scanned paper filings are transcribed after the filing arrives, sometimes weeks later, and keep the filing's report date: a client polling a short trailing window should re-request a longer one (the last 90 days, say) periodically to pick them up.
Try it out! You can test the API with the trial key TEST. Simply include it in your request headers; either here, or add the header "Ortex-Api-Key": "TEST" to your http request.
Trial key restrictions: Trial keys may be limited to a specific date range and set of regions. Requests outside the allowed regions or entirely outside the allowed date range are rejected; a date window that partially overlaps the allowed range is trimmed to it, reported in meta.restriction.
Get full access! Get a key at app.ortex.com/apis
