Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API 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.
openapi: 3.2.0
info:
title: Total Parks Public .well Known API
description: 'Total Parks public API for park discovery, availability, carts, trips, and bookings. Agents should prefer the MCP connector for park Q&A, pet and rig checks, and planning calendars.
## Versioning and deprecation
The current public REST surface is major version 1. Unversioned URL paths (/carts, /properties, and other existing routes) are v1.
Send optional header `API-Version: 1`, or omit the header. Both select v1. An unknown major returns HTTP 400 with application/problem+json.
Additive, backward-compatible changes stay on v1. Breaking changes require a new major version.
When an operation is retired it is marked `deprecated: true` in this document. Responses then include RFC 9745 `Deprecation: @`, RFC 8594 `Sunset: `, and `Link` with `rel="deprecation"`. Deprecated operations remain available for at least 90 days after Sunset is first advertised. The current v1 surface is not deprecated.
## Rate limits
Responses carry the IETF RateLimit fields (draft-ietf-httpapi-ratelimit-headers). `RateLimit-Policy` names each quota policy with its quota `q` and window `w` in seconds. `RateLimit` gives the remaining quota `r` and the seconds `t` until the window resets, for example `RateLimit-Policy: "default";q=300;w=60` and `RateLimit: "default";r=297;t=42`.
The `default` policy is an API-wide budget per caller: anonymous callers are counted per client IP, and PAT or OAuth callers per token. Cart, auth, and booking operations add a tighter `endpoint` policy. When a policy is exceeded the API may answer HTTP 429 with `Retry-After` in seconds. Wait that long before retrying, and pace requests so `r` stays above zero. The policy values are hints, not a service guarantee.'
version: 1.0.0
servers:
- url: https://api.totalparks.com.au
description: Total Parks Public API
tags:
- name: .well Known
paths:
/.well-known/oauth-authorization-server:
get:
tags:
- .well Known
summary: Oauth Authorization Server Metadata
description: RFC 8414 — OAuth 2.0 Authorization Server Metadata.
operationId: oauth_authorization_server_metadata__well_known_oauth_authorization_server_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
parameters:
- $ref: '#/components/parameters/ApiVersion'
/.well-known/oauth-protected-resource:
get:
tags:
- .well Known
summary: Api Protected Resource Metadata
description: RFC 9728 — OAuth 2.0 Protected Resource Metadata for the REST API.
operationId: api_protected_resource_metadata__well_known_oauth_protected_resource_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
parameters:
- $ref: '#/components/parameters/ApiVersion'
/.well-known/agent.json:
get:
tags:
- .well Known
summary: Agent Card
description: Legacy Total Parks agent card for existing local/dev agents.
operationId: agent_card__well_known_agent_json_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
parameters:
- $ref: '#/components/parameters/ApiVersion'
/.well-known/agent-card.json:
get:
tags:
- .well Known
summary: A2A Agent Card
description: A2A Agent Card discovery document.
operationId: a2a_agent_card__well_known_agent_card_json_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
parameters:
- $ref: '#/components/parameters/ApiVersion'
components:
parameters:
ApiVersion:
name: API-Version
in: header
required: false
description: Major API version. Omit or send 1 for the current v1 surface. Retired operations use RFC 9745 Deprecation and RFC 8594 Sunset headers.
schema:
type: string
enum:
- '1'
default: '1'
securitySchemes:
HTTPBearer:
type: http
scheme: bearer
description: Operations that list scopes accept a personal access token (tp_pat_...) carrying those scopes, or a signed-in session token. Signed-in users create personal access tokens, and choose their scopes, at https://totalparks.com.au/account/tokens. Operations that list no scopes expect a signed-in session token.
oauth2:
type: oauth2
description: 'OAuth 2.0 Authorization Code flow. PKCE with S256 is required. Authorization server metadata (RFC 8414): https://api.totalparks.com.au/.well-known/oauth-authorization-server. Protected resource metadata (RFC 9728): https://api.totalparks.com.au/.well-known/oauth-protected-resource. Request only the scopes the operation lists.'
flows:
authorizationCode:
authorizationUrl: https://api.totalparks.com.au/oauth/authorize
tokenUrl: https://api.totalparks.com.au/oauth/token
refreshUrl: https://api.totalparks.com.au/oauth/token
scopes:
bookings:read: View your booking history and booking details
carts:write: Create, modify, prepare, and confirm carts on your behalf
mcp:read: Read public Total Parks MCP property facts and stay assessments
tokens:manage: Create, list, rename, and revoke your personal access tokens
trips:read: View your saved trips
trips:write: Create, change, and delete your saved trips
cartToken:
type: http
scheme: bearer
description: Guest cart token (tp_cart_...) returned by POST /carts. It opens one cart only and is not an OAuth access token.