Skip to content
API reference menu
REST API / Availability

Availability

Check rental dates and time slots before a guest starts booking.

API endpoint stable

Get rental availability

View as Markdown
GET/v1/public/rental-availability

A shop website reads daily rental availability using its published host or site key; invalid date ranges return 422 and unavailable shops return 404.

Parameters

Query

fromstring · date

First local day, default today

tostring · date

Last local day, default 29 days after from; at most 62 days in all

Header

X-Outdoor-Grid-Site-Keystring

Site key for a shop website server. Optional when the published shop host identifies the shop.

Returns

A JSON response with from, products, to.

Errors

404The shop has no published booking page or online booking is closed.
422A field or parameter failed validation.
Request
API_BASE="https://api.outdoorgrid.ai"
curl -X GET "$API_BASE/v1/public/rental-availability" \
  -H "X-Outdoor-Grid-Site-Key: $SITE_KEY"
Response
{
  "from": "2026-07-18",
  "products": [
    {
      "closed_days": [
        "2026-07-18"
      ],
      "id": "79f21745-76f2-47f2-84f2-75f210f972f2",
      "name": {
        "de": "Trailbike Verleih",
        "en": "Trail bike rental",
        "fr": "Location de vélo trail",
        "it": "Bici da trail"
      },
      "options": [
        {
          "days": [
            {
              "day": null,
              "free": null
            }
          ],
          "id": "98ef4278-9bef-4aef-8def-9cef48c49fef",
          "size_label": "M"
        }
      ]
    }
  ],
  "to": "2026-07-18"
}
API endpoint stable

Get rental slots

View as Markdown
GET/v1/public/rental-slots

A shop website reads whole day and timed rental slots using its published host or site key; incomplete times return 422 and unavailable shops return 404.

Parameters

Query

daystring · daterequired

The local day

startsstring

A chosen time: local "HH:MM" start, with ends

endsstring

A chosen time: local "HH:MM" end, with starts

Header

X-Outdoor-Grid-Site-Keystring

Site key for a shop website server. Optional when the published shop host identifies the shop.

Returns

A JSON response with custom, day, products.

Errors

404The shop has no published booking page or online booking is closed.
422A field or parameter failed validation.
Request
API_BASE="https://api.outdoorgrid.ai"
curl -X GET "$API_BASE/v1/public/rental-slots?day=Trail%20bike%20rental" \
  -H "X-Outdoor-Grid-Site-Key: $SITE_KEY"
Response
{
  "custom": {
    "ends": "Trail bike rental",
    "starts": "Trail bike rental"
  },
  "day": "2026-07-18",
  "products": [
    {
      "closed": true,
      "id": "79f21745-76f2-47f2-84f2-75f210f972f2",
      "name": {
        "de": "Trailbike Verleih",
        "en": "Trail bike rental",
        "fr": "Location de vélo trail",
        "it": "Bici da trail"
      },
      "options": [
        {
          "afternoon": {
            "level": "plenty"
          },
          "custom": {
            "level": "plenty"
          },
          "day": {
            "level": "plenty"
          },
          "id": "98ef4278-9bef-4aef-8def-9cef48c49fef",
          "morning": {
            "level": "plenty"
          },
          "size_label": "M"
        }
      ],
      "periods": {
        "half_day": {
          "from_minor": 4500
        },
        "hourly": {
          "from_minor": 4500
        }
      }
    }
  ],
  "rental_day": {
    "closes": "18:00",
    "opens": "09:00"
  },
  "slots": {
    "afternoon": {
      "ends": "Trail bike rental",
      "starts": "Trail bike rental"
    },
    "morning": {
      "ends": "Trail bike rental",
      "starts": "Trail bike rental"
    }
  }
}
Object

The Availability object

The fields returned by this resource.

asksobject[]

What a guest booking it answers; answers name the ask's item_type_id

Show child attributes
builtinbooleanrequired

True: the answer goes to the rider's own height, weight, shoe or level

helpobject

The line under the question

Show child attributes
destringrequired
enstringrequired
frstringrequired
itstringrequired
item_type_idstring · uuidrequired

The category that asks it: an answer names it back

keystringrequired

A built-in (height_cm, weight_kg, shoe_eu, level) or the shop's own key

kindstring

Built-ins: number, or choice for level

textnumberchoicemulti_choicebooleandate
labelobjectrequired

Translated words in English, Italian, German and French, with fallback to another available language.

Show child attributes
destringrequired
enstringrequired
frstringrequired
itstringrequired
maximumnumber
minimumnumber
optionsobject[]

