# 24K Labs Current Weather by Lat/Lon

> 24K Labs Current Weather by Lat/Lon is a paid API for AI agents from api.24klabs.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Returns current temperature, wind speed, humidity, and weather conditions for any geographic coordinate pair, powered by Open-Meteo (no API key required).

## Facts

- Endpoint: POST https://api.24klabs.ai/api/weather-current
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/24k-labs-current-weather-by-lat-lon-47e3e3ca
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pNOvfE3HKogdANMQYbAeS

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 24k-labs-current-weather-by-lat-lon-47e3e3ca -d '<json body>'
```

Example prompt: What's the current temperature, wind speed, and humidity at latitude 40.7128, longitude -74.0060?

## When to prefer this

Choose this endpoint when you need a quick, keyless, real-time weather lookup by geographic coordinates and do not require a forecast or historical data. It is ideal for agents that already have lat/lon from a geocoding step and need current atmospheric conditions cheaply ($0.003/call) without managing an API key. Prefer this over a full weather API integration when the use case is purely present-moment conditions rather than hourly or daily forecasts.

## Known failure modes

- Invalid or out-of-range latitude/longitude values (e.g. lat > 90 or lon > 180) may return a 400 error
- Coordinates over ocean or remote areas may return limited data from Open-Meteo's interpolated grid
- Open-Meteo upstream outage could cause 502 or timeout responses
- Malformed request body (missing required lat/lon fields) returns a validation error

## How this service works

Current temperature, wind, humidity, and conditions for any lat/lon (Open-Meteo, keyless).

## Output

Returns current weather observations for the given coordinates including temperature (likely in Celsius or Fahrenheit), wind speed and direction, relative humidity percentage, and a description of current sky/precipitation conditions. Data is sourced from Open-Meteo and reflects near-real-time atmospheric readings.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "lat": {
   "type": "number"
  },
  "lon": {
   "type": "number"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "temperature_c": 12.3
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/24k-labs-current-weather-by-lat-lon-47e3e3ca/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.24klabs.ai](https://www.zero.xyz/host/api.24klabs.ai/llms.txt)
