Skip to main content
Glama

realtime_weather_api

Get current weather data for any location using coordinates, city names, zip codes, or IP addresses. Returns real-time conditions in JSON or XML format.

Instructions

Current weather or realtime weather API method allows a user to get up to date current weather information in json and xml. The data is returned as a Current Object.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qYesQuery parameter based on which data is sent back. It could be following: Latitude and Longitude (Decimal degree) e.g: q=48.8567,2.3508 city name e.g.: q=Paris US zip e.g.: q=10001 UK postcode e.g: q=SW1 Canada postal code e.g: q=G2J metar: e.g: q=metar:EGLL iata:<3 digit airport code> e.g: q=iata:DXB auto:ip IP lookup e.g: q=auto:ip IP address (IPv4 and IPv6 supported) e.g: q=100.0.0.1

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/BACH-AI-Tools/weatherapi_com'

If you have feedback or need assistance with the MCP directory API, please join our Discord server