# India Weather API — Monsoon Rainfall Forecast by State

> India Weather API — Monsoon Rainfall Forecast by State is a paid API for AI agents from weatherapi.hillguava.xyz, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Returns a 7-day rainfall/precipitation forecast for multiple locations within a specified Indian state, paid per-request via x402 micropayment.

## Facts

- Endpoint: GET https://weatherapi.hillguava.xyz/monsoon/rainfall/%7Bstate%7D
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/india-weather-api-monsoon-rainfall-forecast-by-state-1dd961be
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nJDKeWUUprmxzCTDW8IXT

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-monsoon-rainfall-forecast-by-state-1dd961be
```

Example prompt: What's the 7-day monsoon rainfall forecast for Kerala? Pay the micropayment via x402 and give me precipitation in mm for the sampled locations.

## When to prefer this

Choose this endpoint when you need rainfall or precipitation forecasts specifically for Indian states, want to pay per-call without signing up for an account or API key, and are operating in an x402-capable micropayment environment on Base. Ideal for agents that need occasional India-specific monsoon data rather than a subscription.

## Known failure modes

- Payment not provided or insufficient — returns HTTP 402 requiring x402 USDC payment on Base
- Invalid or unrecognized state name in path — may return empty data array or error
- State name misspelled or not matching expected format — no results returned
- Network timeout or upstream open-meteo outage — service unavailable error
- Rate limiting if too many requests in quick succession

## How this service works

Pay-per-request 7-day weather forecasts for Indian cities. Powered by x402 — pay $0.001 USDC per call on Base, no account or API key needed.

## Output

A JSON object containing the queried state name, the data source (open-meteo), the number of locations sampled, and an array of location objects each with a 7-day array of date-precipitation_mm forecast entries.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "forecast": [
     {
      "date": "2026-06-23",
      "precipitation_mm": 8.2
     }
    ],
    "location": "Kochi"
   }
  ],
  "state": "Kerala",
  "source": "open-meteo",
  "locations_sampled": 3
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/india-weather-api-monsoon-rainfall-forecast-by-state-1dd961be/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from weatherapi.hillguava.xyz](https://www.zero.xyz/host/weatherapi.hillguava.xyz/llms.txt)
