zapi.
APIsPricingDocsMCP
APIsPricingDocsMCP
Sign in
zapi.
APIsPricingDocsMCP
APIsPricingDocsMCP
Sign in
Web Tools/Weather Forecast
Logo Weather Forecast

Weather Forecast

Retrieve current weather conditions and forecast for a geographic location.

1 endpoint1 endpoint on this scraper7 calls7 calls so farupdated 3 months agoLast updated 6/13/2026, 2:24:53 AMllms.txt
Endpoints1

1/1 passing
checked 20 hours ago · daily 01:00 WIB

Weather Forecast

Get current and forecast weather data for a location.

GET/v1/web-tools:weather/forecast5m cache3 paramschecking key…
Parameters
latnumberrequired

Latitude (-90..90)

lonnumberrequired

Longitude (-180..180)

daysnumber

Forecast days (1-7). Default 3

·
Response
EXAMPLE
{
  "ok": true,
  "daily": {
    "time": [
      "2026-05-27",
      "2026-05-28",
      "2026-05-29"
    ],
    "precipitation_sum": [
      0,
      0,
      0.7
    ],
    "temperature_2m_max": [
      32.2,
      32.7,
      33.1
    ],
    "temperature_2m_min": [
      24.1,
      22.9,
      23.9
    ]
  },
  "current": {
    "time": "2026-05-27T20:45",
    "interval": 900,
    "weather_code": 0,
    "temperature_2m": 27.6,
    "wind_speed_10m": 4.9,
    "relative_humidity_2m": 82
  },
  "latitude": -6.221441,
  "timezone": "Asia/Jakarta",
  "elevation": 12,
  "longitude": 106.856186,
  "daily_units": {
    "time": "iso8601",
    "precipitation_sum": "mm",
    "temperature_2m_max": "°C",
    "temperature_2m_min": "°C"
  },
  "current_units": {
    "time": "iso8601",
    "interval": "seconds",
    "weather_code": "wmo code",
    "temperature_2m": "°C",
    "wind_speed_10m": "km/h",
    "relative_humidity_2m": "%"
  },
  "generationtime_ms": 0.1575946807861328,
  "utc_offset_seconds": 25200,
  "timezone_abbreviation": "GMT+7"
}

Code

Weather Forecast
index.ts
// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";

const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });

const data = await client.run("web-tools:weather", "forecast", {
  "lat": -6.2088,
  "lon": 106.8456,
  "days": 3
});
console.log(data);
Recommended · typed errors, safe retries and bulk jobsSDK reference

Full reference

1 endpoint · plain text
GET
Weather Forecast/v1/web-tools:weather/forecast
3 params

Parameters

latnumberrequired
Latitude (-90..90)
lonnumberrequired
Longitude (-180..180)
daysnumberoptional
Forecast days (1-7). Default 3

Request

curl -X GET "https://api.zapi.ink/v1/web-tools:weather/forecast?lat=-6.2088&lon=106.8456&days=3" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "ok": true,
  "daily": {
    "time": [
      "2026-05-27",
      "2026-05-28",
      "2026-05-29"
    ],
    "precipitation_sum": [
      0,
      0,
      0.7
    ],
    "temperature_2m_max": [
      32.2,
      32.7,
      33.1
    ],
    "temperature_2m_min": [
      24.1,
      22.9,
      23.9
    ]
  },
  "current": {
    "time": "2026-05-27T20:45",
    "interval": 900,
    "weather_code": 0,
    "temperature_2m": 27.6,
    "wind_speed_10m": 4.9,
    "relative_humidity_2m": 82
  },
  "latitude": -6.221441,
  "timezone": "Asia/Jakarta",
  "elevation": 12,
  "longitude": 106.856186,
  "daily_units": {
    "time": "iso8601",
    "precipitation_sum": "mm",
    "temperature_2m_max": "°C",
    "temperature_2m_min": "°C"
  },
  "current_units": {
    "time": "iso8601",
    "interval": "seconds",
    "weather_code": "wmo code",
    "temperature_2m": "°C",
    "wind_speed_10m": "km/h",
    "relative_humidity_2m": "%"
  },
  "generationtime_ms": 0.1575946807861328,
  "utc_offset_seconds": 25200,
  "timezone_abbreviation": "GMT+7"
}

Related APIs

More in web-tools

Jina Reader

web-toolsjina-reader

Convert any webpage ke clean Markdown via Jina Reader — ideal untuk AI/LLM ingestion. Strip nav, ads, scripts; keep title + content.

203203 calls so far5mResponses cached for 5m
Busy: 10+ calls so far

Translate

web-toolstranslate

Translate text between languages.

109109 calls so far5mResponses cached for 5m
Busy: 10+ calls so far

Cek Email Leak

web-toolscek-email-leak

Cek apakah email kamu pernah bocor dalam data breach — daftar sumber kebocoran, tanggal, data yang bocor, dan jumlah yang terdampak.

2727 calls so far1hResponses cached for 1h
Busy: 10+ calls so far

Domain Availability

web-toolsrdap

Check domain registration availability via RDAP protocol.

3030 calls so far5mResponses cached for 5m
Busy: 10+ calls so far

BuiltWith Analyzer

web-toolsbuiltwith

Tech stack detector — framework, CMS, analytics, CDN, dan lainnya.

1414 calls so far1hResponses cached for 1h
Busy: 10+ calls so far

Wayback Machine

web-toolswayback

Lookup archived snapshot dari Internet Archive Wayback Machine — find historical version of any URL by date.

44 calls so far5mResponses cached for 5m
zapi.

One key, one response shape. We keep the scrapers working.

Get an API key
ProductBrowse APIsPricingDocsMCP server
DevelopersSDK on npmGitHubOpenAPI specllms.txt
SupportReport an issueDiscord
LegalTermsPrivacyCookiesAUPRefunds
© 2026 ZapiPublic web data, one API.
zapi.