API Dokumentace
REST API pro přístup k datům SpeedMap.cz
GET
/api/resultsPoslední výsledky měřeníParametry:
limit(number)- Počet výsledků (max 100, default 20)isp(string)- Filtr podle ISP (ILIKE)city(string)- Filtr podle města (ILIKE)Response:
{
"results": [{
"id": "uuid",
"download": 95.5,
"upload": 42.3,
"ping": 12.4,
"jitter": 2.1,
"isp": "O2 Czech Republic",
"city": "Prague",
"timestamp": 1711036561408
}],
"total": 1234,
"averages": {
"download": 85.2,
"upload": 40.1,
"ping": 15.3
}
}GET
/api/statsAgregované statistikyResponse:
{
"totalTests": 1234,
"topIsps": [
{ "name": "O2 Czech Republic", "count": 456 }
],
"topCities": [
{ "name": "Prague", "count": 789, "avgDownload": 92.3 }
],
"hourlyTests": [
{ "hour": "2026-03-21 17", "count": 42 }
]
}GET
/api/ip-infoInformace o IP adrese a ISPResponse:
{
"ip": "80.250.27.xxx",
"isp": "O2 Czech Republic",
"city": "Prague",
"region": "Prague",
"asn": "AS5610"
}GET
/api/network-infoDetailní síťové informaceResponse:
{
"ip": "80.250.27.123",
"isp": "O2 Czech Republic",
"city": "Prague",
"country": "Czech Republic",
"isProxy": false,
"isMobile": false,
"browser": "Chrome 122",
"os": "Windows 10/11"
}GET
/api/ogOG image generator (SVG)Parametry:
dl(string)- Download rychlostul(string)- Upload rychlostping(string)- Pinggrade(string)- Grade (A+, A, B...)isp(string)- ISP názevResponse:
SVG image (1200x630)
Komerční API
Potřebujete větší limity, historická data nebo white-label řešení? Nabízíme komerční API licence pro ISP, nemovitostní portály a vývojáře.
Kontaktujte nás