Public API docs
How to use the public ASTRANTIS API.
Getting access
You need an API key to use the public API.
- Sign up or log in
- Request an API key
- Send the key in the request header
Authentication
Every request needs an authorization header.
Authorization: Bearer YOUR_API_KEY
Endpoints
GET /api/developersList developersGET /api/organizationsList organizationsPOST /api/commissionsCreate a commission request
Example
const response = await fetch('https://api.astrantis.site/api/developers', {
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
}
})
const data = await response.json()