Yondry Demo API
The demo API from Yondry, for demo.
The demo API from Yondry, for demo.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/yondry-app:yondry-app-demo-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Yondry Demo API
version: 0.1.0
tags:
- name: demo
paths:
/api/v1/demo/plan:
post:
tags:
- demo
summary: Demo Plan
description: 'Keyless planner for the public demo page. Internally authenticates as the
demo B2B tenant — no X-API-Key header required from the caller.
Abuse protection: Origin allowlist + per-IP rate limit + tenant monthly cap.'
operationId: demo_plan_api_v1_demo_plan_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/DemoPlanRequest'
required: true
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/DemoPlanResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/demo/track:
post:
tags:
- demo
summary: Demo Track
description: 'Record that a partner''s demo link was opened.
Returns 204 whatever happens. This is fired from the page on load, so a
failure here must be invisible to the visitor — a prospect must never see
the demo break because attribution had a bad day.'
operationId: demo_track_api_v1_demo_track_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/DemoTrackRequest'
required: true
responses:
'204':
description: Successful Response
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
PlanningConflictOut:
properties:
type:
type: string
title: Type
stop_name:
type: string
title: Stop Name
detail:
type: string
title: Detail
suggestion:
type: string
title: Suggestion
type: object
required:
- type
- stop_name
- detail
- suggestion
title: PlanningConflictOut
TransitionSegment:
properties:
mode:
type: string
title: Mode
minutes:
type: integer
title: Minutes
distance_km:
type: number
title: Distance Km
is_estimated:
type: boolean
title: Is Estimated
default: true
type: object
required:
- mode
- minutes
- distance_km
title: TransitionSegment
description: Travel segment between two consecutive stops within the zone.
DiscoveryConstraints:
properties:
max_travel_minutes:
type: integer
title: Max Travel Minutes
vibe_keywords:
items:
type: string
type: array
title: Vibe Keywords
must_haves:
items:
type: string
type: array
title: Must Haves
exclusions:
items:
type: string
type: array
title: Exclusions
type: object
required:
- max_travel_minutes
title: DiscoveryConstraints
description: Spatial/vibe constraints when the user wants us to find a destination.
AlternativeStop:
properties:
name:
type: string
title: Name
category:
type: string
title: Category
why:
type: string
title: Why
type: object
required:
- name
- category
- why
title: AlternativeStop
description: A backup option suggested alongside a primary plan stop.
JourneySegment:
properties:
from_location:
type: string
title: From Location
to_location:
type: string
title: To Location
mode:
type: string
title: Mode
minutes:
type: integer
title: Minutes
depart_time:
type: string
format: date-time
title: Depart Time
type: object
required:
- from_location
- to_location
- mode
- minutes
- depart_time
title: JourneySegment
description: Arrival or return leg between the user's start location and the destination zone.
PlannerIntent:
properties:
moods:
items:
type: string
type: array
title: Moods
place_types:
items:
type: string
type: array
title: Place Types
duration_hours:
anyOf:
- type: number
- type: 'null'
title: Duration Hours
companions:
items:
type: string
type: array
title: Companions
time_of_day:
anyOf:
- type: string
- type: 'null'
title: Time Of Day
budget:
anyOf:
- type: string
- type: 'null'
title: Budget
excluded_place_types:
items:
type: string
type: array
title: Excluded Place Types
prefer_discovery:
type: boolean
title: Prefer Discovery
default: false
vibe_conflicts:
items:
type: string
type: array
title: Vibe Conflicts
planning_mode:
anyOf:
- type: string
enum:
- local
- known_day_trip
- discovery_day_trip
- away_trip
- type: string
- type: 'null'
title: Planning Mode
destination:
anyOf:
- type: string
- type: 'null'
title: Destination
discovery_constraints:
anyOf:
- $ref: '#/components/schemas/DiscoveryConstraints'
- type: 'null'
start_location_type:
anyOf:
- type: string
enum:
- home
- custom
- current_location
- future_location
- type: string
- type: 'null'
title: Start Location Type
arrival_transport:
anyOf:
- type: string
- type: 'null'
title: Arrival Transport
local_transport:
anyOf:
- type: string
- type: 'null'
title: Local Transport
duration_minutes:
anyOf:
- type: integer
- type: 'null'
title: Duration Minutes
start_time:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Start Time
must_include_meal:
type: boolean
title: Must Include Meal
default: false
constraints_inferred:
items:
type: string
type: array
title: Constraints Inferred
ambiguity_flags:
items:
type: string
type: array
title: Ambiguity Flags
first_time_visitor:
anyOf:
- type: boolean
- type: 'null'
title: First Time Visitor
named_landmarks:
items:
type: string
type: array
title: Named Landmarks
type: object
title: PlannerIntent
description: Structured intent extracted from a free-text query by Claude Haiku.
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
DemoPlanRequest:
properties:
lat:
type: number
maximum: 90.0
minimum: -90.0
title: Lat
lon:
type: number
maximum: 180.0
minimum: -180.0
title: Lon
query:
type: string
maxLength: 500
minLength: 1
title: Query
transport:
type: string
pattern: ^(driving|walking|cycling|tube)$
title: Transport
default: walking
radius_m:
type: number
maximum: 50000.0
exclusiveMinimum: 0.0
title: Radius M
default: 2000.0
partner:
anyOf:
- type: string
maxLength: 100
- type: 'null'
title: Partner
session_id:
anyOf:
- type: string
maxLength: 64
- type: 'null'
title: Session Id
type: object
required:
- lat
- lon
- query
title: DemoPlanRequest
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
DemoPlanResponse:
properties:
query:
type: string
title: Query
intent:
$ref: '#/components/schemas/PlannerIntent'
plans:
items:
$ref: '#/components/schemas/Plan'
type: array
title: Plans
weather:
anyOf:
- type: string
- type: 'null'
title: Weather
generated_at:
type: string
format: date-time
title: Generated At
type: object
required:
- query
- intent
- plans
- weather
- generated_at
title: DemoPlanResponse
TravelLegOut:
properties:
from_stop:
type: string
title: From Stop
to_stop:
type: string
title: To Stop
distance_km:
type: number
title: Distance Km
travel_mins:
type: integer
title: Travel Mins
travel_mode:
type: string
title: Travel Mode
type: object
required:
- from_stop
- to_stop
- distance_km
- travel_mins
- travel_mode
title: TravelLegOut
Plan:
properties:
label:
type: string
title: Label
stops:
items:
$ref: '#/components/schemas/PlanStop'
type: array
title: Stops
summary:
type: string
title: Summary
conflicts:
items:
$ref: '#/components/schemas/PlanningConflictOut'
type: array
title: Conflicts
total_duration_mins:
anyOf:
- type: integer
- type: 'null'
title: Total Duration Mins
plan_notes:
type: string
title: Plan Notes
default: ''
arrival_segment:
anyOf:
- $ref: '#/components/schemas/JourneySegment'
- type: 'null'
return_segment:
anyOf:
- $ref: '#/components/schemas/JourneySegment'
- type: 'null'
buffer_minutes:
type: integer
title: Buffer Minutes
default: 20
travel_note:
type: string
title: Travel Note
default: ''
type: object
required:
- label
- stops
- summary
title: Plan
description: One complete itinerary option returned by Claude Sonnet.
DemoTrackRequest:
properties:
partner:
anyOf:
- type: string
maxLength: 100
- type: 'null'
title: Partner
event:
type: string
const: view
title: Event
default: view
session_id:
anyOf:
- type: string
maxLength: 64
- type: 'null'
title: Session Id
referrer:
anyOf:
- type: string
maxLength: 500
- type: 'null'
title: Referrer
type: object
title: DemoTrackRequest
description: 'Beacon sent when the demo page loads.
Only "view" is accepted here — a plan is recorded by the plan route itself,
so the client cannot inflate the number that matters.'
PlanStop:
properties:
place_id:
anyOf:
- type: string
- type: 'null'
title: Place Id
name:
type: string
title: Name
category:
type: string
title: Category
why:
type: string
title: Why
suggested_duration_minutes:
type: integer
title: Suggested Duration Minutes
is_discovery:
type: boolean
title: Is Discovery
default: false
is_meal:
type: boolean
title: Is Meal
default: false
lat:
anyOf:
- type: number
- type: 'null'
title: Lat
lng:
anyOf:
- type: number
- type: 'null'
title: Lng
admission_price:
anyOf:
- type: string
- type: 'null'
title: Admission Price
alternative_stops:
items:
$ref: '#/components/schemas/AlternativeStop'
type: array
title: Alternative Stops
travel_leg:
anyOf:
- $ref: '#/components/schemas/TravelLegOut'
- type: 'null'
arrival_time:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Arrival Time
transition_to_next:
anyOf:
- $ref: '#/components/schemas/TransitionSegment'
- type: 'null'
type: object
required:
- name
- category
- why
- suggested_duration_minutes
title: PlanStop
description: A single stop in an NL-generated plan.
securitySchemes:
APIKeyHeader:
type: apiKey
in: header
name: X-API-Key
HTTPBearer:
type: http
scheme: bearer