Search Indicators

Full-text search across all available macroeconomic indicators.

GET /api/indicators/search

Searches curated indicators by text, concept, and country.

Endpoint

GET /api/indicators/search

Query Parameters

NameTypeDescription
qstringFull-text query.
conceptstringOptional standardized concept key. Invalid concept keys return 404.
countryISO country codeNarrows results to country-specific variants when available.
preferredCountryISO country codeRanking hint for generic searches. Ignored when country is set or the text query names a country.
limitnumberMaximum result count. Non-numeric values are ignored.

Example

GET /api/indicators/search?q=inflation&country=US&limit=10

Response

The response is the same programmatic search surface used by the indicator library UI. It includes matching indicators, concept metadata, country availability where available, and release-family summaries.

preferredCountryCode is returned when a country preference was applied as a ranking hint. It is not a filter; use country when you need country-scoped results only.

Relevance Disclosure

Search relevance is benchmarked separately in docs/search-relevance-baseline.md. The API returns ranked matches; callers should not treat every result as a perfect semantic match.