Documentation / Basics
The API | Salary Data API
The APIFree keyNever counts
The API's name, its base address and where its documentation and status are.
GEThttps://api.salarydataapi.com/
Try it
No key in this browser yet. Get a free key: it is filled in here once made.
This endpoint takes no parameters.
Runs against the live API with your key.
curl "https://api.salarydataapi.com/" \ -H "Authorization: Bearer YOUR_KEY"
Returns
One item in data, with these fields.
| Field | Type | What it holds |
|---|---|---|
| name | string | The API |
| base | string | Base address |
| documentation | string | Documentation |
| status | string | Status page |
| endpoints | integer | Endpoints |
Example answer
A real answer from today's figures, with an Analyst key.
200GET /
{
"data": {
"name": "Salary Data API",
"base": "https://api.salarydataapi.com/v1",
"documentation": "https://salarydataapi.com/documentation",
"status": "https://salarydataapi.com/status",
"openapi": "https://salarydataapi.com/openapi.json",
"endpoints": 63
},
"meta": {
"plan": "analyst"
}
}