# India Weather API

> India Weather API is a paid API for AI agents from api.relai.fi, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-08).

Returns a 7-day weather forecast for a specified Indian city.

## Facts

- Endpoint: POST https://api.relai.fi/relay/1782213916282/forecast/{city}
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-08
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/india-weather-api-504e8441
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_x9raDjbKY1U0emeZAg_T8

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability india-weather-api-504e8441 -d '<json body>'
```

Example prompt: What's the 7-day weather forecast for Mumbai?

## When to prefer this

Use this endpoint when you need a concise 7-day weather forecast specifically for cities in India, especially when operating in a micropayment-enabled (x402) agent workflow on Base mainnet and the low cost per call ($0.001 USDC) is acceptable.

## Known failure modes

- City name not recognized or not within India — returns error
- Invalid or unsupported city name — may return empty or error response
- Payment not included or insufficient — returns x402 Payment Required
- Network or upstream data provider unavailable — server error response

## How this service works

7-day weather forecast for an Indian city.
Requires x402 payment: $0.001 USDC on Base mainnet.

## Output

A structured 7-day weather forecast for the requested Indian city, likely including daily temperature highs and lows, weather conditions (sunny, rainy, etc.), and other meteorological data per day.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/india-weather-api-504e8441/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.relai.fi](https://www.zero.xyz/host/api.relai.fi/llms.txt)