Choice kinds only

Show child attributes
hintobject

Translated words in English, Italian, German and French, with fallback to another available language.

Show child attributes
destringrequired
enstringrequired
frstringrequired
itstringrequired
keystringrequired
labelobjectrequired

Translated words in English, Italian, German and French, with fallback to another available language.

Show child attributes
destringrequired
enstringrequired
frstringrequired
itstringrequired
perstring

rider: each person on a line of this category; booking: once. Built-ins are rider

riderbooking
requiredboolean
unitstring

Number kinds: cm, kg, EU or the shop's own unit

blurbobject

The longer words of the product

Show child attributes
destringrequired
enstringrequired
frstringrequired
itstringrequired
chartsobject[]

One per part with a size chart

Show child attributes
item_type_idstring · uuidrequired

Identifier of the product part this size chart describes.

measurestringrequired

What the ranges measure; null when the chart has no ranges

height_cmweight_kgshoe_eumondopointage_yearshead_cm
sizesobject[]required

Smallest first

Show child attributes
fitsstring

Who the size fits, in the chart's words; null when it has none

labelstringrequired

Size label displayed to the guest for this fit range.

maxnumberrequired

Not included; null: open above

minnumberrequired

Included; null: open below

closed_daysstring · date[]required

Days a closure of the product's place covers

factsobject[]

The guest visible fields of its item types with its values, in part order then field order, at most 24

Show child attributes
item_type_idstring · uuidrequired

Identifier of the product part that owns this fact.

keystringrequired

The field's key in its item type

kindstringrequired

Value type: text, number, choice, multi_choice, boolean or date.

textnumberchoicemulti_choicebooleandate
labelobjectrequired

The field's label

Show child attributes
destringrequired
enstringrequired
frstringrequired
itstringrequired
textobjectrequired

The value in plain words: '800 Wh', '1,5 kg', the option's label, Yes or No

Show child attributes
destringrequired
enstringrequired
frstringrequired
itstringrequired
unitstring

Number fields: the unit (Wh, mm, kg); else null

valueanyrequired

As stored: a number, an option key, a list of option keys, true or false, text, YYYY-MM-DD

fitobject

The product's build, geometry and fit ranges, when the catalog has them; null when no fit data is available.

Show child attributes
buildobject[]required
Show child attributes
keystringrequired
labelobjectrequired

Translated words in English, Italian, German and French, with fallback to another available language.

Show child attributes
destringrequired
enstringrequired
frstringrequired
itstringrequired
morestringrequired
valuestringrequired
geometryobject[]required
Show child attributes
keystringrequired
labelobjectrequired

Translated words in English, Italian, German and French, with fallback to another available language.

Show child attributes
destringrequired
enstringrequired
frstringrequired
itstringrequired
unitstringrequired
valuesobjectrequired
rangesobject[]required
Show child attributes
best_maxintegerrequired
best_minintegerrequired
fits_maxintegerrequired
fits_minintegerrequired
option_idstring · uuidrequired
sizestringrequired
gearstring

What the product rents: bike or ski (its kind, else its words), other for anything else; the guest flow names its tabs and offers extras by it. Null from a read that does not say

skibikeother
idstring · uuidrequired

Identifier of the rental product whose availability is shown.

imageobject

The product's photo for the Bikes step (the one the fleet shows as its model's): its cover, else its first; null when it has none or the link cannot be made

Show child attributes
altobject

Alternative text for this photo, by language.

Show child attributes
destringrequired
enstringrequired
frstringrequired
itstringrequired
heightinteger

Image height in pixels.

urlstringrequired

Link to the guest-facing image rendition; the link remains usable for several days.

widthinteger

Image width in pixels.

lineobject

The short line under the name: what is included

Show child attributes
destringrequired
enstringrequired
frstringrequired
itstringrequired
modelobject

'Allround, 2026 model': the model the product rents

Show child attributes
destringrequired
enstringrequired
frstringrequired
itstringrequired
nameobjectrequired

Name shown to guests.

Show child attributes
destringrequired
enstringrequired
frstringrequired
itstringrequired
noticeobject

