{
  "x402Version": 2,
  "id": 72269,
  "slug": "saylorinnovations-api-astronomy-moon",
  "resource": "https://saylorinnovations.com/api/astronomy/moon",
  "description": "Moon phase name, phase angle and illumination percent plus moonrise, moonset, highest and lowest points for any location and date, from MET Norway",
  "type": "http",
  "serviceName": "Saylor Innovations Data Desk",
  "mimeType": "application/json",
  "resourceType": "API",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "So11111111111111111111111111111111111111112",
      "amount": "95877",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "type": "object",
    "properties": {
      "date": {
        "type": "string",
        "description": "Date (YYYY-MM-DD)"
      },
      "location": {
        "type": "object",
        "description": "Place the data refers to"
      },
      "phase": {
        "type": [
          "string",
          "null"
        ],
        "description": "Named phase such as waxing crescent or full moon"
      },
      "phase_angle_deg": {
        "type": [
          "number",
          "null"
        ],
        "description": "Phase angle, in degrees"
      },
      "illumination_percent": {
        "type": [
          "number",
          "null"
        ],
        "description": "Illumination, as a percentage"
      },
      "moonrise": {
        "type": [
          "object",
          "null"
        ],
        "description": "Moonrise time with azimuth"
      },
      "moonset": {
        "type": [
          "object",
          "null"
        ],
        "description": "Moonset time with azimuth"
      },
      "highest": {
        "type": [
          "object",
          "null"
        ],
        "description": "Moment and altitude when the moon is highest",
        "properties": {
          "visible": {
            "description": "True when the moon is above the horizon at its highest point",
            "type": [
              "boolean",
              "null"
            ]
          },
          "time": {
            "type": [
              "string",
              "null"
            ],
            "description": "Time"
          },
          "elevation_deg": {
            "type": [
              "number",
              "null"
            ],
            "description": "Elevation, in degrees"
          }
        }
      },
      "lowest": {
        "type": [
          "object",
          "null"
        ],
        "description": "Moment and altitude when the moon is lowest"
      },
      "note": {
        "type": "string",
        "description": "Caveat or context for reading the result"
      },
      "source": {
        "type": "string",
        "description": "Data source the values come from"
      }
    },
    "required": [
      "date",
      "phase",
      "illumination_percent"
    ]
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "http",
          "method": "GET",
          "queryParams": {
            "lat": "51.5",
            "lon": "-0.12"
          }
        },
        "output": {
          "type": "json",
          "example": {
            "date": "2026-10-17",
            "location": {
              "lat": 51.5,
              "lon": -0.12
            },
            "phase": "waxing crescent",
            "phase_angle_deg": 71.8,
            "illumination_percent": 34.4,
            "moonrise": {
              "time": "2026-10-17T13:47:00.000Z",
              "azimuth_deg": 135.96
            },
            "moonset": {
              "time": "2026-10-17T20:53:00.000Z",
              "azimuth_deg": 225.27
            },
            "highest": {
              "time": "2026-10-17T17:17:00.000Z",
              "elevation_deg": 11.38,
              "visible": true
            },
            "lowest": {
              "time": "2026-10-17T04:52:00.000Z",
              "elevation_deg": -65.99
            },
            "note": "Times are UTC. Phase angle 0 is new moon, 90 first quarter, 180 full, 270 last quarter; rise or set can be absent on days when the moon does not cross the horizon.",
            "source": "MET Norway"
          }
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "input": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "http"
              },
              "method": {
                "type": "string",
                "enum": [
                  "GET"
                ]
              },
              "queryParams": {
                "type": "object",
                "properties": {
                  "lat": {
                    "type": "string",
                    "description": "Latitude -90 to 90"
                  },
                  "lon": {
                    "type": "string",
                    "description": "Longitude -180 to 180"
                  }
                },
                "required": [
                  "lat",
                  "lon"
                ]
              }
            },
            "required": [
              "type",
              "method"
            ],
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "json"
              },
              "example": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "string",
                    "description": "Date (YYYY-MM-DD)"
                  },
                  "location": {
                    "type": "object",
                    "description": "Place the data refers to"
                  },
                  "phase": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Named phase such as waxing crescent or full moon"
                  },
                  "phase_angle_deg": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Phase angle, in degrees"
                  },
                  "illumination_percent": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Illumination, as a percentage"
                  },
                  "moonrise": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "description": "Moonrise time with azimuth"
                  },
                  "moonset": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "description": "Moonset time with azimuth"
                  },
                  "highest": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "description": "Moment and altitude when the moon is highest",
                    "properties": {
                      "visible": {
                        "description": "True when the moon is above the horizon at its highest point",
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "time": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Time"
                      },
                      "elevation_deg": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "description": "Elevation, in degrees"
                      }
                    }
                  },
                  "lowest": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "description": "Moment and altitude when the moon is lowest"
                  },
                  "note": {
                    "type": "string",
                    "description": "Caveat or context for reading the result"
                  },
                  "source": {
                    "type": "string",
                    "description": "Data source the values come from"
                  }
                },
                "required": [
                  "date",
                  "phase",
                  "illumination_percent"
                ]
              }
            },
            "required": [
              "type"
            ]
          }
        },
        "required": [
          "input"
        ]
      }
    }
  },
  "tags": [
    "moon phase tonight",
    "moonrise and moonset time",
    "how illuminated is the moon",
    "full moon date and time",
    "moon elevation and visibility"
  ],
  "sourceHost": "saylorinnovations.com",
  "lastUpdated": "2026-10-26T22:14:01.873Z",
  "quality": {},
  "metadata": {
    "serviceName": "Saylor Innovations Data Desk",
    "method": "GET",
    "mimeType": "application/json",
    "inputSchema": {
      "type": "object",
      "properties": {
        "lat": {
          "type": "string",
          "description": "Latitude -90 to 90"
        },
        "lon": {
          "type": "string",
          "description": "Longitude -180 to 180"
        }
      },
      "required": [
        "lat",
        "lon"
      ]
    },
    "exampleResponse": {
      "date": "2026-10-17",
      "location": {
        "lat": 51.5,
        "lon": -0.12
      },
      "phase": "waxing crescent",
      "phase_angle_deg": 71.8,
      "illumination_percent": 34.4,
      "moonrise": {
        "time": "2026-10-17T13:47:00.000Z",
        "azimuth_deg": 135.96
      },
      "moonset": {
        "time": "2026-10-17T20:53:00.000Z",
        "azimuth_deg": 225.27
      },
      "highest": {
        "time": "2026-10-17T17:17:00.000Z",
        "elevation_deg": 11.38,
        "visible": true
      },
      "lowest": {
        "time": "2026-10-17T04:52:00.000Z",
        "elevation_deg": -65.99
      },
      "note": "Times are UTC. Phase angle 0 is new moon, 90 first quarter, 180 full, 270 last quarter; rise or set can be absent on days when the moon does not cross the horizon.",
      "source": "MET Norway"
    },
    "parameterLocation": "query",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "lat": "51.5",
              "lon": "-0.12"
            }
          },
          "output": {
            "type": "json",
            "example": {
              "date": "2026-10-17",
              "location": {
                "lat": 51.5,
                "lon": -0.12
              },
              "phase": "waxing crescent",
              "phase_angle_deg": 71.8,
              "illumination_percent": 34.4,
              "moonrise": {
                "time": "2026-10-17T13:47:00.000Z",
                "azimuth_deg": 135.96
              },
              "moonset": {
                "time": "2026-10-17T20:53:00.000Z",
                "azimuth_deg": 225.27
              },
              "highest": {
                "time": "2026-10-17T17:17:00.000Z",
                "elevation_deg": 11.38,
                "visible": true
              },
              "lowest": {
                "time": "2026-10-17T04:52:00.000Z",
                "elevation_deg": -65.99
              },
              "note": "Times are UTC. Phase angle 0 is new moon, 90 first quarter, 180 full, 270 last quarter; rise or set can be absent on days when the moon does not cross the horizon.",
              "source": "MET Norway"
            }
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "type": "object",
          "properties": {
            "input": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "http"
                },
                "method": {
                  "type": "string",
                  "enum": [
                    "GET"
                  ]
                },
                "queryParams": {
                  "type": "object",
                  "properties": {
                    "lat": {
                      "type": "string",
                      "description": "Latitude -90 to 90"
                    },
                    "lon": {
                      "type": "string",
                      "description": "Longitude -180 to 180"
                    }
                  },
                  "required": [
                    "lat",
                    "lon"
                  ]
                }
              },
              "required": [
                "type",
                "method"
              ],
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "json"
                },
                "example": {
                  "type": "object",
                  "properties": {
                    "date": {
                      "type": "string",
                      "description": "Date (YYYY-MM-DD)"
                    },
                    "location": {
                      "type": "object",
                      "description": "Place the data refers to"
                    },
                    "phase": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Named phase such as waxing crescent or full moon"
                    },
                    "phase_angle_deg": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Phase angle, in degrees"
                    },
                    "illumination_percent": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Illumination, as a percentage"
                    },
                    "moonrise": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "description": "Moonrise time with azimuth"
                    },
                    "moonset": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "description": "Moonset time with azimuth"
                    },
                    "highest": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "description": "Moment and altitude when the moon is highest",
                      "properties": {
                        "visible": {
                          "description": "True when the moon is above the horizon at its highest point",
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "time": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Time"
                        },
                        "elevation_deg": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Elevation, in degrees"
                        }
                      }
                    },
                    "lowest": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "description": "Moment and altitude when the moon is lowest"
                    },
                    "note": {
                      "type": "string",
                      "description": "Caveat or context for reading the result"
                    },
                    "source": {
                      "type": "string",
                      "description": "Data source the values come from"
                    }
                  },
                  "required": [
                    "date",
                    "phase",
                    "illumination_percent"
                  ]
                }
              },
              "required": [
                "type"
              ]
            }
          },
          "required": [
            "input"
          ]
        }
      }
    },
    "examples": [
      {
        "label": "Unpaid discovery call",
        "method": "GET",
        "url": "https://saylorinnovations.com/api/astronomy/moon?lat=51.5&lon=-0.12",
        "expectedStatus": 402
      }
    ],
    "cacheTtlSeconds": 0,
    "capabilities": [],
    "noAccountRequired": true,
    "noApiKeyRequired": true,
    "sideEffects": "Paid calls settle the advertised payment; see the provider contract for execution behavior.",
    "payment": {
      "protocol": "x402",
      "settlement": "direct-to-provider"
    },
    "provider": {
      "name": "Saylor Innovations",
      "host": "saylorinnovations.com",
      "manifestUrl": "https://saylorinnovations.com/.well-known/x402.json"
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": true,
  "featured": false,
  "provider": {
    "host": "saylorinnovations.com",
    "manifest_name": "Saylor Innovations Knowledge Base",
    "source": "submitted",
    "source_manifest_url": "https://saylorinnovations.com/.well-known/x402.json",
    "submitted_at": "2026-10-26T05:52:02.113Z"
  },
  "exampleResponse": {
    "date": "string",
    "location": {},
    "phase": "string",
    "phase_angle_deg": 0,
    "illumination_percent": 0,
    "moonrise": {},
    "moonset": {},
    "highest": {
      "visible": true,
      "time": "string",
      "elevation_deg": 0
    },
    "lowest": {},
    "note": "string",
    "source": "string"
  }
}