/entities/stock
GET/entities/stockapplication/json · application/xml · text/csv
Requires your access key in the X-Dataflow-Key header (or key query parameter). Which parameters and response fields are available to you depends on your contract; your personal OpenAPI spec from /resources/open-api shows your exact surface.
curl -H "X-Dataflow-Key: $DATAFLOW_KEY" \
"https://dataflow.modularfinance.com/api/entities/stock"Query parameters
| Parameter | Type | Description |
|---|---|---|
| countries | string[] | A list of country codes to filter by, e.g. 'US,GB,FR' |
| include-unlisted | boolean | Include companies whose stocks are not currently listed. Default false. |
| company-ids | integer[] | A list of company IDs to filter by |
| market-segment-ids | integer[] | A list of market segment IDs to filter by |
| min-mcap | number | Minimum market capitalization |
| currency | string | Currency for the min-mcap filter and the mcap output field, e.g. 'SEK'. Default 'SEK'. |
| symbols | string[] | A list of stock symbols to filter by |
Response
An array of EntitiesStock rows, streamed for JSON and CSV.
| Field | Type | Description |
|---|---|---|
| company_id | integer | Modular Finance company identifier. |
| currencies | string[] | All currencies the share class trades in. |
| industry | string | Industry classification of the company. |
| isin | string | ISIN of the share class. |
| market_segments | string[] | Market segments the share class trades on. |
| mics | string[] | Market Identifier Codes of all venues the share class trades on. |
| primary_currency | string | Currency the share class primarily trades in (ISO 4217). |
| primary_market_segment | string | The share class's primary market segment. |
| primary_mic | string | Market Identifier Code (ISO 10383) of the primary trading venue. |
| sector | string | Sector classification of the company. |
| stock_id | integer | Modular Finance stock (share class) identifier. |
| stock_name | string | Share class name. |
| symbol | string | Ticker symbol of the share class. |
