# Cinderwright API Hub – Weather Lookup

> Cinderwright API Hub – Weather Lookup is a paid API for AI agents from api.ideafactorylab.org, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Returns current weather conditions (temperature, humidity, condition) for a given city name

## Facts

- Endpoint: GET https://api.ideafactorylab.org/x402/weather
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cinderwright-api-hub-weather-lookup-1681fc25
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1UoswtoDb5JxozAdq_Vob

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 cinderwright-api-hub-weather-lookup-1681fc25
```

Example prompt: What's the current weather in Paris right now — temperature and conditions?

## When to prefer this

Choose this endpoint when you need lightweight, pay-per-use current weather data for a named city without committing to a subscription or managing a separate weather API key. It is especially suitable for AI agents that call weather infrequently and want a single unified key for multiple data types. For high-frequency polling or historical data, a dedicated weather API may be more cost-effective.

## Known failure modes

- Unknown or misspelled city name returns an error or empty result
- Network timeout if the upstream data provider is slow
- Invalid API key or exhausted trial credit returns a 402 Payment Required response
- City name ambiguity (e.g. multiple cities named Springfield) may return results for the wrong location

## How this service works

900+ pay-per-use data services for AI agents. One key unlocks weather, finance, geolocation, GitHub stats, DNS, Wikipedia, science, health, food, sports, music, trivia and more. No subscriptions, no per-service API keys. Generate a free trial key with $0.10 credit in one POST request, no wallet required.

## Output

A JSON object containing the city's current temperature in both Celsius and Fahrenheit, humidity percentage, location name, and a short textual weather condition description (e.g. 'Cloudy', 'Sunny').

## 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",
     "required": [
      "city"
     ],
     "properties": {
      "city": {
       "type": "string",
       "description": "City name"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "temp_c": "15",
  "temp_f": "59",
  "humidity": "78",
  "location": "London",
  "condition": "Cloudy"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cinderwright-api-hub-weather-lookup-1681fc25/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.ideafactorylab.org](https://www.zero.xyz/host/api.ideafactorylab.org/llms.txt)
