Gale AI API

The Gale AI API brings Tomorrow.io's weather intelligence to your application. Ask weather questions in plain language and generate structured weather summaries- no need to assemble raw data yourself.

Endpoints

EndpointMethodPurpose
Ask a weather questionPOST /v4/gale-ai/chatAsk a natural-language weather question and get a conversational answer. Supports multi-turn conversations and optional map links.
Weather summaryPOST /v4/gale-ai/summaryGet a structured weather summary for a location across a specific time window.
📘

Enabling access

Gale AI API access is a premium API. If you receive an authorization error, contact your Tomorrow.io account manager to have it enabled.

Usage & Quota

Each successful call consumes one Gale interaction from your account's quota. Validation errors (400/404) do not count against your quota.

  • Every response returns your remaining balance in the X-Quota-Remaining-Gale header.
  • When your balance reaches zero, requests return 402 Payment Required with error code GALE_QUOTA_LIMIT_REACHED.
📘

Out of interactions?

Contact your account manager to add more Gale credits.

Common Conventions

These apply to both endpoints:

ConceptNotes
Response envelopeSuccessful responses wrap the payload in a data object. Every response includes a request id — include it when contacting support.
Unitsunits accepts metric (default) or imperial.
Languagelanguage overrides your account's default response language.
Timezonetimezone accepts an IANA zone (e.g. America/New_York) and anchors all time phrasing. Invalid zones return 400. Omit to use the location's local timezone.
ErrorsError responses use the shape { "data": { "error": "..." } }.

Next steps