# Orthogonal Recent Precipitation API

> Orthogonal Recent Precipitation API is a paid API for AI agents from x402.orthogonal.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns detailed information about the most recent precipitation event (rain or snow) for one or more geographic locations, including total amounts, type, timing, and recency.

## Facts

- Endpoint: GET https://x402.orthogonal.com/precip/api/v1/recent-rain
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/orthogonal-recent-precipitation-api-cbf1daed
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GB2GHfaiHRubPggk31rVV

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 orthogonal-recent-precipitation-api-cbf1daed
```

Example prompt: When did it last rain in San Francisco (latitude 37.7575, longitude -122.4262) and how much precipitation fell during that event?

## When to prefer this

Choose this endpoint when you need historical precipitation lookup for specific coordinates — especially the most recent rain or snow event details including amount, type, and timing. It supports batch queries across multiple locations in a single call. Prefer it over general weather APIs when your focus is specifically on past precipitation events rather than forecasts or current conditions.

## Known failure modes

- Missing or invalid latitude/longitude parameters returns an error
- Coordinates outside supported geographic coverage return no data
- Malformed coordinate strings (wrong format) cause parsing errors
- Locations with no recent precipitation may return null or empty event data
- Rate limiting or payment failure (x402) blocks the request

## How this service works

Returns detailed information about the most recent precipitation event for the given location(s), including total amounts, precipitation type (rain/snow), timing, and how long ago it occurred. A rain event is defined as more than 1/10 inch (2.5mm) of precipitation with less than a 24-hour gap between occurrences. | ERROR: Unable to calculate price.

## Output

A JSON response containing details about the most recent precipitation event for each requested location, including total precipitation amount (in inches/mm), precipitation type (rain or snow), event start and end timing, and how long ago the event occurred. A rain event is defined as more than 1/10 inch (2.5mm) of precipitation with less than a 24-hour gap between occurrences.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "format": {
       "type": "string",
       "default": "json"
      },
      "latitude": {
       "type": "string",
       "default": "37.75750,42.35355,29.97991",
       "example": "37.75750,42.35355,29.97991"
      },
      "longitude": {
       "type": "string",
       "default": "-122.42616,-71.06053,-90.07447",
       "example": "-122.42616,-71.06053,-90.07447"
      },
      "timeZoneId": {
       "type": "string",
       "default": "America/Chicago"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/orthogonal-recent-precipitation-api-cbf1daed/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.orthogonal.com](https://www.zero.xyz/host/x402.orthogonal.com/llms.txt)
