Skip to content

Returns a list of baskets close to a given location. If the location is not valid the user's home location is used. The distance is measured in kilometers.

GET
/api/baskets/nearby

Does not include baskets created by the current user.

Returns 200 and a list of baskets, 400 if the distance is out of range, or 401 if not logged in.

Authorizations

api_key

Requests manipulating data need to supply a CSRF token

TypeAPI Key (header: X-CSRF-Token)

Parameters

Query Parameters

lat
Typestring
Defaultnull
lon
Typestring
Defaultnull
distance
Typestring
Defaultnull
Pattern"\\d+"

Responses

Playground

Authorization
Variables
Key
Value

Samples

cURL
JavaScript
PHP
Python