Skip to content
Aggre Docs

Loading…

Console

API reference

Schema reference

JSON Schemas of every row and of the error envelope.

The shape of every row the data API returns, as JSON Schema (draft 2020-12). Each schema is served as a file at /schemas/{name}.json on this site; the $id inside a schema is its canonical identifier.

A response is always the envelope { "data": ..., "meta": ..., "next_cursor": ... } (Response format); the schemas below describe the rows inside data, plus the error envelope.

Clients must ignore properties they do not know: fields are added over time, never removed or renamed.

On this page:

calendar_events · candles · equities_tw_daily_close · equities_tw_indices · equities_tw_institutional_daily · equities_tw_margin_daily · equities_tw_monthly_revenue · equities_tw_securities · equities_tw_sources · equities_tw_statements · equities_tw_valuation_daily · error · filings_company · filings_congress_trade · filings_fact · filings_filing · filings_ftd · filings_fundamental · filings_holding_13f · filings_insider_transaction · filings_news_8k · funding_rates · health_ema_medicine · health_eurostat_cause · health_eurostat_mortality · health_eurostat_place · health_fda_record · health_fda_summary · health_nppes_provider · health_trials_study · health_who_indicator · health_who_observation · instruments · legal_contract_form · legal_federal_register_document · legal_fsc_news_item · legal_regulatory_entry · macro_derived_observation · macro_derived_series · macro_observation · macro_series · mcp_call · onchain_protocol_tvl · open_interest · tickers_latest

calendar_events#

CalendarEvent. calendar_events.json

One scheduled economic release (a CPI print, an FOMC decision day, a euro indicator). Only rows read from a publisher's machine-readable schedule, or hand-kept rows that a person verified against the publisher, are served. The impact grade is Aggre's own (editorial), not the publisher's.

FieldTypeRequiredDescription
event_idstringyes{SOURCE}:{release_key}:{reference_period, or the UTC day when there is none}.
sourceBLS | BEA | CENSUS | FOMC | ECB | ONS | EUROSTATyesThe publisher whose schedule lists the release.
economystring, pattern ^[A-Z]{2}$yesISO 3166-1 alpha-2 country, or EU for the euro area.
currencystring or null, pattern ^[A-Z]{3}$no
titlestringyes
release_keystring, pattern ^[a-z0-9_]+$yesStable id of the kind of release, e.g. cpi, fomc_decision.
reference_periodstring or null, pattern ^[0-9]{4}-(0[1-9]|1[0-2]|Q[1-4])$noThe period the release reports on (YYYY-MM or YYYY-Qn); null when the publisher does not say. Never guessed.
tsintegeryesThe release instant, Unix ms (UTC). When date_only, the start of that day in UTC: the publisher gave the day, not the time.
date_onlybooleanyesTrue when the publisher gives the day and not the time; no time is implied.
impacthigh | medium | lowyesAggre's own grading of how market-moving the release is. Editorial: not the publisher's.
impact_basis"editorial"yes
source_urlstring, pattern ^https://yesThe publisher's own page for the schedule or the release.
creditstringyesThe attribution text the publisher's terms ask for, stored with the row. Whoever shows the row shows this text.
originfeed | manualyesfeed: read from the publisher's machine-readable schedule. manual: a hand-kept table, verified by a person on verified_on.
retrieved_atinteger or nullnoFeed rows: Unix ms of the worker's last successful read of the schedule. Null for manual rows.
verified_onstring or null, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$noManual rows: the day a person checked the date against the publisher. Null for feed rows.

candles#

Candle row (finance.market.candles_1m | _1h | _1d). candles.json

FieldTypeRequiredDescription
instrument_idstring, pattern ^[A-Z0-9]+:(SPOT|PERP|FUTURES):\S+$yes
venuestring, pattern ^[A-Z0-9]+$yes
productSPOT | PERP | FUTURESyes
symbolstringyesNormalised symbol, FirstFa style: native without separators, uppercase.
tsintegeryesBar open time, Unix milliseconds UTC.
opennumberyes
highnumberyes
lownumberyes
closenumberyes
volumenumberyesBase-asset volume.
quote_volumenumber or nullno
versionintegeryesExchange update time in ms; higher version replaces lower (ReplacingMergeTree).

equities_tw_daily_close#

EquitiesTwDailyClose. equities_tw_daily_close.json

One security's after-hours quote of one trading day. A security that did not trade (no positive close) has no row. Overwritten when the exchange remakes the day's file.

FieldTypeRequiredDescription
security_idstring, pattern ^(TWSE|TPEX):[0-9A-Z]{4,6}$yes{MARKET}:{code}, e.g. TWSE:2330, TPEX:6488.
trade_datestring, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yesThe trading day the file names (converted from the ROC date).
opennumber or nullyesNT$
highnumber or nullyesNT$
lownumber or nullyesNT$
closenumberyesNT$
changenumber or nullyesNT$ from the day before, signed, as published.
volumeinteger or nullyesShares traded.
valueinteger or nullyesNT$ traded.
tradesinteger or nullyesNumber of transactions.
source_idstring, pattern ^(twse|tpex)_[a-z0-9_]+$yesThe registered upstream file the row was read from (see the sources dataset). The response's meta.attribution carries its credit text.

equities_tw_indices#

EquitiesTwIndexDaily. equities_tw_indices.json

One Taiwan index's close on one trading day (TWSE's MI_INDEX lists every index of the day; TPEx's month file gives the OTC index and its total-return index per day).

