# Body Position

The `body-position` end point calculates the position of one or more bodies (e.g. the Sun, and/or Moon) at a given time, or over a given time range and interval.

The general form of a call to this end point is as follows:

{% code lineNumbers="true" %}

```javascript
axios({
	"method": "GET",
	"url": "https://api.radiantdrift.com/body-position/DATE_TIME_FROM",
 	"params": {
		"body": "[BODIES]"
	},
})
```

{% endcode %}

{% code overflow="wrap" %}

```bash
curl "https://api.radiantdrift.com/body-position/DATE_TIME_FROM/?body=BODIES"
```

{% endcode %}

Specific examples are given in the following sections.

### Supported Bodies

The following values are accepted for the `body` parameter:

* `sun`
* `moon`
* `gc` (the Galactic Center)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.radiantdrift.com/body-position.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.
