DeveloperLive

Weather Forecast API

Weather forecast for any place by city name, or by latitude and longitude, with an optional number of daily forecast days (for example days=7).

$0.0115USDC per call · settled on Base · no subscription, no API key

Overview

Weather forecast for any place by city name, or by latitude and longitude, with an optional number of daily forecast days (for example days=7). Returns the forecast as JSON. One GET per call, no API key.

Endpoint

MethodEndpointPriceDescription
GET/v1/marketplace/api/weather-forecast-2617$0.0115Invoke Weather Forecast (Developer) and return the upstream response.

How to call it

Requests are paid per call over the x402 protocol. Call the endpoint, receive a 402 Payment Required quote, then repeat the request with the signed payment header. The SDKs do both steps for you.

# 1. Ask for a quote
curl -i https://jarvisclaw.ai/v1/marketplace/api/weather-forecast-2617

# 2. Pay it (the SDK signs and retries for you)
curl -H "X-PAYMENT: <signed-payload>" https://jarvisclaw.ai/v1/marketplace/api/weather-forecast-2617
Open in the marketplace

Docs: Getting started · x402 payments · x402 discovery · All APIs