Astronomy API website screenshot

Astronomy API

AstronomyAPI is a web API for retrieving astronomical information including data about celestial bodies, moon phases, planet positions, star charts, and astronomical events for a given location and time. The API provides developers with access to celestial body positions, astronomical event data, star chart generation, moon phase imagery, and deep space object search capabilities for any geographic location and date/time combination.

Astronomy API publishes 4 APIs on the APIs.io network, including Bodies API, Events API, Search API, and 1 more. Tagged areas include Astronomy, Celestial Data, Space, Moon Phases, and Star Charts.

Astronomy API’s developer surface includes authentication, developer portal, documentation, signup flow, pricing, and 4 more developer resources.

40.4/100 thin ▬ flat Agent 31/100 agent aware Full breakdown ↓
scored 2026-07-28 · rubric v0.6
AccessFreemiumSelf serve⚡ Free to try
5 APIs 5 Features 3 Use Cases
AstronomyCelestial DataSpaceMoon PhasesStar Charts

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-07-28 · rubric v0.6
Composite quality — 40.4/100 · thin
Contract Quality 12.5 / 25
Developer Ergonomics 5.7 / 20
Commercial Clarity 10.0 / 20
Operational Transparency 4.8 / 13
Governance 0.0 / 12
Discoverability 7.4 / 10
Agent readiness — 31/100 · agent aware
Machine-Readable Contract 18 / 18
Agentic Access Contract 10 / 10
MCP Server 0 / 12
Machine-Readable Auth 10 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 0 / 7
Rate-Limit Signaling 7 / 7
Typed Event Surface 0 / 6
Agent Skills 0 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 0 / 4
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. This rating is computed from github.com/api-evangelist/astronomy-api: open an issue to ask a question, or submit a pull request to add artifacts. Want it done for you? Prioritized profiling — $2,500 →

APIs 5

Individual APIs this provider publishes, each with its own machine-readable definition.

Astronomy API

The Astronomy API provides access to astronomical data including celestial body positions, moon phases, planet positions, star charts, astronomical events, and deep space object...

Astronomy API Bodies API

Celestial body information and positions

Astronomy API Events API

Astronomical events for a given location and date range

Astronomy API Search API

Search for stars and deep space objects

Astronomy API Studio API

Generated imagery (moon phase and star charts)

Open Collections 1

Open, tool-agnostic API collections (OpenAPI-derived and Bruno).

Astronomy API

OPEN COLLECTION

Pricing Plans 1

Published pricing tiers and plan structures.

Rate Limits 1

Documented rate limits and quota policies.

Astronomy Api Rate Limits

5 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

Features 5

Notable capabilities this provider offers.

Celestial Body Positions

Retrieve real-time and historical positions of celestial bodies including planets, moons, and other astronomical objects for any geographic location and date/time.

Astronomical Events

Access data on celestial events such as eclipses, conjunctions, and other notable astronomical occurrences for a given body and date range.

Star Chart Generation

Generate customizable star charts as images for any sky position, date, and observer location for use in applications and publications.

Moon Phase Imagery

Generate moon phase images showing the illumination and appearance of the moon for any given date and location.

Deep Space Object Search

Search for stars and deep space objects by name or catalog designation to retrieve positional and descriptive data.

Security Posture 2

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Astronomy Api Authentication

http · 1 scheme

SECURITY

Astronomy Api Domain Security

TLSv1.3 · HSTS

SECURITY

Agentic Access 1

Recommended x-agentic-access execution contracts for AI agents.

Astronomy Api Agentic Access

7 operations · 2 acting

7 operations · 2 acting

AGENTIC

Use Cases 3

What developers build with this provider.

Astronomy Education Apps

Developers build educational astronomy applications that display real-time planet positions, star charts, and moon phases for learners and enthusiasts.

Observation Planning Tools

Amateur astronomers use the API to plan observing sessions by retrieving celestial body positions and upcoming astronomical events for their location.

Astrology and Horoscope Applications

Astrology apps integrate the Astronomy API for accurate planetary position data to power birth chart calculations and transit predictions.

Integrations 2

Pre-built integrations with other platforms and tools.

Mobile Astronomy Apps

Mobile applications integrate the Astronomy API to provide real-time sky data and star chart overlays for stargazing experiences.

Planetarium Software

Planetarium and sky simulation software integrates celestial body position data from the Astronomy API for accurate sky rendering.

Resources

Get Started 2

Portal, sign-up, and the first successful call

Documentation 1

Reference material describing how the API behaves

Agent Surfaces 2

MCP servers, agent skills, and machine-readable catalogs

Build 1

SDKs, sample code, and the tooling you integrate with

Access & Security 2

Authentication, authorization, and security posture

Commercial 1

Pricing, plans, and the legal terms of use

Source (apis.yml)

apis.yml Raw ↑
aid: astronomy-api
name: Astronomy API
description: AstronomyAPI is a web API for retrieving astronomical information including data about celestial bodies, moon
  phases, planet positions, star charts, and astronomical events for a given location and time. The API provides developers
  with access to celestial body positions, astronomical event data, star chart generation, moon phase imagery, and deep space
  object search capabilities for any geographic location and date/time combination.
