---
title: "Current weather and a short forecast for anywhere on earth, by place name or by latitude and longitude. Returns temperature, apparent temperature, humidity, precipitation, wind speed and direction, plus a daily high and low for up to seven days. Place names are geocoded for you."
method: POST
path: "/v1/tools/weather"
---

# Current weather and a short forecast for anywhere on earth, by place name or by latitude and longitude. Returns temperature, apparent temperature, humidity, precipitation, wind speed and direction, plus a daily high and low for up to seven days. Place names are geocoded for you.

`POST /v1/tools/weather`

## Request

- Base URL: `https://agents.dexl.io`
- URL: `https://agents.dexl.io/v1/tools/weather`
- Auth: API key in header `X-Payment`

Paid per call via x402. Send without payment to get the exact price in the 402.

## Request body

- object
  - `place` string: Place name, e.g. "Istanbul"
  - `latitude` number
  - `longitude` number
  - `days` integer

## Response `200`

The tool output

## Other responses

- `400`: The input did not match the schema
- `402`: Payment required

---

[API](https://skmtc.dev/dexl/apis/dexl-agents.md) · [All operations](https://skmtc.dev/dexl/apis/dexl-agents/llms.txt) · [OpenAPI document](https://skmtc.dev/dexl/apis/dexl-agents/revisions/e3692765c3f7?raw)
