# AstronomyAPI

## v2

- [Getting Started](https://docs.astronomyapi.com/readme.md)
- [Bodies](https://docs.astronomyapi.com/endpoints/bodies.md): Get celestial body information for the given latitude, longitude and date/time.
- [Positions](https://docs.astronomyapi.com/endpoints/bodies/positions.md): Celestial body positions API
- [Events](https://docs.astronomyapi.com/endpoints/bodies/events.md): Get celestial events for a given body for the given date range.
- [Studio](https://docs.astronomyapi.com/endpoints/studio.md): Astronomy API Studio enables you to generate images and charts based on data you provide.
- [Star Chart](https://docs.astronomyapi.com/endpoints/studio/star-chart.md): Generates a star chart with the given parameters, and returns the url.
- [Moon Phase](https://docs.astronomyapi.com/endpoints/studio/moon-phase.md): Generate an image of the Moon based on the given parameters.
- [Search](https://docs.astronomyapi.com/endpoints/search.md): Search for stars and deep space objects.
- [Requests and Responses](https://docs.astronomyapi.com/requests-and-response.md)
- [Body Properties](https://docs.astronomyapi.com/requests-and-response/body-properties.md): Plants, Sun and Moon entities respond with common object properties. This page describes what to expect in the response.
- [Event Properties](https://docs.astronomyapi.com/requests-and-response/event-properties.md)
- [Search Result Properties](https://docs.astronomyapi.com/requests-and-response/body-properties-1.md): Search result items follows a common object schema. This page describes the different fields and what to expect as the values.
- [Observer Parameters](https://docs.astronomyapi.com/requests-and-response/observer-parameters.md): When requesting for location and/or date-time related data, Observer parameters must be sent in the request.
- [Tabular Responses](https://docs.astronomyapi.com/requests-and-response/tabular-responses.md): Some endpoints return data in tabular format for easy template rendering.
- [Rows Responses](https://docs.astronomyapi.com/requests-and-response/tabular-responses-1.md): Some endpoints return data as rows for easy rendering data as a list.
- [Error Responses](https://docs.astronomyapi.com/requests-and-response/error-responses.md): Common error responses.
- [Constellation Enums](https://docs.astronomyapi.com/requests-and-response/constellation-enums.md)
- [DSO Enums](https://docs.astronomyapi.com/requests-and-response/dso-enums.md)
- [Page](https://docs.astronomyapi.com/page.md)
- [Widgets](https://docs.astronomyapi.com/widgets.md): Embeddable scripts for your website
- [Known Issues](https://docs.astronomyapi.com/known-issues.md): This section describes known issues with the system
- [Changelog](https://docs.astronomyapi.com/changelog.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information, you can query the documentation dynamically by asking a question.
Perform an HTTP GET request on a page URL with the `ask` query parameter:
```
GET https://docs.astronomyapi.com/readme.md?ask=<question>
```
The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.
Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
