Generated by API Evangelist
Written by API Evangelist tooling for WeatherAPI's API. It is a proposal applied on top of the contract, not a document WeatherAPI publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for WeatherAPI.com Geo API
version: 1.0.0
extends: openapi/weatherapi-geo-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-22'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 4
- target: $.paths['/search.json'].get
update:
x-apievangelist-phrasing:
intent: Autocomplete a city or town name
effect: read
questions:
- How do I suggest cities as a user types a location?
- Can I get matching towns for a partial city name?
instructions:
- text: Autocomplete locations matching {q}.
slots:
q: query.q
- text: Suggest towns for the partial name {q}.
slots:
q: query.q
method: generated
generated: '2026-11-22'
- target: $.paths['/ip.json'].get
update:
x-apievangelist-phrasing:
intent: Geolocate an IP address
effect: read
questions:
- How do I find the country and timezone of an IP address?
- Can I auto-detect the caller's own IP address?
instructions:
- text: Geolocate IP address {q}.
slots:
q: query.q
- text: Look up the timezone for my own IP address.
method: generated
generated: '2026-11-22'
- target: $.paths['/timezone.json'].get
update:
x-apievangelist-phrasing:
intent: Get local time and timezone for a location
effect: read
questions:
- What is the local time and timezone offset for a city?
- Can I look up timezone data for a zip code or airport code?
instructions:
- text: Get the local time and timezone for {q}.
slots:
q: query.q
- text: Tell me the timezone offset of {q}.
slots:
q: query.q
method: generated
generated: '2026-11-22'
- target: $.paths['/astronomy.json'].get
update:
x-apievangelist-phrasing:
intent: Get sunrise, sunset and moon data for a date
effect: read
questions:
- When does the sun rise and set for a location on a given date?
- What is the moon phase and moonrise time for a day?
instructions:
- text: Get sunrise, sunset and moon data for {q} on {dt}.
slots:
q: query.q
dt: query.dt
- text: Tell me the moon phase for {q} on {dt}.
slots:
q: query.q
dt: query.dt
method: generated
generated: '2026-11-22'
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.