type: Index
accessModel:
  pricing: freemium
  onboarding: self-serve
  trial: false
  try_now: true
  public: false
  label: Freemium · Self-serve signup
  confidence: high
  source:
  - plans
  - authentication
  generated: '2026-07-22'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/astronomy-api.png
tags:
- Astronomy
- Celestial Data
- Space
- Moon Phases
- Star Charts
url: https://raw.githubusercontent.com/api-evangelist/astronomy-api/refs/heads/main/apis.yml
created: '2024-03-30'
modified: '2026-04-19'
specificationVersion: '0.19'
apis:
- aid: astronomy-api:astronomy-api
  name: Astronomy API
  description: The Astronomy API provides access to astronomical data including celestial body positions, moon phases, planet
    positions, star charts, astronomical events, and deep space object search for any location and time. Endpoints cover bodies,
    positions, events, studio image generation, star charts, moon phase imagery, and search for stars and deep space objects.
  humanURL: https://docs.astronomyapi.com/
  baseURL: https://api.astronomyapi.com/api/v2
  tags:
  - Astronomy
  - Moon
  - Planets
  - Star Charts
  properties:
  - type: Documentation
    url: https://docs.astronomyapi.com/
  - type: GettingStarted
    url: https://docs.astronomyapi.com/getting-started
- aid: astronomy-api:astronomy-api-bodies-api
  name: Astronomy API Bodies API
  description: Celestial body information and positions
  humanURL: https://docs.astronomyapi.com/
  baseURL: https://api.astronomyapi.com/api/v2
  tags:
  - Bodies
  properties:
  - type: OpenAPI
    url: openapi/astronomy-api-bodies-api-openapi.yml
- aid: astronomy-api:astronomy-api-events-api
  name: Astronomy API Events API
  description: Astronomical events for a given location and date range
  humanURL: https://docs.astronomyapi.com/
  baseURL: https://api.astronomyapi.com/api/v2
  tags:
  - Events
  properties:
  - type: OpenAPI
    url: openapi/astronomy-api-events-api-openapi.yml
- aid: astronomy-api:astronomy-api-search-api
  name: Astronomy API Search API
  description: Search for stars and deep space objects
  humanURL: https://docs.astronomyapi.com/
  baseURL: https://api.astronomyapi.com/api/v2
  tags:
  - Search
  properties:
  - type: OpenAPI
    url: openapi/astronomy-api-search-api-openapi.yml
- aid: astronomy-api:astronomy-api-studio-api
  name: Astronomy API Studio API
  description: Generated imagery (moon phase and star charts)
  humanURL: https://docs.astronomyapi.com/
  baseURL: https://api.astronomyapi.com/api/v2
  tags:
  - Studio
  properties:
  - type: OpenAPI
    url: openapi/astronomy-api-studio-api-openapi.yml
common:
- type: AgenticAccess
  url: agentic-access/astronomy-api-agentic-access.yml
- type: DomainSecurity
  url: security/astronomy-api-domain-security.yml
- type: Authentication
  url: authentication/astronomy-api-authentication.yml
- type: GitHubOrganization
  url: https://github.com/AstronomyAPI
- type: Portal
  url: https://astronomyapi.com/
  title: Astronomy API Website
- type: Documentation
  url: https://docs.astronomyapi.com/
  title: Documentation
- type: Signup
  url: https://astronomyapi.com/auth/signup
  title: Sign Up
- type: Pricing
  url: https://astronomyapi.com/pricing
  title: Pricing
- type: Features
  data:
  - name: Celestial Body Positions
    description: Retrieve real-time and historical positions of celestial bodies including planets, moons, and other astronomical
      objects for any geographic location and date/time.
  - name: Astronomical Events
    description: Access data on celestial events such as eclipses, conjunctions, and other notable astronomical occurrences
      for a given body and date range.
  - name: Star Chart Generation
    description: Generate customizable star charts as images for any sky position, date, and observer location for use in
      applications and publications.
  - name: Moon Phase Imagery
    description: Generate moon phase images showing the illumination and appearance of the moon for any given date and location.
  - name: Deep Space Object Search
    description: Search for stars and deep space objects by name or catalog designation to retrieve positional and descriptive
      data.
- type: UseCases
  data:
  - name: Astronomy Education Apps
    description: Developers build educational astronomy applications that display real-time planet positions, star charts,
      and moon phases for learners and enthusiasts.
  - name: Observation Planning Tools
    description: Amateur astronomers use the API to plan observing sessions by retrieving celestial body positions and upcoming
      astronomical events for their location.
  - name: Astrology and Horoscope Applications
    description: Astrology apps integrate the Astronomy API for accurate planetary position data to power birth chart calculations
      and transit predictions.
- type: Integrations
  data:
  - name: Mobile Astronomy Apps
    description: Mobile applications integrate the Astronomy API to provide real-time sky data and star chart overlays for
      stargazing experiences.
  - name: Planetarium Software
    description: Planetarium and sky simulation software integrates celestial body position data from the Astronomy API for
      accurate sky rendering.
- type: LlmsText
  url: https://astronomyapi.com/llms.txt
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com