API & MCP

Everything a person can do on Skyfold Planet Conjunctions and Best Evenings, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Skyfold Planet Conjunctions and Best Evenings

Finds every close approach of the Moon, Mercury, Venus, Mars, Jupiter and Saturn, the oppositions of Mars to Neptune and the greatest elongations of Mercury and Venus, checks whether you can see them in the evening or morning twilight at your place and exports them as an .ics calendar.

Inputs of Skyfold Planet Conjunctions and Best Evenings
FieldTypeDefaultDescription
locationtext"52.0907, 5.1214"Location (latitude, longitude). Decimal degrees such as 52.09, 5.12 (north and east positive), or DMS, UTM, MGRS, Maidenhead or a plus code.
elevationnumber0Elevation above sea level
timeZonetext"Europe/Amsterdam"Time zone. IANA name such as Europe/Berlin or America/New_York, or a fixed offset such as UTC+2.
startDatedate"2027-01-01"From
monthsinteger12Months
planetLimitnumber3Closest planet pairs within
moonLimitnumber3Moon and planet within
includeMoonbooleantrueInclude the Moon
visibleOnlybooleantrueOnly events visible from this place

Example request

Utrecht, 2026

curl -X POST https://skyfoldconjunctions.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"location":"52.0907, 5.1214","timeZone":"Europe/Amsterdam","startDate":"2026-01-01","months":12,"planetLimit":3,"moonLimit":3,"includeMoon":true,"visibleOnly":true}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "skyfold-conjunctions": { "type": "http", "url": "https://skyfoldconjunctions.usefulweb.site/mcp" }
  }
}