Map Activities
Lightweight viewport-aware activity pins for the map.
Performance contract: * Single SQL pass via PostGIS GIST index on Activity.location. * No N+1 (no relationship loads). * Payload ~12 fields/row vs ~50 in /api/activities. * Hard cap 250 rows. Beyond that → truncated:true, message hint.
Safety contract: * Only activities with PostGIS location (the same Location Truth Spine rule as /api/activities — physical-unknown activities don't appear). * Public visibility only. * Lifecycle: cancelled / expired / archived / retained / anonymized excluded. * Age rating: minor accounts only see allowed ratings (mirrors /api/activities behaviour).
Request
- Base URL: https://api.activitia.net (the document declares no server; this is the origin it was published from)
- URL: https://api.activitia.net/api/map/activities
- Auth: none declared
Query parameters
Viewport north latitude
Viewport south latitude
Viewport east longitude
Viewport west longitude
Map zoom level
ISO code or country name
Activity category (URL-safe ' and ' for ' & ')
Only free activities (cost = 0 / null)
Title / venue / city search
Include online/hybrid activities even without a viewport pin
Headers
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.