Skip to content
API reference menu
REST API / Directory

Directory

Find public shops by place and the activities they offer.

API endpoint preview

Find shops

View as Markdown
GET/v1/public/directory/shops

The 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

latitudenumber

Degrees; with longitude

longitudenumber

Degrees; with latitude

radius_kminteger

With coordinates only; default 50

placestring

2 to 80 characters (trimmed): a town, province, region or country, or a two letter country code

activitystring

rentals, tours, or a kind of ride id such as e-bike

languagestring

The language of kind names; default en

limitinteger

Default 8

Returns

A JSON response with shops.

Errors

422invalid_request: a bound, latitude without longitude (or the reverse), or radius_km without coordinates
429Too many requests
503The public booking login is not configured
Request
API_BASE="https://api.outdoorgrid.ai"
curl -X GET "$API_BASE/v1/public/directory/shops"
Response
{
  "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"
    }
  ]
}
Object

The Shop object

The fields returned by this resource.

cover_urlstring

A public signed link to the site's first hero photo the shop uploaded, or null

distance_kmnumber

From the coordinates to that place, one decimal; null without coordinates

from_priceobject

null when no online rental is priced

Show child attributes
amount_minorintegerrequired

The cheapest first day of the shop's online rentals, in minor units

currencystringrequired

The shop's currency, ISO 4217

languagesstring[]

The languages of the shop's site

logo_urlstring

A public signed link to the logo, or null

namestringrequired

Name shown to guests.

offersobjectrequired

Whether 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
idstringrequired

A kind of ride the shop publishes on its site, for example "e-bike"

namestringrequired

In the language asked for, else English, else the first

rentalsbooleanrequired

At least one active rental product online

toursbooleanrequired

At least one active group or private tour online

placeobjectrequired

The matching guest-visible place nearest the coordinates, else the first. Never a street, phone, email or person

Show child attributes
countrystring

Two letter country code, for example "IT"

latitudenumber

The place on the map; null when the shop has not set it

longitudenumber

Longitude of this public place; null when the shop has not supplied it.

regionstring

The region, else the province

townstring

The place's town (address.city)

site_urlstring

The shop's booking page, where the guest books and pays

slugstringrequired

The shop's address name, as in https://{slug}.outdoorgrid.ai

Response
{
  "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"
}