Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint
$ man current-weather-city

/current-weather-city

agentutility / locale / current-weather-city
PRICE / CALL
$0.01
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
locale
CATEGORY
uncategorized
STATUS
live
NAME
current-weather-city current weather city lookup / city-name weather conditions
synonym alias of weather-current-city — reuses the canonical handler.
SYNOPSIS
POST https://x402.agentutility.ai/current-weather-city
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

Current weather city lookup / city-name weather conditions. Geocodes a city name and returns current Open-Meteo conditions with optional forecast, timezone, and alternate place matches.

INPUTrequest schema
propertytypedescriptionreq?
citystringCity or place name.required
country_codestringOptional two-letter ISO country code.optional
unitsstring
enum: metric · imperial
optional
forecast_daysnumberoptional
hourlybooleanoptional
OUTPUTresponse shape
fieldtypedescription
querystring
resolved_locationstring
currentstring
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/current-weather-city \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster
npx -y @agentutility/mcp-<cluster>

# Required: EVM private key with USDC on Base
export X402_PRIVATE_KEY=0x...

# Then call the current-weather-city tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
localecurrentweathercitycurrent-weather-city
methods
POST
cluster
locale
price
$0.01 USDC per call
ADJACENTother endpoints in locale
endpointdescriptionprice
city-weatherCity weather API / current weather by city name / instant weather lookup.$0.01
flight-statusFlight status / live aircraft position / flight tracker / ICAO24 lookup / callsign lookup / aircraft bounding-box / OpenSky Network state…$0.01
property-taxProperty tax lookup.$0.01
property-tax-assessmentProperty tax assessor lookup / parcel record search / assessed value finder / owner-name lookup / lot-and-block lookup / NYC PLUTO + SF A…$0.01
satellite-addressAddress to satellite image / one-call address → cloud-free Sentinel-2 thumbnail / postal-code satellite snapshot / place-name to space view.$0.01
sports-scheduleSports schedule / MLB / NBA / NHL / NFL / WNBA / MLS / EPL / La Liga / Bundesliga / Serie A — next games + recent results / sports schedu…$0.01
weather-current-cityCurrent weather by city / city weather API / instant weather lookup by place name.$0.01
air-qualityAir quality API / AQI / US AQI / European AQI / PM2.5 / PM10 / ozone / nitrogen dioxide / sulphur dioxide / carbon monoxide / Open-Meteo…$0.005
SEE ALSO
agentutility · locale · x402 · mcp · llms.txt · registry.json · bazaar.x402.org