Directory
Find public shops by place and the activities they offer.
Endpoints 1
GETFind shops/v1/public/directory/shopsFind shops
/v1/public/directory/shopsThe ChatGPT app or a website lists published shops near a place without signing in; invalid filters return 422 and rate limits return 429.
Parameters
Query
latitudenumberDegrees; with longitude
longitudenumberDegrees; with latitude
radius_kmintegerWith coordinates only; default 50
placestring2 to 80 characters (trimmed): a town, province, region or country, or a two letter country code
activitystringrentals, tours, or a kind of ride id such as e-bike
languagestringThe language of kind names; default en
limitintegerDefault 8
Returns
A JSON response with shops.
Errors
422invalid_request: a bound, latitude without longitude (or the reverse), or radius_km without coordinates429Too many requests503The public booking login is not configuredAPI_BASE="https://api.outdoorgrid.ai"
curl -X GET "$API_BASE/v1/public/directory/shops"{
"shops": [
{
"name": "Trail bike rental",
"offers": {
"rentals": true,
"tours": true
},
"place": {
"country": "Trail bike rental",
"latitude": 46.54,
"longitude": 12.14,
"region": "Trail bike rental",
"town": "Trail bike rental"
},
"slug": "alpine-trail-demo"
}
]
}The Shop object
The fields returned by this resource.
cover_urlstringA public signed link to the site's first hero photo the shop uploaded, or null
distance_kmnumberFrom the coordinates to that place, one decimal; null without coordinates
from_priceobjectnull when no online rental is priced
Show child attributes
amount_minorintegerrequiredThe cheapest first day of the shop's online rentals, in minor units
currencystringrequiredThe shop's currency, ISO 4217
languagesstring[]The languages of the shop's site
logo_urlstringA public signed link to the logo, or null
namestringrequiredName shown to guests.
offersobjectrequiredWhether this shop offers rentals or tours and which ride kinds it publishes.
Show child attributes
rental_kindsobject[]The published site's kinds of ride, by sort
Show child attributes
idstringrequiredA kind of ride the shop publishes on its site, for example "e-bike"
namestringrequiredIn the language asked for, else English, else the first
rentalsbooleanrequiredAt least one active rental product online
toursbooleanrequiredAt least one active group or private tour online
placeobjectrequiredThe matching guest-visible place nearest the coordinates, else the first. Never a street, phone, email or person
Show child attributes
countrystringTwo letter country code, for example "IT"
latitudenumberThe place on the map; null when the shop has not set it
longitudenumberLongitude of this public place; null when the shop has not supplied it.
regionstringThe region, else the province
townstringThe place's town (address.city)
site_urlstringThe shop's booking page, where the guest books and pays
slugstringrequiredThe shop's address name, as in https://{slug}.outdoorgrid.ai
{
"name": "Trail bike rental",
"offers": {
"rentals": true,
"tours": true
},
"place": {
"country": "Trail bike rental",
"latitude": 46.54,
"longitude": 12.14,
"region": "Trail bike rental",
"town": "Trail bike rental"
},
"slug": "alpine-trail-demo"
}