Attested resolution: will astronomical day length at a covered place meet a minimum-hours
Attested resolution: will astronomical day length at a covered place meet a minimum-hours bar today or tomorrow? Computed-deterministic tier — pure celestial math, zero upstream license exposure. Deterministic per UTC day; same inputs, same claim hash. Delivered as a signed result capped by an aye/nay receipt.
10000 (raw units)
price
1
calls / 30d
1
unique payers
2026-08-29
updated
Provider
api.aye.today · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x552Cc4A10878C7F20574489D47184249657Ca3f6",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 60
}
]Output schema
{
"aye.today": {
"discoverable": true,
"ladder": {
"refund_terms": "settle only after a 200 verdict; ambiguous settlement never asks the buyer to pay again; x-aye-settle:failed is safe to retry and never charges the buyer; x-aye-settle:ambiguous means the payment may already have landed — do not pay again",
"rungs": [
{
"acceptable_staleness_s": 86400,
"price_cents": 1,
"rung": "R1",
"status": "purchasable"
}
]
}
},
"bazaar": {
"info": {
"input": {
"body": {
"day": "today",
"min_hours": "10",
"place": "ORL"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"attestation": {
"quorum": null,
"tier": "computed-deterministic"
},
"aye": true,
"claim_type": "day_length_at_least",
"day_hours": 12.41,
"subject": "place:ORL|date:2026-06-01|min_hours:10"
},
"format": "json",
"type": "http"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"day": {
"enum": [
"today",
"tomorrow"
],
"type": "string"
},
"min_hours": {
"enum": [
"10",
"12",
"14"
],
"type": "string"
},
"place": {
"enum": [
"ORL",
"DEN"
],
"type": "string"
}
},
"required": [
"place",
"day",
"min_hours"
],
"type": "object"
},
"bodyType": {
"const": "json"
},
"method": {
"const": "POST"
},
"type": {
"const": "http"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.aye.today/v1/daylight_check" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.aye.today/v1/daylight_check");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.aye.today/v1/daylight_check")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/13983.json, and this resource appears in /discovery/resources and /discovery/search.