Skip to main content
GET
/
api
/
passport
/
map

Search Passport Locations

Returns coworking locations within a specified distance of a geographic point. Powers the passport/network map feature that lets members discover and access partner spaces.

Authentication

No authentication required.

Query Parameters

latitude
number
required
Latitude of the search centre point.
longitude
number
required
Longitude of the search centre point.
distance
number
required
Search radius (in kilometres).
rootBusinessId
number
Optional root business ID to scope results to a specific network.

Response

Returns an array of location objects with address, coordinates, and business details.

Examples

Search near a location

GET /api/passport/map?latitude=51.5074&longitude=-0.1278&distance=50

TypeScript Integration

import endpoints from '@/api/endpoints'

const response = await httpClient.get(endpoints.passport.getByCenter(51.5074, -0.1278, 50))