# Weather Lookup (Current + 7-Day Forecast)

> Weather Lookup (Current + 7-Day Forecast) is a paid API for AI agents from api.strale.io, paid per call via x402, $0.054001/call, status unknown (last checked 2026-09-14, last successful call 2026-08-12).

Returns current weather conditions and a 7-day forecast for a given city name or lat/lon coordinates, powered by Open-Meteo.

## Facts

- Endpoint: GET https://api.strale.io/x402/weather-lookup
- Price: $0.054001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Last successful call: 2026-08-12
- Success rate: 97% of calls made through Zero
- Rating: 4.3 / 5 from 1 review
- Activations on Zero: 37
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-strale-io-fa21eeb3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iej88fiKfvxHXJvciXDkG

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 api-strale-io-fa21eeb3
```

Example prompt: What's the current weather and 7-day forecast for Berlin? Search by city name.

## When to prefer this

Use this endpoint when you need current conditions plus a 7-day forecast by city name or coordinates, especially when you want Open-Meteo data without managing API keys or CORS — and when you can pay per-call via x402 microtransaction.

## Known failure modes

- City name not found or ambiguous — returns an error or empty result
- Missing both city and coordinates — validation error due to no location provided
- Invalid coordinate values (out of range) — may return an error or unexpected result
- Open-Meteo upstream unavailable — service may return a 5xx error

## How this service works

Get current weather and 7-day forecast for any location. Uses Open-Meteo API. Search by city name or coordinates.

## Output

Returns current weather conditions (temperature, weather code, wind speed, etc.) and a 7-day daily forecast for the requested location, sourced from the Open-Meteo API.

## Example request

```json
{
 "city": "London"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "city": {
   "type": "string"
  },
  "latitude": {
   "type": "number"
  },
  "longitude": {
   "type": "number"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "current": {
  "type": "object"
 },
 "location": {
  "type": "string"
 },
 "forecast_7day": {
  "type": "array"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-strale-io-fa21eeb3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
