Macroeconomic Indicators
List macroeconomic indicators available through Longbridge, optionally filtered by country.
# List all indicators
longbridge macrodata
# Filter by US indicators
longbridge macrodata --country USSDK Links
Parameters
SDK method parameters.
| Name | Type | Required | Description |
|---|---|---|---|
| country | MacroeconomicCountry | NO | Filter by country. Omit for all countries. |
| keyword | string | NO | Fuzzy search by indicator name (case-insensitive) |
| offset | int | NO | Pagination offset. Default: 0 |
| limit | int | NO | Max records per page. Default: 100, max: 1000 |
MacroeconomicCountry
| Value | Country |
|---|---|
| HK | Hong Kong SAR |
| CN | China (Mainland) |
| US | United States |
| EU | Euro Zone |
| JP | Japan |
| SG | Singapore |
Request Example
Response
Response Example
json
{
"count": 619,
"list": [
{
"indicator_code": "61744",
"country": "US",
"name": "Non-Farm Payroll",
"periodicity": "Monthly",
"describe": "Employment situation report...",
"importance": 3
}
]
}Response Status
| Status | Description | Schema |
|---|---|---|
| 200 | Success | MacroeconomicIndicatorListResponse |
| 400 | Bad request | None |
Schemas
MacroeconomicIndicatorListResponse
| Name | Type | Required | Description |
|---|---|---|---|
| list | MacroeconomicIndicator[] | true | Indicator list |
| count | int | true | Total number of matching indicators |
MacroeconomicIndicator
| Name | Type | Required | Description |
|---|---|---|---|
| indicator_code | string | true | Indicator code (use as input to macroeconomic) |
| country | string | true | Country name |
| name | string | true | Indicator name |
| periodicity | string | true | Release periodicity (e.g. Monthly, Quarterly) |
| describe | string | true | Indicator description |
| importance | int | true | Importance level (1 = Low, 2 = Medium, 3 = High) |