← Back to directory

Vextorium · Sunrise, sunset & twilight

https://api.vextorium.com/v1/sunrise-sunset

Overview

Sunrise, sunset, solar noon, day length and civil, nautical and astronomical twilight for coordinates and a date, in local time (zone detected from coordinates). Local astronomical calculation; handles polar night and midnight sun.

Protocol x402 (POST)
Price $0.0030
Payment Asset USDC
Payment Network solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Category tools/utilities
Provider vextorium
Source bazaar
Indexed 2026-10-03 23:24:14

Health

Status healthy
Latency (p50) 234ms
Uptime (30d) 100.0%
Reliability Score 95/100
Last Checked 2026-10-31 07:02:53
Last Healthy 2026-10-31 07:02:53
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "body": { "lat": 40.4168, "lon": -3.7038 }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "astronomical_twilight": { "sunrise": "06:41", "sunset": "21:26" }, "civil_twilight": { "sunrise": "07:44", "sunset": "20:23" }, "date": "2026-10-02", "day_length": "11 h 44 min", "lat": 40.4168, "lon": -3.7038, "nautical_twilight": { "sunrise": "07:13", "sunset": "20:54" }, "note": "Accuracy of ±1-2 minutes (Nautical Almanac algorithm).", "solar_noon": "14:03", "sunrise": "08:11", "sunset": "19:56", "zone": "Europe/Madrid" }, "type": "json" }