Speed Test API Put a real speed test inside your product.

Download, upload, latency and jitter from a JavaScript API and a Node SDK. Add it to any site or app in minutes, with no infrastructure to run. Over 120 million tests have gone through it.

30-day free trial  ·  100 API calls

No credit card  ·  Trusted since 2013

Download
94.32Mbps
Upload 21.74Mbps
Latency 14ms
Jitter 1.2ms
<script src="https://speedof.me/api/api.js"></script>
SomApi.account = 'YOUR_API_KEY';
SomApi.onTestCompleted = (r) => console.log(r);
SomApi.startTest();
useEffect(() => {
  SomApi.account = 'YOUR_API_KEY';
  SomApi.onTestCompleted = (r) => setResult(r);
  SomApi.startTest();
}, []);
const { SpeedTest } = require('@speedofme/mcp');
const test = new SpeedTest({ apiSecret: KEY });
const result = await test.run();
console.log(result.download, result.jitter);
"mcpServers": {
  "speedofme": {
    "command": "npx",
    "args": ["-y", "@speedofme/mcp"],
    "env": { "SOM_API_SECRET": "YOUR_API_SECRET" }
  }
}

What people build with it

The six things our customers actually use this API for, ordered by how much traffic each one sends us.

Hiring, Interviews & Exams

Check a candidate before the interview or the proctored exam starts

Remote Agents & Contact Centres

Prove an agent is fit to take calls at the start of a shift

Apps, Devices & Software

Measure real throughput from inside your own app or device fleet

Video, Webinars & Streaming

Catch a bad connection before the session, not during it

ISPs & Broadband Providers

Your own branded speed test, and diagnostics your support team can use

Online Learning & Telehealth

Make sure the class or the consultation will actually work

Why Thousands of Developers Choose Us

Battle-Tested Since 2013

The original speed test API, with over 120 million tests run through it

Real-World Accuracy

Measures what your user actually experiences, on their own connection

Deploy in Minutes

One script tag. No servers to run, no test files to host.

Scales With You

From a first local test to tens of millions of calls a month

Quick Start: Add a Speed Test in Minutes

Embed the speed test on any web page with a few lines of JavaScript.

<script src="https://speedof.me/api/api.js"></script>
    <script>
      SomApi.account = 'YOUR_API_KEY';
      SomApi.domainName = 'yourdomain.com';
      SomApi.onTestCompleted = function (result) {
        console.log(result.download, result.upload,
                    result.latency, result.jitter);
      };
      SomApi.startTest();
    </script>

Full configuration, callbacks and the result schema are in the API documentation.

AI Agent Integration

Run speed tests directly from AI agents and automation tools

MCP Server

Native integration with Claude, Cursor, Windsurf, and other AI platforms via Model Context Protocol

CLI Tool

Command-line speed testing for scripts, CI/CD pipelines, and automation workflows

JavaScript SDK

Promise-based API for Node.js applications. Same package, three interfaces

Local History

Results stored locally in JSON format for trending and analysis

Analytics Dashboard

Real-time insights into your API usage

  • Usage Statistics - Track API calls, test counts, and bandwidth consumption in real-time
  • Geographic Distribution - See where your users are testing from with country and city breakdowns
  • Device & Speed Insights - Monitor device types, average speeds, and latency trends
SpeedOf.Me API analytics dashboard showing usage statistics, geographic distribution, and device insights

Plans and Pricing

STARTUP
$49
per month
  • 1,000 API calls included
  • $0.138/extra test
  • Technical Support
Get your API key
POPULAR
BUSINESS
$149
per month
  • 10,000 API calls included
  • $0.045/extra test
  • Technical Support
Get your API key
PRO
$599
per month
  • 100,000 API calls included
  • $0.015/extra test
  • Technical Support
Get your API key
ENTERPRISE
Custom
Pricing
  • Need more than 100,000 API calls per month?
Get a quote
  • No credit card required
  • Full API access for 30 days
  • Cancel anytime

* Free trial includes 100 API calls.

Speed Test API FAQ

How do I add a speed test to my website or app?

Include our JavaScript API (api.js), set your account key and domain, then call SomApi.startTest(). Download, upload, latency and jitter arrive via callbacks. Ready-made examples cover vanilla JS, React, Vue, Angular, iOS, Android, Flutter, Electron and more.

Is the speed test API free?

It is a paid API with a free trial: 30 days and 100 API calls, no credit card required. Paid plans start at $49/month and scale to Enterprise for high volume.

What does the API measure?

Download speed, upload speed, latency and jitter, using the same single-stream HTML5 engine as SpeedOf.Me for real-world accuracy.

Can AI agents and scripts run speed tests?

Yes. The @speedofme/mcp package is an MCP server for AI agents, a CLI for scripts and CI pipelines, and a Node.js SDK, all from one install.

Which platforms are supported?

Web (JavaScript), plus example integrations for iOS, Android, macOS, Windows, Electron, Flutter, React, Vue, Angular and React Native.

Have more questions? Read the full FAQ →

Menu ×