$ man weather-localize-pack
/weather-localize-pack
PRICE / CALL
$0.03
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
composeCATEGORY
uncategorized
STATUS
● live
NAME
weather-localize-pack — gets local weather and translates the conditions brief in one call
SYNOPSIS
POST https://x402.agentutility.ai/weather-localize-pack
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Gets local weather and translates the conditions brief in one call. Composite: one call runs weather-current-city, then translate over a concise weather summary. Returns the raw Open-Meteo city weather, an English summary, and a localized summary. Use it as a localized weather API, travel weather translator, or multilingual forecast brief.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| city | string | City or place name, e.g. Paris or San Francisco. Max 120 chars. | required |
| target_language | string | Language name or ISO code for the summary translation. | required |
| country_code | string | Optional ISO-2 country code to disambiguate city names. | optional |
| units | string | Weather units. Default metric. enum: metric · imperial | optional |
| forecast_days | number | Daily forecast days to include, 1-7. Default 1. | optional |
| hourly | boolean | Include hourly forecast arrays when true. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| city | string | — |
| target_language | string | — |
| english_summary | string | — |
| localized_summary | string | — |
| composed_of | string | — |
| components | string | — |
| degraded | string | — |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/weather-localize-pack \
-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 weather-localize-pack tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- composeweatherlocalizepackweather-localize-packtranslate
- methods
- POST
- cluster
- compose
- price
- $0.03 USDC per call
ADJACENT — other endpoints in compose
| endpoint | description | price |
|---|---|---|
| address-intel | Address intelligence API for a street address: parse, geocode, timezone, and building permit context in one call. | $0.03 |
| address-intel-pack | Enriches a street address in one call: parse, geocode, timezone, and building permits. | $0.03 |
| address-intelligence | Enriches an address with parsed components, geocoding, timezone, and available city building-permit context. | $0.03 |
| clean-text-pack | Sanitizes raw text in one call: Unicode normalization, homoglyph audit, PII detection, and PII redaction. | $0.03 |
| contact-normalize-pack | Normalizes a contact record in one call, generating stable match keys for email, name, phone, and address plus parsed US address components. | $0.03 |
| crypto-news-brief | Daily crypto news digest for a topic: today's headlines plus a structured research brief with overview, key facts, and recent news with s… | $0.03 |
| email-trust-report | Vets an email address in one call: deliverability, disposable check, DMARC posture, and a dedupe key. | $0.03 |
| flight-brief | Reports live flight status with FAA airport delays and airport info in one call. | $0.03 |
SEE ALSO