# India Weather API — State Rainfall Forecast

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

Returns a 5-day rainfall forecast for an Indian state using representative city samples as data points.

## Facts

- Endpoint: POST https://api.relai.fi/relay/1782213916282/monsoon/rainfall/{state}
- Price: $0.005/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-state-rainfall-forecast-4330ca90
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fp0sgABJW0KAAAdBdKdD6

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-state-rainfall-forecast-4330ca90 -d '<json body>'
```

Example prompt: What's the 5-day rainfall forecast for Maharashtra? I need the monsoon rainfall breakdown using city-level samples across the state.

## When to prefer this

Use this endpoint when you need rainfall or monsoon precipitation forecasts scoped to a specific Indian state, particularly when city-level sampling within the state is valuable. Ideal for agricultural planning, travel preparation, or logistics in India during monsoon season.

## Known failure modes

- Invalid or unrecognized state name returns an error or empty result
- State with no representative city data may return incomplete forecast
- Payment failure via x402 protocol blocks access to the endpoint
- Network timeout or relay service downtime returns a 5xx error
- Malformed POST body may result in 400 Bad Request

## How this service works

5-day rainfall view using representative city samples per state.

## Output

A 5-day rainfall forecast for the requested Indian state, derived from representative city samples within that state, including precipitation data per sample city and time period.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/india-weather-api-state-rainfall-forecast-4330ca90/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)
