https://github.com/avatsaev/webb-tracker-api
James Webb Space Telescope (JWST) tracking REST API
https://github.com/avatsaev/webb-tracker-api
api jameswebb jwst nasa rest tracking webb
Last synced: about 2 months ago
JSON representation
James Webb Space Telescope (JWST) tracking REST API
- Host: GitHub
- URL: https://github.com/avatsaev/webb-tracker-api
- Owner: avatsaev
- License: other
- Created: 2021-12-28T01:14:47.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-05T22:33:58.000Z (over 3 years ago)
- Last Synced: 2025-03-27T12:38:28.839Z (2 months ago)
- Topics: api, jameswebb, jwst, nasa, rest, tracking, webb
- Language: TypeScript
- Homepage:
- Size: 577 KB
- Stars: 72
- Watchers: 6
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![]()
# James Webb Telescope tracking REST API
Public REST API to track JWST's current status
API data source: https://www.jwst.nasa.gov/content/webbLaunch/whereIsWebb.html
## API
Public endpont: https://api.jwst-hub.com
Ressources:
**Endpoint: https://api.jwst-hub.com/track**
- `GET: /track`
- returns jwst tracking data```json
{
"distanceEarthKm":null, // no longer available
"launchElapsedTime":null, // no longer available
"distanceL2Km":null, // no longer available
"percentageCompleted":null, // no longer available
"speedKmS":null, // no longer available
"deploymentImgURL":"https://webb.nasa.gov/content/webbLaunch/assets/images/deployment/1000pxWide/127.png",
"currentDeploymentStep":"WEBB IS ORBITING L2 - Next Steps: Cooldown, Alignment, Calibration",
"tempC":{
"tempWarmSide1C":51,
"tempWarmSide2C":12,
"tempCoolSide1C":-217,
"tempCoolSide2C":-213,
"tempInstMiriC":-128,
"tempInstNirCamC":-180,
"tempInstNirSpecC":-168,
"tempInstFgsNirissC":-168,
"tempInstFsmC":-216
},
"timestamp":"2022-02-05T15:50:13.536Z"
}
```**Endpoint: https://api.jwst-hub.com**
- `GET /`
- returns API status and metatada```json
{
"status": "ok",
"version": "1.0.0",
"serverID": "d0453deb-9c78-4e3c-be37-cf7c0633d21d" // node ID that handled the request
}
```# Telemetry recording and data charting:
Data recorder: https://github.com/avatsaev/webb-data-recorder
Live InfluxDB data: https://eu-central-1-1.aws.cloud2.influxdata.com/share/6H2CTV-SQdmreGx3xdUyS

## Build
`docker build -t webb-tracker-api .`
## Run
`docker run -p 8001:8001 --name=webb-tracker-api webb-tracker-api`
## Usage
Endpoint: `GET http://localhost:8001/track`