# Weatherbit Weather API (via Magnum.ai)

> Weatherbit Weather API (via Magnum.ai) is a paid API for AI agents from magnum-ai-flame.vercel.app, paid per call via x402, $0.12/call, status unknown (last checked 2026-09-14).

Returns current weather data, forecasts, and meteorological information for a given location using the Weatherbit API, accessed via Magnum.ai's pay-per-call marketplace on Base chain.

## Facts

- Endpoint: POST https://magnum-ai-flame.vercel.app/api/weatherbit-v1-mashape
- Price: $0.12/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/weatherbit-weather-api-via-magnum-ai-a063adef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PBuNS8rMP5KI4dI76OAhA

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 weatherbit-weather-api-via-magnum-ai-a063adef -d '<json body>'
```

Example prompt: What's the current weather in Austin, Texas — temperature, humidity, wind speed, and general conditions?

## When to prefer this

Choose this endpoint when you need structured weather data (current conditions or forecasts) for a specific location and are operating within an x402/Base chain payment environment. Prefer over direct Weatherbit API calls when you want pay-per-call billing without managing API keys, or when integrating with other Magnum.ai endpoints in the same pipeline.

## Known failure modes

- Invalid or unrecognized location input returns an error or empty result
- Missing required location parameter causes a 400-level error
- Payment failure or insufficient USDC balance blocks the request via x402
- Weatherbit upstream outage causes a 503 or timeout
- Rate limiting from underlying Weatherbit API returns an error response

## How this service works

Pay-per-call API marketplace with 150 endpoints powered by x402 payments on Base chain.

## Output

Returns a result object containing weather data such as temperature, humidity, wind speed, precipitation, UV index, and weather condition descriptions for the queried location, sourced from Weatherbit.

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "example": {
  "result": {
   "data": "example response"
  }
 },
 "properties": {
  "result": {
   "type": "object",
   "description": "API response data"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/weatherbit-weather-api-via-magnum-ai-a063adef/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from magnum-ai-flame.vercel.app](https://www.zero.xyz/host/magnum-ai-flame.vercel.app/llms.txt)
