# Where the ISS at API

> Returns current and predicted satellite positions, orbital element sets and the list of tracked satellites with NORAD numbers.

Category: Travel, Maps & Weather. Region: global. 4 endpoints at `https://api.hoshime.com/v1/issnow/<endpoint>`, `GET` with query parameters, answering `{data, meta}` (see https://hoshime.com/docs/responses.md). Reference: https://hoshime.com/docs/platforms/issnow
## GET /v1/issnow/satellite

Where a satellite is now: position, altitude, speed and whether it is in sunlight.

Scope: `social:read` · Units: 1

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | integer | no | NORAD catalogue number of the satellite. Defaults to 25544, the ISS. (default 25544) |
| `units` | string | no | Distance unit: kilometers or miles. (one of kilometers, miles; default kilometers) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `altitude` (number (double)), `footprint` (number (double)), `id` (string), `latitude` (number (double)), `longitude` (number (double)), `name` (string), `observedAt` (string), `units` (string), `velocity` (number (double)), `visibility` (string)

```bash
curl "https://api.hoshime.com/v1/issnow/satellite" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/issnow/positions

Where a satellite was or will be at up to ten Unix times.

Scope: `social:read` · Units: 1 · Cached: 5 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | integer | no | NORAD catalogue number of the satellite. Defaults to 25544, the ISS. (default 25544) |
| `timestamps` | string | yes | Up to ten Unix times in seconds, comma separated, such as 1700000000,1700003600. (e.g. 1700000000,1700003600) |
| `units` | string | no | Distance unit: kilometers or miles. (one of kilometers, miles; default kilometers) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `altitude` (number (double)), `footprint` (number (double)), `id` (string), `latitude` (number (double)), `longitude` (number (double)), `name` (string), `observedAt` (string), `units` (string), `velocity` (number (double)), `visibility` (string)

```bash
curl "https://api.hoshime.com/v1/issnow/positions?timestamps=1700000000%2C1700003600" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/issnow/tles

The two-line element set that predicts a satellite's orbit.

Scope: `social:read` · Units: 1 · Cached: 360 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | integer | no | NORAD catalogue number of the satellite. Defaults to 25544, the ISS. (default 25544; e.g. 25544) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `createdAt` (string), `header` (string), `id` (string), `line1` (string), `line2` (string), `name` (string)

```bash
curl "https://api.hoshime.com/v1/issnow/tles?id=25544" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/issnow/satellites

The satellites the service tracks, with their NORAD catalogue numbers.

Scope: `social:read` · Units: 1 · Cached: 1440 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `id` (string), `name` (string)

```bash
curl "https://api.hoshime.com/v1/issnow/satellites" -H "Authorization: Bearer $HOSHIME_TOKEN"
```