The notice rules its quote uses (its own booking rules, else the shop's), in its place's time zone; days before first_day are too_soon. Null from a read that does not say

Show child attributes
cutoff_todaystring

HH:MM: a rental starting today can be booked until then; null when today is already too soon or closed

first_daystring · daterequired

The first local day a whole-day rental can start (today or later)

max_booking_lead_daysinteger

The latest start is today plus this many days; null when the shop sets no limit

max_rental_daysinteger

The longest rental in days; null when the shop sets none

min_notice_minutesintegerrequired

The least notice before a start

timezonestringrequired

The shop's time zone

todaystring · daterequired

The shop's local date now

optionsobject[]required

Bookable sizes or options.

Show child attributes
daysobject[]required

Availability for each requested local day, expressed in words.

Show child attributes
afternoonobject

Afternoon availability in words; null when the product does not offer afternoons.

Show child attributes
leftinteger

Only when level is few

levelstringrequired

Availability: plenty means at least five free, few means one to four, and full means none.

plentyfewfull
daystring · daterequired

Local calendar day.

freeobjectrequired

Free for a one day rental of that day, in words

Show child attributes
leftinteger

Only when level is few

levelstringrequired

Availability: plenty means at least five free, few means one to four, and full means none.

plentyfewfull
hoursobject

Local pickup, return and half-day times at the product's place, when available.

Show child attributes
afternoonobject

That day's afternoon; null when the day has none

Show child attributes
endsstringrequired

Local end time.

startsstringrequired

Local start time.

closesstringrequired

and brought back by this

morningobject

That day's morning; null when the day has none

Show child attributes
endsstringrequired

Local end time.

startsstringrequired

Local start time.

opensstringrequired

Rentals that day are picked up from this

morningobject

Morning availability in words; null when the product does not offer mornings.

Show child attributes
leftinteger

Only when level is few

levelstringrequired

Availability: plenty means at least five free, few means one to four, and full means none.

plentyfewfull
periodsstring[]

Parts of this day the product offers: full, morning or afternoon.

idstring · uuidrequired

The option_id a rental line books

max_cmnumber

The highest rider height it fits, in cm; null: open or unknown

min_cmnumber

The lowest rider height it fits, in cm: from rider_hint, else the size of the same label on a height chart of the product's parts; null: open or unknown

rider_hintstring

Who the size fits, in the shop's words ('180 to 193 cm')

size_labelstringrequired

Guest-visible size name.

partsobject[]

Product parts and their guest-visible labels.

Show child attributes
asksobject[]

The category's booking questions (its effective guest_fields)

Show child attributes
builtinbooleanrequired

True: the answer goes to the rider's own height, weight, shoe or level

helpobject

The line under the question

Show child attributes
destringrequired
enstringrequired
frstringrequired
itstringrequired
item_type_idstring · uuidrequired

The category that asks it: an answer names it back

keystringrequired

A built-in (height_cm, weight_kg, shoe_eu, level) or the shop's own key

kindstring

Built-ins: number, or choice for level

textnumberchoicemulti_choicebooleandate
labelobjectrequired

Translated words in English, Italian, German and French, with fallback to another available language.

Show child attributes
destringrequired
enstringrequired
frstringrequired
itstringrequired
maximumnumber
minimumnumber
optionsobject[]

Choice kinds only

Show child attributes
hintobject

Translated words in English, Italian, German and French, with fallback to another available language.

Show child attributes
destringrequired
enstringrequired
frstringrequired
itstringrequired
keystringrequired
labelobjectrequired

Translated words in English, Italian, German and French, with fallback to another available language.

Show child attributes
destringrequired
enstringrequired
frstringrequired
itstringrequired
perstring

rider: each person on a line of this category; booking: once. Built-ins are rider

riderbooking
requiredboolean
unitstring

Number kinds: cm, kg, EU or the shop's own unit

glyphstringrequired

A key of the frontend glyph catalogue; null when the category has none

item_type_idstring · uuidrequired

Identifier of this type of product part.

labelobjectrequired

Guest-visible name of the product part, by language.

Show child attributes
destringrequired
enstringrequired
frstringrequired
itstringrequired
pick_sizeboolean

The guest picks a size of this part: the category lets guests pick and has a chart

pick_sizeboolean

The guest picks the size of at least one part

Response
{
  "closed_days": [
    "2026-07-18"
  ],
  "id": "e99e2500-ec9e-4b9e-8e9e-ed9e2b4cf09e",
  "name": {
    "de": "Trailbike Verleih",
    "en": "Trail bike rental",
    "fr": "Location de vélo trail",
    "it": "Bici da trail"
  },
  "options": [
    {
      "days": [
        {
          "day": "2026-07-18",
          "free": {
            "level": "plenty"
          }
        }
      ],
      "id": "77d556ab-78d5-49d5-8ad5-7bd55cf77cd5",
      "size_label": "M"
    }
  ]
}