Skip to content

Get Moon Phase

POST
/api/widget-api/moonphase/{widgetId}

Get moon phase information via embedded widget

Authorizations

ApiKeyAuth

API key for authentication. Get your API key from the dashboard.

TypeAPI Key (header: X-Api-Key)

Parameters

Path Parameters

widgetId*
Typestring
Required

Request Body

application/json
JSON
{
"date": "string",
"latitude": 0,
"longitude": 0,
"timezone": "string"
}

Responses

Moon phase data

Playground

Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI

AstroAPI Documentation