Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.neariq.io/llms.txt

Use this file to discover all available pages before exploring further.

Market endpoints return market data NearIQ has already collected. They do not trigger live collection.

GET /api/map/businesses

Returns collected market businesses near a map center point. Use this for map pins and nearby market discovery.
curl "https://app.neariq.io/api/map/businesses?lat=30.27&lng=-97.74&radius_km=15&category=gym"
ParameterTypeRequiredNotes
latnumberyesCenter latitude.
lngnumberyesCenter longitude.
radius_kmnumbernoDefaults to 15, max 100.
categorystringnoDefaults to all categories.

GET /api/market/leaderboard

Returns collected market businesses for a city and category.
curl "https://app.neariq.io/api/market/leaderboard?city=Austin&category=restaurant&sort=rating"
ParameterTypeRequiredNotes
citystringyesCity name, for example Austin.
categorystringyesCategory key, for example restaurant.
countrystringnoDefaults to US.
sortstringnoprominence, rating, review_count, velocity, health_score, or newest.
limitnumbernoDefaults to 50, max 100.
offsetnumbernoPagination offset.

Health score

health_score is recalculated before responses are returned. It combines rating strength, review volume, and known live signals such as review velocity, rating trend, and owner response rate when available. Missing live-signal inputs are treated as confidence gaps rather than automatic score penalties or free points.

GET /api/market/stats

Returns aggregate collected market statistics for a city and category.
curl "https://app.neariq.io/api/market/stats?city=Austin&category=restaurant"
Admin market data operations are internal and are not part of the public API contract.