Location data, place brief: weather, sunrise and country facts
No account. Pay by card from $1 and your key appears right after payment. Get a key by card
One call for a place by name: its coordinates, country, region, population and elevation (Wikidata), the current weather and a short hourly forecast (MET Norway, CC BY 4.0), today's sunrise, sunset and day length, and facts about its country (capital, region, income level, population). Cheaper than the tools bought one by one. Use for travel planning, event and delivery context, or enriching a city name in a record.
Guide: Weather forecast API
Inputs
| Name | Type | Description |
|---|---|---|
place (required) | string | Place name, such as Stockholm or Lyon, France |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://glyphtools.com/pack/location-brief?place=Stockholm"
Node.js
const r = await fetch("https://glyphtools.com/pack/location-brief?place=Stockholm", {
headers: { Authorization: "Bearer adt_…" },
});
const data = await r.json(); // 402 until the key is in the header
Python
import requests
r = requests.get("https://glyphtools.com/pack/location-brief?place=Stockholm", headers={"Authorization": "Bearer adt_…"}, timeout=60)
data = r.json()
Or one of your 3 free calls, no key — the same request with &trial=1 on the end:
curl "https://glyphtools.com/pack/location-brief?place=Stockholm&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"pack": "location-brief",
"place": {
"name": "Stockholm",
"country": "Sweden",
"lat": 59.3294,
"lon": 18.0686,
"population": 984748
},
"weather": {
"current": {
"time": "2026-11-07T07:00:00Z",
"temperatureC": 2.4,
"conditions": "fair_day",
"windSpeedMs": 4.3,
"humidityPercent": 90.1
},
"forecast": [
{
"time": "2026-11-07T08:00:00Z",
"temperatureC": 2.5,
"conditions": "clearsky_day"
}
],
"source": "MET Norway (api.met.no), licensed CC BY 4.0"
},
"sun": {
"date": "2026-11-07",
"sunrise": "2026-11-07T06:21:06.698Z",
"sunset": "2026-11-07T14:41:42.379Z",
"dayLengthMinutes": 501
},
"country": {
"name": "Sweden",
"iso2": "SE",
"capital": "Stockholm",
"region": "Europe & Central Asia",
"incomeLevel": "High income",
"population": 10596620
},
"failed": {}
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is pack_location_brief, and the first 10 successful calls are free:
https://glyphtools.com/mcp