# DopamineDesk Weather Forecast API

> DopamineDesk Weather Forecast API is a paid API for AI agents from ai-data-marketplace-1042299154756.us-central1.run.app, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-16).

Returns current weather conditions and a multi-day forecast (up to 7 days) for a given US city or zip code.

## Facts

- Endpoint: GET https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/weather_forecast
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dopaminedesk-weather-forecast-api-ec752d43
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wl2OLrOne6tiTu2zmRwFU

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 dopaminedesk-weather-forecast-api-ec752d43
```

Example prompt: What's the current weather and 5-day forecast for Seattle, WA? I want temperature, humidity, wind, and rain chances each day.

## When to prefer this

Choose this endpoint when you need pay-per-use, USDC-settled weather data with no subscription or API key management, especially in agent workflows already using x402 v2 micropayment infrastructure. It is well-suited for lightweight automation, one-off lookups, or multi-agent pipelines that need simple current-conditions-plus-forecast data for US locations without committing to a dedicated weather API contract.

## Known failure modes

- Unknown city name returns an error or empty result
- Invalid or non-US zip code may return no data
- days parameter outside 1-7 range may be rejected or clamped
- Missing both city and zip_code may return a validation error
- Service unavailability at the underlying weather data provider may cause 5xx errors

## How this service works

Get current weather conditions and a one-to-seven-day forecast for a geocoded location from Open-Meteo.

## Output

Returns a JSON object with three sections: (1) location — city, state, and country; (2) current — current temperature in °F, humidity percentage, wind speed in mph, and a plain-language condition string (e.g. 'Light Rain'); (3) forecast — an array of daily entries (up to 7 days) each with date, high/low °F, condition string, and precipitation chance percentage.

## 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": {
      "city": {
       "type": "string",
       "description": "City name."
      },
      "days": {
       "type": "integer",
       "description": "Number of forecast days (1-7)."
      },
      "zip_code": {
       "type": "string",
       "description": "US zip code."
      }
     },
     "additionalProperties": true
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "see"
     ],
     "properties": {
      "see": {
       "type": "string"
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "see": "https://ai-data-marketplace-1042299154756.us-central1.run.app/openapi.json"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dopaminedesk-weather-forecast-api-ec752d43/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ai-data-marketplace-1042299154756.us-central1.run.app](https://www.zero.xyz/host/ai-data-marketplace-1042299154756.us-central1.run.app/llms.txt)
