Api Endpoint

AgentUtility.ai

Sunrise sunset times. Computes sunrise, sunset, solar noon, day length (seconds), and civil / nautical / astronomical twilight begin & end for any latitude/longitude on any date. Also covers golden hour, dawn / dusk, and full astronomy-times. UTC ISO8601 strings. Wraps sunrise-sunset.org's public API — no auth, commercial-OK.

Open interactive test console

Offering

Provider
x402.agentutility.ai
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Weather And Environment
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402.agentutility.ai/astro-times
MIME type
Not provided
First seen
2026-10-16T01:50:53.972Z
Last seen
Tags
locale, astro, times

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.005 USDC
Atomic price: 5000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "payTo": "0x6c0752c09e7F6fA6526fCDf40e456a159ebB5621"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "5000",
    "payTo": "FJqAJ4dXkFbrp3EEo8E9x98iaBGUQwaU8Srz5ePfUXLH"
  }
]

Observed health

Status
Healthy
Latest latency
3589 ms
Average latency
2995 ms
HTTP status
204
Last checked
Reachability
85.7% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "properties": {
        "date": {
          "description": "Date in YYYY-MM-DD. Defaults to today (UTC) if omitted.",
          "type": "string"
        },
        "latitude": {
          "description": "Decimal degrees, range [-90, 90]. Positive north.",
          "type": "number"
        },
        "longitude": {
          "description": "Decimal degrees, range [-180, 180]. Positive east.",
          "type": "number"
        }
      },
      "required": [
        "latitude",
        "longitude"
      ]
    },
    "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 schema

{
  "properties": {
    "example": {
      "properties": {
        "date": {
          "type": "string"
        },
        "location": {
          "properties": {
            "lat": {
              "type": "number"
            },
            "lon": {
              "type": "number"
            }
          },
          "type": "object"
        },
        "source": {
          "type": "string"
        },
        "times": {
          "properties": {
            "astronomical_twilight_begin": {
              "type": "string"
            },
            "astronomical_twilight_end": {
              "type": "string"
            },
            "civil_twilight_begin": {
              "type": "string"
            },
            "civil_twilight_end": {
              "type": "string"
            },
            "day_length_seconds": {
              "type": "integer"
            },
            "nautical_twilight_begin": {
              "type": "string"
            },
            "nautical_twilight_end": {
              "type": "string"
            },
            "solar_noon": {
              "type": "string"
            },
            "sunrise": {
              "type": "string"
            },
            "sunset": {
              "type": "string"
            }
          },
          "type": "object"
        }
      },
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}