Skip to main content

Overview

This is the core SkyMatch endpoint. Call it when a user selects a booking slot — pass the location, time, and activity type, and get back a clear recommendation.

Query parameters

float
required
Latitude of the venue or location.
float
required
Longitude of the venue or location.
string
required
Start time of the booking in ISO 8601 format (UTC). Example: 2026-04-24T18:30:00Z
integer
required
Length of the session in minutes. For example: 60, 90, 120.
string
Activity type. Defaults to outdoor if not provided. See supported sports for all valid values.

Example request

Response

Response fields

integer
A score from 0–100 indicating how suitable conditions are. Higher is better. See the scoring guide for how this is calculated.
string
One of three values:
  • safe_to_book — score is 80 or above, conditions look good
  • proceed_with_caution — score is 50–79, conditions are marginal
  • not_recommended — score is below 50, high cancellation risk
string
Rain risk level: low, medium, or high.
string
Wind risk level: low, medium, or high.
float
Expected temperature in Celsius at the start of the session.
string
A human-readable summary suitable for displaying directly to your end users.
string
ISO 8601 timestamp of when this forecast was generated (UTC).

Showing results to users

The summary field is designed to be shown directly in your UI. For example:
Recommended — Good conditions for outdoor padel.
Or for a caution case:
⚠️ Marginal conditions — Light rain possible. Consider an indoor backup.
You can also use playability_score to drive a visual indicator like a colour-coded badge or progress bar.