# Micro Data API Factory — Weather Forecast

> Micro Data API Factory — Weather Forecast is a paid API for AI agents from micro-data-api-factory.kasanegi123.workers.dev, paid per call via x402, $0.001/call, status down (last checked 2026-09-14).

Returns a multi-day weather forecast for a given location (lat/lon or city name) as AI-readable JSON

## Facts

- Endpoint: GET https://micro-data-api-factory.kasanegi123.workers.dev/weather/forecast
- Price: $0.001/call
- Payment: x402
- Status: down
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/micro-data-api-factory-weather-forecast-91aa12d1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hkhjeftqTLwrJt7NzA07U

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 micro-data-api-factory-weather-forecast-91aa12d1
```

Example prompt: What's the weather forecast for the next 5 days in Chicago? Give me the full daily breakdown.

## When to prefer this

Use this endpoint when you need a lightweight, AI-readable JSON weather forecast accessible via a simple GET request with micropayment (x402 protocol), especially in agentic workflows where you want structured forecast data without OAuth or API key setup. Prefer when location can be expressed as lat/lon or city name and you need 1–N days of forecast data.

## Known failure modes

- Missing or invalid lat/lon and city — returns error if no location is specified
- Invalid city name that cannot be resolved to coordinates
- Days parameter out of supported range — may cap or error
- Cloudflare Worker cold start or downtime — upstream availability issues
- x402 payment not processed — request blocked without valid micropayment

## How this service works

Public-source datasets repackaged as AI-readable JSON, Markdown, and OpenAPI endpoints. 6 datasets, 3000+ items. x402 stub mode experiment.

## Output

A JSON response containing a multi-day weather forecast for the requested location, including daily conditions, temperatures, and other meteorological data for up to the requested number of days.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "lat": {
   "type": "number"
  },
  "lon": {
   "type": "number"
  },
  "city": {
   "type": "string"
  },
  "days": {
   "type": "integer"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/micro-data-api-factory-weather-forecast-91aa12d1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from micro-data-api-factory.kasanegi123.workers.dev](https://www.zero.xyz/host/micro-data-api-factory.kasanegi123.workers.dev/llms.txt)
