get
https://api.localscale.org/v1/localbusiness_nearby
List LocalBusiness records within a radius, nearest first.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Send a valid LocalScale API key in the X-LOCALSCALE-APIKEY header. Pass all three query parameters. For example, latitude=48.8566&longitude=2.3522&radiusKm=10 searches within 10 km of the supplied coordinates.
Response
200 OK returns a JSON array of matching LocalBusiness records, sorted by distanceKm from the search center. Each result includes its stored latitude and longitude. Profile fields, such as city, postalCode, and website, are included when available. If there are no matches, the response is [].
Errors
400 Bad Requestmeans a search parameter is missing or invalid.403 Forbiddenmeans the API key is missing or invalid.429 Too Many Requestsmeans the API key has reached its rate limit.500 Internal Server Errormeans the search could not be completed.
