Calculate sunrise, sunset, twilight and moon phase for a location
Calculate sunrise, sunset, twilight and moon phase for a location. Use when an agent needs sunrise, sunset, twilight times or moon phase for a place and date.
Answeringour last check, 2026-11-27
7 of 7checks answered this week
340 msmedian answer time
$0.001listed price per call
$0.001price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://tanod.dev/v1/space/sun-moon
| Category | Everything else |
|---|---|
| Provider host | tanod.dev |
| Networks | eip155:137, eip155:42161, eip155:56, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-27 | valid payment request | 402 | $0.001 | 361 ms |
| 2026-11-26 | valid payment request | 402 | $0.001 | 189 ms |
| 2026-11-25 | valid payment request | 402 | $0.001 | 356 ms |
| 2026-11-24 | valid payment request | 402 | $0.001 | 287 ms |
| 2026-11-23 | valid payment request | 402 | $0.001 | 305 ms |
| 2026-11-22 | valid payment request | 402 | $0.001 | 340 ms |
| 2026-11-21 | valid payment request | 402 | $0.001 | 404 ms |
| 2026-11-20 | valid payment request | 402 | $0.001 | 307 ms |
| 2026-11-19 | valid payment request | 402 | $0.001 | 215 ms |
| 2026-11-18 | valid payment request | 402 | $0.001 | 311 ms |
| 2026-11-17 | valid payment request | 402 | $0.001 | 417 ms |
| 2026-11-16 | valid payment request | 402 | $0.001 | 288 ms |
| 2026-11-15 | valid payment request | 402 | $0.001 | 218 ms |
| 2026-11-14 | no x402 terms | 523 | 3120 ms | |
| 2026-11-13 | valid payment request | 402 | $0.001 | 193 ms |
| 2026-11-12 | valid payment request | 402 | $0.001 | 408 ms |
| 2026-11-11 | valid payment request | 402 | $0.001 | 352 ms |
| 2026-11-10 | valid payment request | 402 | $0.001 | 347 ms |
| 2026-11-09 | valid payment request | 402 | $0.001 | 343 ms |
| 2026-11-08 | valid payment request | 402 | $0.001 | 197 ms |
| 2026-11-07 | valid payment request | 402 | $0.001 | 286 ms |
| 2026-11-06 | valid payment request | 402 | $0.001 | 306 ms |
| 2026-11-05 | valid payment request | 402 | $0.001 | 294 ms |
| 2026-11-04 | valid payment request | 402 | $0.001 | 200 ms |
| 2026-11-03 | valid payment request | 402 | $0.001 | 192 ms |
| 2026-11-02 | valid payment request | 402 | $0.001 | 189 ms |
| 2026-11-01 | valid payment request | 402 | $0.001 | 287 ms |
| 2026-10-31 | valid payment request | 402 | $0.001 | 188 ms |
| 2026-10-29 | valid payment request | 402 | $0.001 | 299 ms |
Example input (from the provider)
{
"body": {
"date": "2026-10-08",
"lat": 14.5995,
"lon": 120.9842,
"tz": "Asia/Manila"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"date": {
"anyOf": [
{
"maxLength": 10,
"minLength": 10,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Local date YYYY-MM-DD (1900-2100); default today."
},
"lat": {
"description": "Latitude in degrees (-90 to 90).",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"lon": {
"description": "Longitude in degrees (-180 to 180).",
"maximum": 180,
"minimum": -180,
"type": "number"
},
"tz": {
"anyOf": [
{
"maxLength": 64,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "IANA time zone for the date and the output (such as Asia/Manila); default UTC."
}
},
"required": [
"lat",
"lon"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"description": "Abridged to fit the header. Full example: the 402 JSON body. Full schema: https://tanod.dev/openapi.json POST /v1/space/sun-moon",
"properties": {
"accuracy": {
"type": "string"
},
"date": {
"type": "string"
},
"lat": {
"type": "number"
},
"lon": {
"type": "number"
},
"method": {
"type": "string"
},
"moon": {
"type": "object"
},
"sun": {
"type": "object"
},
"tz": {
"type": "string"
}
},
"required": [
"lat",
"lon",
"date",
"sun",
"moon"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}