FieldTypeRequiredDescription
marketTWSE | TPEXyes
index_namestringyesAs published (Chinese), e.g. 發行量加權股價指數, 櫃買指數.
trade_datestring, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yesThe trading day.
closenumberyesIndex points.
changenumber or nullyesPoints, signed; null where the answer gives none (TPEx's month file).
source_idstring, pattern ^(twse|tpex)_[a-z0-9_]+$yesThe registered upstream file the row was read from (see the sources dataset). The response's meta.attribution carries its credit text.

equities_tw_institutional_daily#

EquitiesTwInstitutionalDaily. equities_tw_institutional_daily.json

Net shares bought (positive) or sold (negative) by the three institutional investor groups, one OTC (TPEx) security, one trading day. TWSE (listed) securities have no open-licensed dataset and are not covered.

FieldTypeRequiredDescription
security_idstring, pattern ^TPEX:[0-9A-Z]{4,6}$yes
trade_datestring, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yesThe trading day the file names.
foreign_netinteger or nullyesForeign investors, foreign dealers and mainland investors, net shares.
trust_netinteger or nullyesSecurities investment trust companies, net shares.
dealer_netinteger or nullyesDealers, net shares.
total_netinteger or nullyesAll three together, net shares, as published.
source_idstring, pattern ^(twse|tpex)_[a-z0-9_]+$yesThe registered upstream file the row was read from (see the sources dataset). The response's meta.attribution carries its credit text.

equities_tw_margin_daily#

EquitiesTwMarginDaily. equities_tw_margin_daily.json

Margin purchase and short sale balances of one OTC (TPEx) security on one trading day, in lots as FirstFa documents it (not re-checked against the file). TWSE's margin file (data.gov.tw 11680) names no day and is excluded.

FieldTypeRequiredDescription
security_idstring, pattern ^TPEX:[0-9A-Z]{4,6}$yes
trade_datestring, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yesThe trading day the file names.
margin_balanceinteger or nullyesMargin purchase balance, lots.
margin_previousinteger or nullyesPrevious day's margin purchase balance, lots.
short_balanceinteger or nullyesShort sale balance, lots.
short_previousinteger or nullyesPrevious day's short sale balance, lots.
source_idstring, pattern ^(twse|tpex)_[a-z0-9_]+$yesThe registered upstream file the row was read from (see the sources dataset). The response's meta.attribution carries its credit text.

equities_tw_monthly_revenue#

EquitiesTwMonthlyRevenue. equities_tw_monthly_revenue.json

A company's operating revenue for one month, as it filed it, in thousands of NT$ (unit_multiplier 1000, not converted). A re-read with different figures is the next version; older versions are kept.

FieldTypeRequiredDescription
security_idstring, pattern ^(TWSE|TPEX):[0-9A-Z]{4,6}$yes{MARKET}:{code}, e.g. TWSE:2330, TPEX:6488.
monthstring, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yesThe revenue month, as its first day.
versioninteger, 1–yes
revenueinteger or nullyesThousand NT$, the month's revenue (營業收入-當月營收).
previous_monthinteger or nullyesThousand NT$, the month before as the company reports it.
year_agointeger or nullyesThousand NT$, the same month a year before as the company reports it.
unit"twd"yes
unit_multiplier1000yes
table_datestring, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yesThe table's 出表日期 the version was read from.
first_seen_atintegeryesUnix ms when WE first read this version.
source_idstring, pattern ^(twse|tpex)_[a-z0-9_]+$yesThe registered upstream file the row was read from (see the sources dataset). The response's meta.attribution carries its credit text.

equities_tw_securities#

EquitiesTwSecurity. equities_tw_securities.json

A Taiwan listed (TWSE) or OTC (TPEx) security as last seen in the exchanges' after-hours files. The company list contributes industry, share count and English short name; its people and contact fields are never read into this dataset.

FieldTypeRequiredDescription
security_idstring, pattern ^(TWSE|TPEX):[0-9A-Z]{4,6}$yes{MARKET}:{code}, e.g. TWSE:2330, TPEX:6488.
marketTWSE | TPEXyes
codestring, pattern ^[0-9A-Z]{4,6}$yes
namestringyesAs published (Chinese), from the newest row that carried one.
name_enstring or nullyes英文簡稱 from the company list when it is plain printable ASCII; else null.
industry_codestring or null, pattern ^[0-9]{2}$yesThe exchange's two-digit industry code; null until the company list was read.
industry_namestring or nullyesChinese name of industry_code in this market's table; null when the code is not in it.
industry_name_enstring or nullyesOur English name for the industry.
shares_issuedinteger or null, 1–yes已發行普通股數或TDR原股發行股數; null when absent or not positive.
profile_table_datestring or null, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yesThe company list's 出表日期 that gave industry and shares; null until read.
first_seen_onstring, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yesFirst trading day or table date any dataset listed it.
last_seen_onstring, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yesNewest trading day or table date any dataset listed it.
updated_atintegeryesUnix ms of the last write to this row.

equities_tw_sources#

EquitiesTwSource. equities_tw_sources.json

One registered upstream file (a data.gov.tw dataset) with its licence and terms state. terms_read_on is the gate: nothing is read from a source whose terms nobody has read.

FieldTypeRequiredDescription
source_idstring, pattern ^(twse|tpex)_[a-z0-9_]+$yesThe registered upstream file the row was read from (see the sources dataset). The response's meta.attribution carries its credit text.
marketTWSE | TPEXyes
kindvaluation | institutional | margin | close | index | revenue | income | balance | profileyes
formatci | basi | bd | fh | ins | mim | nullyesStatement format; null for every other kind.
data_gov_tw_idintegeryeshttps://data.gov.tw/dataset/{id}
titlestringyesAs data.gov.tw lists it (Chinese).
registered_urlstring, pattern ^https://yesThe download data.gov.tw registers for the dataset.
licence_path_unconfirmedbooleanyesTrue when what is read is the exchange's OpenAPI path of the same data and not the registered download.
licensestringyesOpen Government Data License, version 1.0 -- carried over from FirstFa, not re-read.
credit_templatestringyesThe attribution statement with {year}; the API fills the year and returns the result in meta.attribution.
terms_urlstring, pattern ^https://yes
terms_read_onstring or null, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yesThe day a person last read the licence terms for this source; null = nobody has and the worker will not read it.
last_read_atinteger or nullyesUnix ms of the worker's last successful read.
data_datestring or null, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yesNewest data day or table date the last successful read named.
paused_untilinteger or nullyesUnix ms; a 403/429 pauses the source for 24 h.
last_errorstring or nullyesA short fixed message (never a URL) for the last failed read.

equities_tw_statements#

EquitiesTwStatement. equities_tw_statements.json

One quarterly income statement or balance sheet of a company in its industry format. lines is a closed vocabulary (the Taiwan equities guide): amounts in thousand NT$, eps and book_value_per_share in NT$; the income statement is cumulative for the year to date. Nothing is added up and a blank line is absent. A re-read with different figures is the next version.

FieldTypeRequiredDescription
security_idstring, pattern ^(TWSE|TPEX):[0-9A-Z]{4,6}$yes{MARKET}:{code}, e.g. TWSE:2330, TPEX:6488.
fiscal_yearinteger, 2000–2100yesWestern year (ROC year + 1911).
quarterinteger, 1–4yes
statementincome | balanceyes
formatci | basi | bd | fh | ins | mimyesci general industry, basi banks, bd securities and futures, fh financial holding, ins insurers, mim other industries.
versioninteger, 1–yes
linesobjectyesOur key -> number. Keys: revenue, gross_profit, operating_income, net_interest_income, non_interest_income, net_revenue, insurance_service_result, insurance_finance_result, net_income, net_income_parent, eps (income); total_assets, total_liabilities, total_equity, parent_equity, book_value_per_share (balance).
unit"twd"yes
unit_multiplier1000yes
table_datestring, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yesThe table's 出表日期 the version was read from.
first_seen_atintegeryesUnix ms when WE first read this version.
source_idstring, pattern ^(twse|tpex)_[a-z0-9_]+$yesThe registered upstream file the row was read from (see the sources dataset). The response's meta.attribution carries its credit text.

equities_tw_valuation_daily#

EquitiesTwValuationDaily. equities_tw_valuation_daily.json

P/E, dividend yield and P/B of one security on one trading day, as the exchange publishes them. A figure the exchange leaves out is null, never zero.

FieldTypeRequiredDescription
security_idstring, pattern ^(TWSE|TPEX):[0-9A-Z]{4,6}$yes{MARKET}:{code}, e.g. TWSE:2330, TPEX:6488.
trade_datestring, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yesThe trading day the file names.
penumber or nullyesPrice-to-earnings ratio; null when the exchange gives none (a loss, for instance).
dividend_yieldnumber or nullyesPercent.
pbnumber or nullyesPrice-to-book ratio.
source_idstring, pattern ^(twse|tpex)_[a-z0-9_]+$yesThe registered upstream file the row was read from (see the sources dataset). The response's meta.attribution carries its credit text.

error#

Error envelope. error.json

FieldTypeRequiredDescription
errorobjectyes
error.codeunauthorized | forbidden | ip_not_allowed | not_found | invalid_request | rate_limited | usage_limit_exceeded | store_unavailable | internal | conflict | origin_not_allowed | csrf_required | step_up_required | account_disabled | email_mismatch | provider_read_only | validation_failed | secrets_key_missing | bootstrap_invalid | bootstrap_disabled | credentials_key_missing | taken_down | index_unavailable | retrieval_unavailable | corpus_not_migrated | terms_unreadyesStable machine code.
error.messagestringyes
error.request_idstringyes

filings_company#

FilingsCompany. filings_company.json

One company known to SEC EDGAR, as the worker last read it. Dataset finance.filings.companies. the filings guide.

FieldTypeRequiredDescription
cikstring, pattern ^[0-9]{10}$yesCentral Index Key, zero-padded to 10 digits.
namestringyesdei:EntityRegistrantName of the latest periodic report when there is one, else the EDGAR name.
tickersarray of stringyes
exchangesarray of stringyes
sicinteger or null, 100–9999yes
sic_descriptionstring or nullyes
fiscal_year_endstring or null, pattern ^[0-9]{4}$yesMMDD.
state_of_incorporationstring or nullyes
entity_typestring or nullyes
share_classesarray of objectyesCover-page shares outstanding, one entry per class.
share_classes[].labelstring or nullyes
share_classes[].sharesinteger, 0–yes
shares_totalinteger or null, 0–yesEvery class summed.
shares_as_ofstring or null, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yes
shares_form10-Q | 10-K | 20-F | 40-F | 10-Q/A | 10-K/A | 20-F/A | 40-F/A | nullyes
shares_accessionstring or null, pattern ^[0-9]{10}-[0-9]{2}-[0-9]{6}$yes
last_refreshed_atintegeryesUnix ms: when the worker last read this company successfully.
creditstringyesAttribution text. Whoever shows the row shows this text; the API does not compose it.

filings_congress_trade#

FilingsCongressTrade. filings_congress_trade.json

One stock trade of a US member of Congress from a Periodic Transaction Report (STOCK Act). Disclosed weeks after the trade; amounts are value ranges, not trade sizes. Dataset finance.filings.congress_trades. the filings guide.

FieldTypeRequiredDescription
trade_idstring, pattern ^[0-9a-f]{64}$yesContent id (the filings guide): SHA-256 of the report's own fields, so a re-read of the same report is the same row.
sourcesenate_stock_watcher | senate_efd | house_clerkyesWhere the row was read from. senate_stock_watcher is a community aggregate, not the Senate.
chamberSenate | Houseyes
politicianstringyesThe member's name as the source gives it.
ownerstring or nullyesWho owns the asset, as filed (typically Self, Spouse, Child, Joint); null when the report gives none.
transaction_datestring, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yesThe day of the transaction.
disclosure_datestring or null, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yesThe day the report was filed; null when the source gives none.
tickerstring or null, pattern ^[A-Z0-9][A-Z0-9.-]{0,11}$yesUpper-case ticker symbol; null when the report gives none (bonds, funds, private assets).
asset_descriptionstring or nullyes
asset_typestring or nullyesThe report's asset type text.
transaction_typebuy | sell | exchange | nullyesNull when the report's text is none of the three; type_text keeps the text.
type_textstring or nullyesThe report's own transaction text (Purchase, Sale (Full), Sale (Partial), Exchange).
amount_textstring or nullyesThe amount range exactly as filed.
amount_lowinteger or null, 0–yesLower bound in dollars of the range. A range, never a trade size.
amount_highinteger or null, 0–yesUpper bound in dollars; null for an open-ended range (Over $50,000,000) or when the text is not a range.
commentstring or nullyes
source_urlstring or null, pattern ^https://yesThe report on the publisher's site.
source_doc_idstring or nullyesThe report's id from the last path segment of source_url.
first_seen_atintegeryesWhen this repository first stored the row (Unix ms): our clock, not the publisher's.
creditstringyesAttribution of the row's source (filings.source_terms.credit); whoever shows the row shows it.

filings_fact#

FilingsFact. filings_fact.json

One as-filed XBRL fact of a whitelisted concept. A later filing that reports the same period is a new row, never an overwrite. Dataset finance.filings.company_facts. the filings guide.

FieldTypeRequiredDescription
cikstring, pattern ^[0-9]{10}$yesCentral Index Key, zero-padded to 10 digits.
taxonomyus-gaap | ifrs-full | deiyes
conceptstring, pattern ^[A-Za-z0-9]+$yes
unitstringyes
period_startstring or null, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yes
period_endstring, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yes
valuestring, pattern ^-?[0-9]+(\.[0-9]+)?$yesDecimal string: money and share counts are never floats.
fiscal_yearinteger or nullyesAs the FILING states it, not the fact's own period.
fiscal_periodFY | Q1 | Q2 | Q3 | Q4 | nullyes
formstringyes
filed_onstring, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yes
accessionstring, pattern ^[0-9]{10}-[0-9]{2}-[0-9]{6}$yesEDGAR accession number.
creditstringyesAttribution text. Whoever shows the row shows this text; the API does not compose it.

filings_filing#

FilingsFiling. filings_filing.json

One filing in a company's EDGAR index. Dataset finance.filings.filings. the filings guide.

FieldTypeRequiredDescription
accessionstring, pattern ^[0-9]{10}-[0-9]{2}-[0-9]{6}$yesEDGAR accession number.
cikstring, pattern ^[0-9]{10}$yesCentral Index Key, zero-padded to 10 digits.
formstringyes
filed_onstring, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yes
accepted_atinteger or nullyesUnix ms, EDGAR acceptance time.
report_datestring or null, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yes
itemsarray of string, pattern ^[0-9]{1,2}\.[0-9]{2}$yes8-K item numbers as the index lists them.
primary_documentstring or null, pattern ^[A-Za-z0-9._-]{1,200}$yes
primary_descriptionstring or nullyes
is_xbrlboolean or nullyes
sizeinteger or null, 0–yes
urlstring or null, pattern ^https://www\.sec\.gov/Archives/edgar/data/yes
creditstringyesAttribution text. Whoever shows the row shows this text; the API does not compose it.

filings_ftd#

FilingsFailToDeliver. filings_ftd.json

The aggregate net balance of shares that failed to be delivered for a symbol on a settlement date. There is no CUSIP column. Dataset finance.filings.fails_to_deliver. the filings guide.

FieldTypeRequiredDescription
symbolstring, pattern ^[A-Z0-9.-]{1,15}$yes
settlement_datestring, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yes
quantityinteger, 0–yes
pricestring or null, pattern ^-?[0-9]+(\.[0-9]+)?$yesThe SEC's previous-day closing price as a decimal string; null when the file gives none.
descriptionstring or nullyes
filestring, pattern ^cnsfails[0-9]{6}[ab]\.zip$yes
creditstringyesAttribution text. Whoever shows the row shows this text; the API does not compose it.

filings_fundamental#

FilingsFundamental. filings_fundamental.json

One fiscal period of a company's standard metrics, computed from the stored facts by the normalizer. Dataset finance.filings.fundamentals. the filings guide.

FieldTypeRequiredDescription
cikstring, pattern ^[0-9]{10}$yesCentral Index Key, zero-padded to 10 digits.
fiscal_yearintegeryes
fiscal_periodQ1 | Q2 | Q3 | Q4 | FYyes
period_startstring or null, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yes
period_endstring, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yes
currencystring or null, pattern ^[A-Z]{3}$yes
metricsobjectyesrevenue, net_income, eps_diluted, operating_cash_flow, total_assets, total_liabilities and the extras of section 6.3 where present; a metric the filings do not give is null.
normalizerinteger, 1–yes
creditstringyesAttribution text. Whoever shows the row shows this text; the API does not compose it.

filings_holding_13f#

FilingsHolding13F. filings_holding_13f.json

One institution's holding of a covered issuer in one quarter, summed per filing and matched by the issuer's name (no CUSIP). Dataset finance.filings.holdings_13f. the filings guide.

FieldTypeRequiredDescription
periodstring, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yes
issuer_cikstring, pattern ^[0-9]{10}$yesCentral Index Key, zero-padded to 10 digits.
tickerstringyes
accessionstring, pattern ^[0-9]{10}-[0-9]{2}-[0-9]{6}$yesEDGAR accession number.
manager_cikstring or null, pattern ^[0-9]{10}$yes
manager_namestringyes
sharesinteger, 0–yes
value_usdinteger, 0–yes
data_setstringyes
consistentbooleanyesFalse when the reported price is more than 5x from the quarter's median for the stock; the row is flagged, not repaired.
match_basisissuer_nameyes
creditstringyesAttribution text. Whoever shows the row shows this text; the API does not compose it.

filings_insider_transaction#

FilingsInsiderTransaction. filings_insider_transaction.json

One transaction line of a Form 4 or 4/A, with its filing. Names of people are served as filed. Dataset finance.filings.insider_transactions. the filings guide.

FieldTypeRequiredDescription
issuer_cikstring, pattern ^[0-9]{10}$yesCentral Index Key, zero-padded to 10 digits.
accessionstring, pattern ^[0-9]{10}-[0-9]{2}-[0-9]{6}$yesEDGAR accession number.
form4 | 4/Ayes
filed_onstring, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yes
ownersarray of objectyes
owners[].cikstring or null, pattern ^[0-9]{10}$yes
owners[].namestringyes
owners[].is_directorboolean or nullyes
owners[].is_officerboolean or nullyes
owners[].is_ten_percent_ownerboolean or nullyes
owners[].is_otherboolean or nullyes
owners[].officer_titlestring or nullyes
rule_10b5_1boolean or nullyes
seqinteger, 0–yes
derivativebooleanyes
security_titlestringyes
transaction_datestring, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yes
codestring, pattern ^[A-Z]$yes
sharesnumber or nullyes
pricestring or null, pattern ^-?[0-9]+(\.[0-9]+)?$yesUSD per share as a decimal string; null when the filing gives none.
acquired_disposedA | D | nullyes
owned_afternumber or nullyes
ownershipD | I | nullyes
creditstringyesAttribution text. Whoever shows the row shows this text; the API does not compose it.

filings_news_8k#

FilingsNews8K. filings_news_8k.json

One current report (8-K, 8-K/A) with its items and Exhibit 99 file names. No filing text is stored. Dataset finance.filings.news_8k. the filings guide.

FieldTypeRequiredDescription
accessionstring, pattern ^[0-9]{10}-[0-9]{2}-[0-9]{6}$yesEDGAR accession number.
cikstring, pattern ^[0-9]{10}$yesCentral Index Key, zero-padded to 10 digits.
form8-K | 8-K/Ayes
filed_onstring, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yes
accepted_atinteger or nullyes
itemsarray of string, pattern ^[0-9]{1,2}\.[0-9]{2}$yes
exhibitsarray of objectyes
exhibits[].typestring, pattern ^EX-99(\.[0-9]{1,2})?$yes
exhibits[].documentstring, pattern ^[A-Za-z0-9._-]{1,200}$yes
exhibits[].descriptionstring or nullyes
exhibits_completebooleanyes
urlstring or null, pattern ^https://www\.sec\.gov/Archives/edgar/data/yes
creditstringyesAttribution text. Whoever shows the row shows this text; the API does not compose it.

funding_rates#

Funding rate row (finance.market.funding_rates). funding_rates.json

FieldTypeRequiredDescription
instrument_idstring, pattern ^[A-Z0-9]+:(PERP|FUTURES):\S+$yes
venuestring, pattern ^[A-Z0-9]+$yes
productPERP | FUTURESyes
symbolstringyesNormalised symbol: native without separators, uppercase.
tsintegeryesSettlement time as the venue reports it, Unix milliseconds UTC. Not grid-aligned (Hyperliquid's drifts by milliseconds around the hour).
ratenumberyesThat period's funding rate as a fraction (0.0001 is 0.01%), as the venue reports it: not annualised, not normalised to a common period. The period differs by venue and instrument (8 h on OKX and Bitget unless the venue says otherwise; 1 h on Hyperliquid) and the history endpoints do not state it.
versionintegeryesReplacingMergeTree version; equal to ts (a settled rate does not change).

health_ema_medicine#

HealthEmaMedicine. health_ema_medicine.json

One medicine of the EMA Medicines report. Served by GET /v1/health/drugs/ema_medicines[/{product_number}]. Contract: the health guide. The list omits therapeutic_indication and raw unless include=text.

FieldTypeRequiredDescription
dataset_id"health.drugs.ema_medicines"yes
product_numberstringyesEMA product number as published; opaque.
namestringyes
categorystring or nullyes
statusstring or nullyes
opinion_statusstring or nullyes
inn_common_namestring or nullyes
active_substancestring or nullyes
therapeutic_areastring or nullyes
atc_codestring or nullyes
atcvet_codestring or nullyes
authorisation_holderstring or nullyes
medicine_urlstring or nullyes
therapeutic_indicationstring or nullnoOmitted from the list unless include=text.
accelerated_assessmentboolean or nullyesTri-state: null means the report left the cell blank (or wrote something other than Yes or No), which is not the same statement as false.
additional_monitoringboolean or nullyesTri-state: null means the report left the cell blank (or wrote something other than Yes or No), which is not the same statement as false.
advanced_therapyboolean or nullyesTri-state: null means the report left the cell blank (or wrote something other than Yes or No), which is not the same statement as false.
biosimilarboolean or nullyesTri-state: null means the report left the cell blank (or wrote something other than Yes or No), which is not the same statement as false.
conditional_approvalboolean or nullyesTri-state: null means the report left the cell blank (or wrote something other than Yes or No), which is not the same statement as false.
exceptional_circumstancesboolean or nullyesTri-state: null means the report left the cell blank (or wrote something other than Yes or No), which is not the same statement as false.
genericboolean or nullyesTri-state: null means the report left the cell blank (or wrote something other than Yes or No), which is not the same statement as false.
orphanboolean or nullyesTri-state: null means the report left the cell blank (or wrote something other than Yes or No), which is not the same statement as false.
primeboolean or nullyesTri-state: null means the report left the cell blank (or wrote something other than Yes or No), which is not the same statement as false.
decision_datestring or null, dateyes
authorisation_datestring or null, dateyes
withdrawal_datestring or null, dateyes
first_published_datestring or null, dateyes
last_updated_datestring or null, dateyes
rawobjectnoEvery header of the report mapped to the trimmed text of this row's cell, including headers we do not know. Omitted from the list unless include=text.
in_latest_reportbooleanyesfalse: the newest complete report did not contain this medicine (a row is never deleted).
first_seen_atstring, date-timeyes
fetched_atstring, date-timeyesWhen the row's content was last written.
updated_atstring, date-timeyesMoves only when a stored column changes; the change cursor.
licensestring or nullyesAs recorded by a person after reading EMA's terms; null until then.
attributionstring or nullyesAs recorded by a person after reading EMA's terms; null until then.

health_eurostat_cause#

HealthEurostatCause. health_eurostat_cause.json

A cause code in the table with its label. Served by GET /v1/health/statistics/eurostat_mortality/causes.

FieldTypeRequiredDescription
dataset_id"health.statistics.eurostat_mortality"yes
icd10stringyes
labelstring or nullyes
licensestring or nullyes
attributionstring or nullyes

health_eurostat_mortality#

HealthEurostatMortality. health_eurostat_mortality.json

One cell of Eurostat's causes-of-death table (hlth_cd_asdr2): year, place and cause. Served by GET /v1/health/statistics/eurostat_mortality[/{year}/{geo}/{icd10}]. Contract: the health guide.

FieldTypeRequiredDescription
dataset_id"health.statistics.eurostat_mortality"yes
yearinteger, 1900–2100yes
geostringyesEurostat code as published (DE, DE21, EU27_2020, …).
geo_namestring or nullyesLabel as published.
geo_kindcountry | nuts2 | aggregate | otheryesDerived by Aggre from the shape of the geo code, not taken from Eurostat.
icd10stringyesCause code as published (C33_C34, A-R_V-Y, …).
icd10_labelstring or nullyes
sex"T"yes
age"TOTAL"yes
unit"RT"yesRate per 100 000 (age-standardised), as Eurostat's RT.
valuenumber or nullyesNull for a cell that carries only a status flag.
statusstring or nullyesEurostat's flag, as published; never interpreted here.
in_latest_readbooleanyesfalse: the last complete read of this year did not contain the cell (kept, never deleted).
first_seen_atstring, date-timeyes
fetched_atstring, date-timeyes
updated_atstring, date-timeyes
licensestring or nullyes
attributionstring or nullyes

health_eurostat_place#

HealthEurostatPlace. health_eurostat_place.json

A place code in the table with its label and our derived kind. Served by GET /v1/health/statistics/eurostat_mortality/places.

FieldTypeRequiredDescription
dataset_id"health.statistics.eurostat_mortality"yes
geostringyes
geo_kindcountry | nuts2 | aggregate | otheryes
namestring or nullyes
licensestring or nullyes
attributionstring or nullyes

health_fda_record#

HealthFdaRecord. health_fda_record.json

One openFDA record, stored as the publisher exported it. Served by GET /v1/health/{drugs|devices}/fda_*[/{key}]. Contract: the health guide.

FieldTypeRequiredDescription
dataset_idstring, pattern ^health\.(drugs|devices)\.fda_[a-z0-9_]+$yes
endpointstring, pattern ^[a-z]+/[a-z0-9]+$yesThe openFDA endpoint as the manifest spells it, e.g. drug/ndc, device/pma.
keystringyesThe natural key (a composite key's parts joined by '/', a trailing part may be empty: 'P140004/'), or the sha256 hex of the record when key_kind is content_hash.
key_kindnatural | content_hashyescontent_hash: no verified natural key (or the key field was missing); an edited record is a new row.
payloadobjectyesThe record exactly as published. Nothing renamed or flattened.
content_hashstring, pattern ^[0-9a-f]{64}$yes
export_datestring or null, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yesexport_date of the partition this row was last seen in.
in_latest_exportbooleanyesfalse when the newest export we have imported for the endpoint is newer than this row's export_date, i.e. the row was not in it. The row is not deleted. true when no export is known.
first_seen_atstring, date-timeyes
fetched_atstring, date-timeyesWhen we last read this record, changed or not.
updated_atstring, date-timeyesWhen the record's content last changed (a re-import of identical content does not move it). The order of the list and its change feed.
licensestring or nullyesCopied from the terms once a person has read them; null until then.
attributionstring or nullyesnull until the terms were read.

health_fda_summary#

HealthFdaSummary. health_fda_summary.json

The text of one FDA 510(k) summary document as the worker extracted it. Served by GET /v1/health/devices/fda_510k_summary[/{k_number}]. Contract: the health guide. Only rows whose extraction produced text are served (status is always ok). content is omitted from the list unless include=content; the one-summary route always returns it. The worker's error text and attempt counter are never served.

FieldTypeRequiredDescription
dataset_id"health.devices.fda_510k_summary"yes
k_numberstring, pattern ^[A-Z]+[0-9]{6}$yesThe clearance number, upper-case (K232060, DEN250040).
status"ok"yes
device_namestring or nullnoFrom the 510(k) record, when the worker read it.
applicantstring or nullno
product_codestring or nullno
decision_datestring or null, dateno
contentstringnoThe extracted text. Omitted from list rows unless include=content.
content_charsinteger, 1–yes
content_hashstring, pattern ^[0-9a-f]{64}$yessha256 of content; changes exactly when the text changes.
truncatedbooleanyestrue when the text hit the 2,000,000-character cap.
extractorstring, pattern ^pdf-text/[0-9]+$yesWhich version of the extractor produced content.
source_urlstring or null, uriyesThe document the text came from.
first_seen_atstring, date-timeyes
fetched_atstring, date-timeyes
updated_atstring, date-timeyesMoves only when the status or the text changes; the change-feed cursor.
licensestring or nullyesnull until a person has read the terms.
attributionstring or nullyesnull until the terms were read.

health_nppes_provider#

HealthNppesProvider. health_nppes_provider.json

One provider of the NPPES NPI Registry as the worker projected it. Served by GET /v1/health/providers/nppes[/{npi}]. Contract: the health guide. Records about named individuals: the list answers a selective search only.

FieldTypeRequiredDescription
dataset_id"health.providers.nppes"yes
npistring, pattern ^[0-9]{10}$yesThe National Provider Identifier.
entity_typestring or nullyesindividual or organization (from the registry's entity type code 1 or 2); null for anything else, and for a deactivation tombstone of an NPI we never saw.
organization_namestring or nullyesLegal business name; null for an individual.
last_namestring or nullyesLegal last name, as published (the registry's case); null for an organisation.
first_namestring or nullyesAs published.
middle_namestring or nullyesAs published.
name_prefixstring or nullyesAs published.
name_suffixstring or nullyesAs published.
credentialstring or nullyesAs published.
practice_address_1string or nullyesThe practice location, not the mailing address.
practice_address_2string or nullyesThe practice location, not the mailing address.
practice_citystring or nullyesAs published.
practice_statestring or nullyesAs published (two-letter code for US locations).
practice_postal_codestring or nullyesAs published.
practice_countrystring or nullyesAs published; the registry gives it outside the U.S.
sexstring or nullyesCode as published.
sole_proprietorstring or nullyesCode as published.
organization_subpartstring or nullyesCode as published.
primary_taxonomy_codestring or nullyesThe raw NUCC taxonomy code (e.g. 207Q00000X); not joined to a description table.
enumeration_datestring or nullyesText exactly as published; the format is not assumed.
last_update_datestring or nullyesText exactly as published.
deactivation_datestring or nullyesText exactly as published. A row can carry only this and the reason: the registry's weekly file says 'deactivated' that way, and the worker keeps the name and address already stored.
reactivation_datestring or nullyesText exactly as published.
deactivation_reason_codestring or nullyesCode as published.
first_seen_atstring, date-timeyesWhen we first stored the NPI.
fetched_atstring, date-timeyesThe last time the row changed (an identical re-read writes nothing).
updated_atstring, date-timeyesMoves only when a stored column changes.
licensestring or nullyesAs recorded by a person after reading the publisher's terms; null until then.
attributionstring or nullyesAs recorded by a person after reading the publisher's terms; null until then.

health_trials_study#

HealthTrialsStudy. health_trials_study.json

One ClinicalTrials.gov study as projected by the worker. Served by GET /v1/health/trials/clinicaltrials_gov[/{nct_id}]. Contract: the health guide. The three prose fields are omitted from the list unless include=prose. The worker's content hash is never served.

FieldTypeRequiredDescription
dataset_id"health.trials.clinicaltrials_gov"yes
nct_idstring, pattern ^[A-Za-z0-9_-]+$yes
brief_titlestringyes
official_titlestring or nullno
acronymstring or nullno
overall_statusstring or nullnoAs published (e.g. COMPLETED, RECRUITING); not enumerated by this contract.
why_stoppedstring or nullno
study_typestring or nullno
phasesarray of stringyes
enrollmentinteger or nullno
enrollment_typestring or nullno
lead_sponsorstring or nullno
lead_sponsor_classstring or nullno
conditionsarray of stringyes
keywordsarray of stringyes
mesh_termsarray of stringyes
interventionsarray of stringyes'TYPE: name' labels.
primary_outcomesarray of stringyes
brief_summarystring or nullno
detailed_descriptionstring or nullno
eligibility_criteriastring or nullno
sexstring or nullno
minimum_agestring or nullno
maximum_agestring or nullno
healthy_volunteersboolean or nullnonull = not stated.
location_countriesarray of stringyes
location_countinteger, 0–yes
start_datestring or null, pattern ^[0-9]{4}-[0-9]{2}(-[0-9]{2})?$noAs published; month precision occurs.
completion_datestring or null, pattern ^[0-9]{4}-[0-9]{2}(-[0-9]{2})?$no
first_post_datestring or null, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$no
last_update_post_datestring or null, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$no
has_resultsbooleanyes
source_urlstring, uriyes
first_seen_atstring, date-timeyes
fetched_atstring, date-timeyes
updated_atstring, date-timeyes
licensestring or nullyesnull until a person has read the terms.
attributionstring or nullyesnull until the terms were read.

health_who_indicator#

HealthWhoIndicator. health_who_indicator.json

One curated WHO GHO indicator. Served by GET /v1/health/statistics/who_gho/indicators. Contract: the health guide.

FieldTypeRequiredDescription
dataset_id"health.statistics.who_gho"yes
indicator_idstringyes
codestringyesThe GHO code.
categorystringyes
ordintegeryesPosition in the curated list; a pass reads in this order.
pagedbooleanyesRead page by page upstream (large indicators).
descriptionstringyesAggre's own words, not WHO's label.
enabledbooleanyes
last_read_atstring or null, date-timeyesEnd of the last complete read of this indicator.
last_read_rowsinteger or nullyes
licensestring or nullyes
attributionstring or nullyes

health_who_observation#

HealthWhoObservation. health_who_observation.json

One WHO Global Health Observatory record. Served by GET /v1/health/statistics/who_gho. Contract: the health guide. Country names are not in these rows (only the place code and the parent region).

FieldTypeRequiredDescription
dataset_id"health.statistics.who_gho"yes
indicator_idstringyesOur id of the indicator (the catalogue's indicator_id).
indicator_codestringyesThe GHO code.
spatial_dim_typestringyesCOUNTRY, GLOBAL, REGION, UNSDGREGION, … as published.
spatial_dimstringyesThe place code as published (an ISO country code for COUNTRY).
yearinteger, 1900–2100yes
breakdownobjectyesDim1..3 as {type: value}.
breakdown_keystringyesCanonical form of breakdown: keys sorted, type=value joined by ;.
parent_locationstring or nullyes
parent_location_codestring or nullyes
value_displaystring or nullyesWHO's own formatted string.
numeric_valuenumber or nullyes
lownumber or nullyes
highnumber or nullyes
in_latest_readbooleanyesfalse: the last complete read of the indicator did not contain this row (kept, never deleted).
first_seen_atstring, date-timeyes
fetched_atstring, date-timeyes
updated_atstring, date-timeyes
licensestring or nullyes
attributionstring or nullyes

instruments#

Instrument. instruments.json

FieldTypeRequiredDescription
instrument_idstringyes
venuestringyes
productSPOT | PERP | FUTURESyes
symbolstringyes
nativestringyes
basestringyes
quotestringyes
kindstring or nullno
tick_sizestring or nullnoDecimal string.
display_namestring or nullno
enabledbooleanyes

LegalContractForm. legal_contract_form.json

One Taiwan standard-form contract (定型化契約): a model contract (範本) or the terms a contract must and must not contain (應記載及不得記載事項), as the worker read it from the Executive Yuan's lists. Served by GET /v1/legal/the dataset guide (without versions and attachments) and GET /v1/legal/the dataset guide{form_id} (with them). Contract: the regulatory guide. Nothing is served until a person has read the publisher's terms (503 terms_unread). The text of an attachment is machine-extracted and may contain extraction errors; file_url is the authoritative document.

FieldTypeRequiredDescription
form_idstring, pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$yesThe GUID of the form's detail page on the publisher's site, lower case.
dataset_id"legal.contracts.tw_standard_forms"yes
kindtemplate | required_termsyestemplate = 定型化契約範本; required_terms = 定型化契約應記載及不得記載事項.
titlestringyesAs published.
issuerstring or nullyesThe issuing ministry, only when the detail page labelled one; null otherwise. Never inferred.
published_onstring or null, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yesThe date the detail page states, as a calendar day; null when it states none or it is not a real day.
published_on_rocstring or nullyesThe same date as published, ROC calendar (115-04-29).
order_refsarray of stringyesIssuing-order numbers (…字第…號) found on the page, as published, sorted.
source_urlstring, pattern ^https://yesThe form's detail page on the publisher's site.
current_versioninteger, 1–yesA new version is added when the title or any attached file changes; the old one stays (versions).
content_hashstring, pattern ^[0-9a-f]{64}$yesHash of the current version's content (kind, title, each file's id and sha256).
attachment_countinteger, 0–yes
text_charsinteger, 0–yesCharacters of extracted text in the current version.
first_seen_atstring, date-timeyes
fetched_atstring, date-timeyes
updated_atstring, date-timeyes
removed_onstring or null, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yesThe day a complete, accepted read no longer listed the form. null = still listed.
licensestring or nullyesThe dataset's licence, copied from its terms. null until a person has read the terms.
attributionstring or nullyesThe attribution text the terms ask for. null until the terms were read.
versioninteger, 1–noOnly on the single-form route: the version whose files are shown (the current one unless version was asked for).
shown_versionobjectnoOnly on the single-form route: the shown version.
shown_version.versioninteger, 1–yes
shown_version.content_hashstring, pattern ^[0-9a-f]{64}$yes
shown_version.titlestringyes
shown_version.fetched_atstring, date-timeyes
versionsarray of objectnoOnly on the single-form route: every version, oldest first.
versions[].versioninteger, 1–yes
versions[].content_hashstring, pattern ^[0-9a-f]{64}$yes
versions[].titlestringyes
versions[].fetched_atstring, date-timeyes
attachmentsarray of objectnoOnly on the single-form route: the files of the shown version, in the order the page lists them.
attachments[].seqinteger, 0–yes
attachments[].file_idstring, pattern ^[0-9A-Fa-f]+$yesThe publisher's file id.
attachments[].file_urlstring, pattern ^https://yesThe file on the publisher's site: the authoritative document.
attachments[].media_typepdf | docx | odt | doc | otheryesSniffed from the file's first bytes. doc is the legacy binary Word format: recognised, not read.
attachments[].bytesinteger or null, 0–yesnull only when the file is absent.
attachments[].file_sha256string or null, pattern ^[0-9a-f]{64}$yesnull only when the file is absent.
attachments[].text_statusok | scanned | empty | unsupported | timeout | absentyesok = text read; scanned = a PDF with no text layer (no OCR); empty = a text layer but under 200 characters, or no paragraphs; unsupported = a format this worker cannot read; timeout = extraction ran out of time; absent = the publisher no longer serves the file.
attachments[].text_charsinteger, 0–yes
attachments[].text_truncatedbooleanyestrue when the text hit the 2,000,000-character cap.
attachments[].text_sha256string or null, pattern ^[0-9a-f]{64}$yes
attachments[].extractorstring or nullyesThe logic that produced the text (pdf-text/1, zip-xml/1); null when there is no text.
attachments[].textstring or nullyesThe extracted text; null when the request said text=false.

LegalFederalRegisterDocument. legal_federal_register_document.json

One Federal Register document (metadata and abstract only, no full text), as the Office of the Federal Register published it. Served by GET /v1/legal/regulatory/federal_register and GET /v1/legal/regulatory/federal_register/{document_number}. Contract: the regulatory guide.

FieldTypeRequiredDescription
dataset_id"legal.regulatory.federal_register"yes
document_numberstringyesThe publisher's document number, e.g. 2024-05678, E9-12345.
doc_typestring or nullyesAs published (Rule, Proposed Rule, Notice, Presidential Document were seen). Not an enum: the publisher may add types.
titlestringyes
abstractstring or nullyesThe publisher's abstract; null when it gives none (about one document in five).
actionstring or nullyes
dates_textstring or nullyesThe publisher's free-text DATES paragraph (comment and effective dates in words).
publication_datestring, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yes
effective_onstring or null, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yes
comments_close_onstring or null, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yesThe comment deadline; null when the document has none.
significantboolean or nullyesTri-state: null means the source does not say (documents that predate the flag), not 'not significant'.
page_lengthinteger or null, 0–yes
start_pageinteger or null, 0–yes
end_pageinteger or null, 0–yes
volumeinteger or null, 0–yes
agenciesarray of objectyesThe publisher's agency objects, as published (name, raw_name, slug, id, parent_id, ...).
agency_slugsarray of stringyesEach agencies[].slug verbatim; what the agency filter matches.
cfr_referencesarray of objectyesThe publisher's CFR references, as published (title, part, ...).
cfr_labelsarray of string, pattern ^[^ ]+ CFR .+$yes'{title} CFR {part}' for each reference with a title, e.g. '21 CFR 820'; what cfr_title/cfr_part match.
docket_idsarray of stringyes
regulation_id_numbersarray of stringyes
html_urlstring or null, pattern ^https://yes
raw_text_urlstring or null, pattern ^https://yesPlain-text full text; kept so a full-text slice is a join, not a re-crawl.
pdf_urlstring or null, pattern ^https://yes
ecfr_instrumentsarray of string, pattern ^US:ECFR:[0-9]+-.+$yesDerived at read time, never stored: instrument ids of legal.statutes.us_ecfr (US:ECFR:{title}-{part}) for the CFR references of titles 21, 42, 45 whose part is stored. Empty otherwise.
content_hashstring, pattern ^[0-9a-f]{64}$yes
first_seen_atstring, date-timeyes
fetched_atstring, date-timeyes
licensestring or nullyesThe dataset's licence, copied from its terms. null until a person has read the terms: the API then says 'terms not read' and states nothing.
attributionstring or nullyesThe attribution text the terms ask for. null until the terms were read.

LegalFscNewsItem. legal_fsc_news_item.json

One item of the five official RSS feeds of Taiwan's Financial Supervisory Commission (金融監督管理委員會): press releases, penalty cases, announcements, draft-regulation notices, law interpretations. Title, link and publication day as the FSC published them; the description (plain text reduced from the RSS description, never HTML) only with include=text. Not the article behind the link. Items that left a feed are kept. Served by GET /v1/legal/regulatory/fsc_news. See the regulatory guide.

FieldTypeRequiredDescription
categorynews | penalty | announcement | draft_law | law_interpyesWhich of the five feeds the item came from.
category_labelstringyesThe Chinese name of the feed: 新聞稿, 裁罰案件, 重要公告, 法規草案預告, 最新法令函釋.
guidstringyesThe item's <guid> (a full URL carrying a dataserno), else its <link>. With category it identifies the item.
titlestringyesAs published.
linkstring or null, pattern ^https?://yesThe FSC's own page for the item, as published; null when the feed gave none or not an http(s) address.
published_onstring or null, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yesThe calendar day written in <pubDate>, in the offset the publisher wrote; null when absent or unreadable. The time of day is not kept.
descriptionstring or nullnoOnly with include=text. Plain text reduced from the RSS description (line breaks at block ends, entities decoded); null when the item had none. Text, not HTML: a consumer that puts it in a page must escape it.
content_hashstring, pattern ^[0-9a-f]{64}$yes
first_seen_atstring, date-timeyes
fetched_atstring, date-timeyesThe read that last wrote the row.
licensestring or nullyesThe dataset's licence, copied from the FSC's terms. null until a person has read the terms: the API then says 'Terms not read' and states nothing.
attributionstring or nullyesThe attribution text the terms ask for. null until the terms were read.

legal_regulatory_entry#

LegalRegulatoryEntry. legal_regulatory_entry.json

One entry of an official name list (OFAC SDN, UN Security Council consolidated list, HHS-OIG exclusions), exactly as the publisher published it. Served by GET /v1/legal/regulatory/entries (without names and attributes) and GET /v1/legal/regulatory/entry (with them). Name search is exact or prefix on a normalised name and is never a screening verdict: every response says so in meta.message.

FieldTypeRequiredDescription
dataset_idlegal.regulatory.ofac_sdn | legal.regulatory.un_sanctions | legal.regulatory.us_exclusionsyes
entry_idstringyesThe publisher's own id (SDN uid, UN reference number). For the HHS-OIG list, which has none, an id the worker built from name, birth date, state and exclusion date (id_derived true).
id_derivedbooleanyesTrue when the publisher has no id and entry_id was built by the worker.
kindperson | entity | vessel | aircraft | otheryes
primary_namestringyesAs published.
matched_namestring or nullyesThe stored name (primary or alias) the q filter matched; null when the request had no q.
listed_onstring or null, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yesThe day the publisher says the entry was listed; null when it says none.
removed_onstring or null, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yesThe day a complete, accepted read no longer contained the entry (delisted). null = still listed. Set only by a complete read that was not shrunk.
programstring or nullyesSanctions programme or exclusion basis, as published.
remarksstring or nullyesThe publisher's free text, as published.
urlstring or null, pattern ^https://yesThe publisher's own page for the entry.
extraobjectyesPublisher fields that have no column, as published.
content_hashstring, pattern ^[0-9a-f]{64}$yes
first_seen_atstring, date-timeyes
fetched_atstring, date-timeyes
licensestring or nullyesThe list's licence, copied from its terms. null until a person has read the terms: the API then says 'terms not read' and states nothing.
attributionstring or nullyesThe attribution text the terms ask for. null until the terms were read.
namesarray of objectnoOnly on the single-entry route. Every name, the primary one included as seq 0.
names[].seqinteger, 0–yes
names[].namestringyes
names[].name_typeprimary | alias | weak_alias | transliterationyes
attributesarray of objectnoOnly on the single-entry route. Birth dates, places, nationalities, identifiers, addresses, each as published (a birth date may be only a year, an address only a country). Personal data: served exactly as published.
attributes[].seqinteger, 0–yes
attributes[].attr_typebirth_date | birth_place | nationality | citizenship | identifier | address | npi | otheryes
attributes[].valuestringyes
attributes[].countrystring or nullyes
attributes[].notestring or nullyes

macro_derived_observation#

MacroDerivedObservation. macro_derived_observation.json

One computed value for one period. A year-over-year value compares the input's newest stored version with the same period one year earlier; a value over rows is computed from the newest version of each issuer's, bank's or company's row. Not versioned and not stored: a revised input revises the value on the next read. Each row repeats its series' unit, multiplier and credit.

FieldTypeRequiredDescription
series_idstring, pattern ^[a-z0-9_]+\.[a-z0-9_]+$yes
periodstring, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yesThe period, as in macro_observation.json: a month is its first day.
valuenumberyesIn unit x unit_multiplier. Always finite; a period with nothing to compute from (a year-over-year base absent or zero, no row stating the figure) has no row.
unitstringyespercent.
unit_multiplierinteger, 1–yes1.
compared_withstring or null, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yesYear over year: the input's period 12 months earlier, the base of the change; null for a value over rows.
creditstringyesThe series' attribution text. Whoever shows the value shows this text.
rows_usedinteger or null, 1–yesA value over rows: how many issuers, banks, companies or counted deals it is computed from, so a jump caused by an issuer entering the file can be told from a real one; null for a year-over-year value.
provisionalboolean or nullyestwrealprice series only: true for the latest three months of the all-Taiwan series (the newest seasons are still being filed and revised; the figure moves). false for every other month; null for every other kind of series.

macro_derived_series#

MacroDerivedSeries. macro_derived_series.json

A series Aggre computes on read; nothing is stored and it is not in macro_series.json's catalogue. Four kinds exist today: the year-over-year change of 30 stored series (twtrade, twdgbas), sums and ratios over the rows of the FSC Banking Bureau's issuer and bank files (twfsc), and sums, counts and medians over the companies of the exchange's monthly revenue file (twfsc.revenue*; the medians are computed from the amounts, so they differ slightly from FirstFa's, which takes the median of the printed percentages), and the counted deals and the median price per ping of the Ministry of the Interior's actual-price registry, by month, for Taiwan and six cities (twrealprice.*; monthly over a quarterly dataset, the exact median differs slightly from FirstFa's histogram median). Economy, frequency, source, terms and read state are those of what it is computed from. credit is the publisher's credit followed by a sentence saying Aggre computed the figure. A series computed over an entity dataset is listed only while somebody has read the publisher's terms.

FieldTypeRequiredDescription
series_idstring, pattern ^[a-z0-9_]+\.[a-z0-9_]+$yesThe input's series_id followed by _yoy (e.g. twtrade.exports_yoy), or twfsc.<name>.
sourcestring, pattern ^[a-z0-9_]+$yesThe publisher, as the prefix of series_id.
economystring or null, pattern ^[A-Z]{2}$yesISO 3166-1 alpha-2 country, or EU for the euro area; null for a world or multi-country aggregate.
titlestringyes
descriptionstring or nullyes
unitstringyespercent for a change or a ratio; twd, cards or companies for an amount or a count; deals for counted deals; twd_per_ping for the median price per ping.
unit_multiplierinteger, 1–yesOne stored value is this many units (NT$ million: twd and 1000000).
currencystring or null, pattern ^[A-Z]{3}$yesISO 4217 when the unit is money, else null.
frequencydaily | weekly | monthly | quarterly | annual | irregularyes
seasonal_adjustmentsa | nsa | nayessa, nsa or na of what it is computed from; nsa for a figure computed over rows.
source_urlstring, pattern ^https://yesThe publisher's own page for the series.
terms_urlstring, pattern ^https://yesThe publisher's terms of use or licence page.
terms_read_onstring or null, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yesThe day a person last read those terms for this series; null = nobody has.
creditstringyesThe attribution text the publisher's terms ask for, stored with the series and repeated on every observation. Whoever shows a value shows this text.
last_read_atinteger or nullyesUnix ms of the worker's last successful read of the publisher (also when nothing changed); null = never read.
stale_after_secsinteger or null, 1–yesHow old last_read_at may get before /observations reports meta.status stale; null = not judged.
discontinued_onstring or null, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yesThe day the publisher stopped the series; null = still published.
kind"computed"yesThe value is computed by Aggre, not published by the agency.
inputsarray of string, pattern ^[a-z0-9_]+\.[a-z0-9_]+$yesWhat it is computed from: stored series ids (macro_series.json), macro.dataset ids (twfsc.cards, twfsc.banks) or equities_tw.monthly_revenue.
formulastringyesIn words: what is computed from the inputs and when a period has no value.

macro_observation#

MacroObservation. macro_observation.json

One value of an official macro series for one period, as one read of the publisher gave it. A revised value is a new version of the same period: earlier versions are kept and can be asked for, never overwritten. Each row repeats its series' unit, multiplier and credit.

FieldTypeRequiredDescription
series_idstring, pattern ^[a-z0-9_]+\.[a-z0-9_]+$yes
periodstring, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yesThe period the value is for, as a date: a day is itself, a month its first day, a quarter its first day, a year January 1st; a week the day the publisher dates it by. The series' frequency says which. Never the release day (that is published_on).
valuenumberyesAs stored: value x unit_multiplier is in unit. Always finite: a value the publisher leaves out ('ND', '-', empty) is absent, never zero.
unitstringyesThe series' unit.
unit_multiplierinteger, 1–yesThe series' multiplier: value x unit_multiplier is in unit.
versioninteger, 1–yes1 for the first value read for the period; +1 each time a later read returned a different value or revision label. The default view returns the highest version per period.
revisionstring or null, pattern ^[a-z0-9_]+$yesThe publisher's own label for this vintage (advance, second, third, preliminary, final ...); null when it states none. Never invented.
published_onstring or null, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yesThe release day the publisher states for this value; null when it states none.
first_seen_atintegeryesUnix ms: when Aggre first read this value. as_of= filters on it: what we knew then, not what the publisher knew.
creditstringyesThe series' attribution text. Whoever shows the value shows this text.

macro_series#

MacroSeries. macro_series.json

One official macro series (a policy rate, a price index, a GDP table line) as a publisher defines it. The catalogue row carries what a value means: its unit, multiplier, frequency and seasonal adjustment never change once the series has observations. Values live in macro_observation.json.

FieldTypeRequiredDescription
series_idstring, pattern ^[a-z0-9_]+\.[a-z0-9_]+$yes{source}.{name}, e.g. fed.effr. Stable: a series whose meaning changes gets a new id.
sourcestring, pattern ^[a-z0-9_]+$yesThe publisher, as the prefix of series_id.
economystring or null, pattern ^[A-Z]{2}$yesISO 3166-1 alpha-2 country, or EU for the euro area; null for a world or multi-country aggregate.
titlestringyes
descriptionstring or nullyes
unitstringyesWhat one stored unit is: percent, index, usd, eur, persons, barrels ... Explicit, never implied by the title.
unit_multiplierinteger, 1–yesOne stored value is this many units: billions of dollars = unit usd, unit_multiplier 1000000000. value x unit_multiplier is in unit.
currencystring or null, pattern ^[A-Z]{3}$yesISO 4217 when the unit is money, else null.
frequencydaily | weekly | monthly | quarterly | annual | irregularyes
seasonal_adjustmentsa | nsa | nayessa seasonally adjusted, nsa not adjusted, na not applicable (a policy rate).
source_urlstring, pattern ^https://yesThe publisher's own page for the series.
terms_urlstring, pattern ^https://yesThe publisher's terms of use or licence page.
terms_read_onstring or null, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yesThe day a person last read those terms for this series; null = nobody has.
creditstringyesThe attribution text the publisher's terms ask for, stored with the series and repeated on every observation. Whoever shows a value shows this text.
last_read_atinteger or nullyesUnix ms of the worker's last successful read of the publisher (also when nothing changed); null = never read.
stale_after_secsinteger or null, 1–yesHow old last_read_at may get before /observations reports meta.status stale; null = not judged.
discontinued_onstring or null, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yesThe day the publisher stopped the series; null = still published.

mcp_call#

POST /v1/mcp/call and GET /v1/mcp/tools envelopes (the judgments notes). mcp_call.json

Frozen legacy envelope. Errors on /v1/mcp/call are the flat legacy {error: string}, NOT the structured envelope of error.json.

request

FieldTypeRequiredDescription
nameretrieve | retrieve_batch | search_judgments | get_judgment | lookup_judgment | search_in_judgment | judgment_outlineyesThe seven judgment-related tools. Other legacy tool names are listed by GET /v1/mcp/tools with available=false and answer 501 until their work package lands; an unknown name is 400 before authentication.
argumentsobjectnoThe tool's arguments, exactly the legacy input schema (additionalProperties false).

response

FieldTypeRequiredDescription
namestringyes
resultobjectyesThe same JSON the native route returns as data (the judgments notes), with the same additive fields.

error

FieldTypeRequiredDescription
errorstringyes

tools

FieldTypeRequiredDescription
toolsarray of objectyes
tools[].namestringyes
tools[].descriptionstringyesFrozen text (an LLM reads it). Takedown sentences are generated from the active policy.
tools[].input_schemaobjectyes
tools[].permissionsearch_read | dataset_read | export_writeyesLegacy permission strings (crates/mcp tool_specs); the seven judgment tools are search_read.
tools[].availablebooleannoAdditive. false = listed, not served yet.

onchain_protocol_tvl#

OnchainProtocolTvl. onchain_protocol_tvl.json

One DeFi protocol's total value locked on one UTC day, as the source stated it when we read it. as_of is the day WE read the figure, not a date the source states. A second read of the same day replaces that day's row only when a value changed. A figure the source leaves out is null, never zero.

FieldTypeRequiredDescription
slugstring, pattern ^[a-z0-9][a-z0-9._-]{0,127}$yesThe source's own stable identifier of the protocol, e.g. aave-v3.
as_ofstring, pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$yesThe UTC day this row is for: the day Aggre read the figure.
sourcestringyesThe source id, today defillama.
namestringyesThe protocol's display name as the source states it.
symbolstring or nullyesThe protocol token's ticker as the source states it; null when it has none (the source writes a dash).
categorystring or nullyesThe source's category label, e.g. Lending, Dexs. Free text, not an enum: the source adds categories.
chainstring or nullyesThe source's summary chain label (often Multi-Chain); chains is the list.
chainsarray of stringyesEvery chain the protocol is deployed on, as the source names them.
tvl_usdnumber, 0–yesTotal value locked in US dollars, a JSON number (IEEE double). Not an integer, not rounded.
mcap_usdnumber or null, 0–yesThe protocol token's market capitalisation in US dollars when the source states one.
change_1hnumber or nullyesPercent change of TVL over one hour, as the source states it.
change_1dnumber or nullyesPercent change of TVL over one day, as the source states it.
change_7dnumber or nullyesPercent change of TVL over seven days, as the source states it.
tvl_rankinteger, 1–yes1 is the largest TVL among the protocols stored for that day (ties by slug). Computed by us, not the source's.
urlstring or nullyesThe protocol's own website as the source states it. Informational; never fetched.
chain_tvlsobjectyesChain (or chain-and-kind) label to TVL in US dollars, the numeric entries only, as the source states them.
source_urlstringyesThe exact endpoint this row was read from.
updated_atinteger, int64yesUnix ms of the last time this row's content was written. An identical re-read writes nothing.

open_interest#

Open interest snapshot (finance.market.open_interest). open_interest.json

FieldTypeRequiredDescription
instrument_idstring, pattern ^[A-Z0-9]+:(PERP|FUTURES):\S+$yes
venuestring, pattern ^[A-Z0-9]+$yes
productPERP | FUTURESyes
symbolstringyesNormalised symbol: native without separators, uppercase.
tsintegeryesThe venue's own timestamp of the reading when it gives one, else the collector's clock; Unix milliseconds UTC.
open_interestnumberyesOpen interest in the base asset (coins, not contracts).
open_interest_usdnumbernoOpen interest in USD, present only where the venue states it; never computed by Aggre.
versionintegeryesReplacingMergeTree version; equal to ts.

tickers_latest#

Ticker. tickers_latest.json

The latest ticker of one instrument. One row per instrument, overwritten in place; no history is kept.

FieldTypeRequiredDescription
instrument_idstringyes{VENUE}:{PRODUCT}:{native}, e.g. OKX:SPOT:BTC-USDT.
venuestringyes
productSPOT | PERP | FUTURESyes
symbolstringyes
tsintegeryesUnix ms of the figures: the venue's own timestamp, or the worker's clock when the venue sends none.
pricenumberyes
price_basislast | markyeslast: the last traded price. mark: the venue's mark price, used where the venue publishes no last price in its bulk answer (Hyperliquid).
open_24hnumber or nullnoPrice at the start of the venue's rolling 24 hours (not a UTC day); null where the venue does not send it.
high_24hnumber or nullnoHighest price in the rolling 24 hours; null where the venue does not send it.
low_24hnumber or nullnoLowest price in the rolling 24 hours; null where the venue does not send it.
volume_24hnumber or nullnoBase-asset units traded in the rolling 24 hours.
quote_volume_24hnumber or nullnoQuote-currency units traded in the rolling 24 hours.

Generated from contracts/schemas/*.json when the site is built, so it matches the API contract.