Speedtests
Endpoints for running speedtests and listing servers.
Query parameters
server_idintegerOptional
Optional Ookla speedtest server ID
Header parameters
AcceptstringRequiredDefault:
Must be "application/json" - this API only accepts and returns JSON
application/jsonResponses
201
Created
application/json
A queued speedtest result
messagestringOptional
Response status message
401
Unauthenticated
application/json
403
Forbidden
application/json
406
Not Acceptable - Missing or invalid Accept header
application/json
422
Validation error
application/json
post/api/v1/speedtests/run
POST /api/v1/speedtests/run HTTP/1.1
Accept: application/json
{
"data": {
"id": 1,
"service": "text",
"ping": 1,
"download": 1,
"upload": 1,
"benchmarks": {},
"healthy": true,
"status": "text",
"scheduled": true,
"comments": "text",
"data": {
"server": {
"id": 1
}
},
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z"
},
"message": "text"
}Header parameters
AcceptstringRequiredDefault:
Must be "application/json" - this API only accepts and returns JSON
application/jsonResponses
200
OK
application/json
Collection of Ookla speedtest servers
messagestringOptional
Response status message
401
Unauthenticated
application/json
403
Forbidden
application/json
406
Not Acceptable - Missing or invalid Accept header
application/json
get/api/v1/speedtests/list-servers
GET /api/v1/speedtests/list-servers HTTP/1.1
Accept: application/json
{
"data": [
{
"id": "text",
"host": "text",
"name": "text",
"location": "text",
"country": "text"
}
],
"message": "text"
}Last updated