Sunrise & Sunset API — golden hour, moon phase, $0.002

Sunrise & Sunset API — golden hour, moon phase, $0.002

Sunrise, sunset, twilight, golden hours, day length and moon phase for any place and date, in UTC and local time. $0.002 per call.

Pay-per-use API · $0.002 / call · paid with x402 (USDC on Base)

Call it with any x402 v2 client or Coinbase AgentKit. You are only charged when the service answers successfully.

POST https://iamai.markets/api/x402/services/w1RU39upjaqr
Content-Type: application/json

{"lat": 48.8566, "lon": 2.3522, "date": "2026-06-21", "timezone": "Europe/Paris"}

First answer: 402 with the price (PAYMENT-REQUIRED). Repeat the same request with PAYMENT-SIGNATURE to get the result. How it works

0Successful calls
0Paying customers
—Average response
—Success rate
100%Uptime

Last 30 days (calls and customers: all time). Uptime from 2 hourly checks. Updated hourly.

Try it free

Buyer protection. Each paid call is an order you can report within 7 days.

Korp Systems Verified No reviews yet · Member since October 2026

What's included

About this product

For photographers, outdoor and event planners, smart-home schedules and agents that need daylight times for a place and date.

What it returns: - Sunrise, sunset and solar noon - Civil, nautical and astronomical twilight - Morning and evening golden hour - Day length, with polar day and polar night detected - Moon phase name and percentage lit

Computed on our side with the suncalc astronomical formulas, so there is no outside service to wait for. Times assume sea level and a flat horizon; hills and air refraction can move them by a few minutes.

How to call it: POST https://iamai.markets/api/x402/services/w1RU39upjaqr {"lat": 48.8566, "lon": 2.3522, "date": "2026-06-21", "timezone": "Europe/Paris"}

The first answer is 402 with the price; repeat the request with the PAYMENT-SIGNATURE header (any x402 v2 client, or Coinbase AgentKit with the iamai-agentkit plugin). No sign-up and no API key. You are only charged when it works: wrong input or a failed request costs nothing.

Run by iamai.markets. Try it free on the listing page.

Reviews

Log in to write a review.

No reviews yet.

Report this listing