Speedtest API
The full-featured version of Speedtest API for your website
Loading servers…
| Country | City | Provider | Speed | Distance: |
|---|
| Time | DownloadMbit/s | UploadMbit/s | Pingms | Provider |
|---|
The full-featured version of Speedtest API for your website
A simplified version of Speedtest API for your website
Verification of existence of email addresses
Getting information about IP addresses location
Getting information about IP addresses belonging
Getting information about site hosting provider
Look up the registered network equipment vendor by MAC address
Check whether an IP address is listed in the proxy database and retrieve available details
2IP Speedtest API is a ready-to-use solution for testing internet connection speed directly on your website under your own brand.
Install Speedtest on an internet provider’s website, a hosting company’s website, a corporate portal or a customer account page. Visitors can test their internet connection speed and view the results without leaving your website.
Speedtest adapts to your website’s design: enter your company name, choose one of 15 colour themes or set your own colours.
Installation requires no CMS or local database. You receive a ready-to-use package with the necessary files and instructions to get started.
Speedtest measures three main aspects of an internet connection:
Ping is the time the server takes to respond to a request, measured in milliseconds (ms).
Download is the speed at which data travels from the server to the user’s device, measured in Mbps.
Upload is the speed at which data travels from the user’s device to the server, also measured in Mbps.
All measurements take place directly between the visitor’s browser and the server where Speedtest is installed.
Results appear in an easy-to-use interface with speed charts and basic connection information.
Speedtest supports 15 ready-made colour themes that you can use without any changes.
Choose a design that matches your website, enter your own brand name or set custom colours.
All themes use the same measurement engine and differ only in appearance.
The interface is available in Ukrainian, Russian and English and automatically adapts to computers, tablets and smartphones.
Before installing, you can try Speedtest and view all available themes in the demo.
A free 7-day trial is available to try Speedtest API.
Each installation receives a separate licence tied to the server’s hostname or public IP address.
The trial is available once per registered domain and also covers its subdomains. Creating a new subdomain does not start another trial.
After the trial ends, you need to purchase a licence to continue using Speedtest.
Licensing and additional connection data are handled through the 2IP API. The required keys are stored on the server and are never sent to the user’s browser.
You receive a ready-to-use Speedtest API package containing:
Speedtest works as a standalone solution and does not depend on your website’s content management system.
Download the ready-to-use Speedtest API ZIP archive.
Extract the archive into your website directory, keeping the file structure intact.
You can install Speedtest as a separate page or in a subdirectory of an existing website.
You need a web server with HTTPS support and PHP 8.2 or later.
Speedtest uses a local PHP endpoint to measure speed, so it requires no separate testing server or local database.
Additional requirements and configuration examples are included in the package instructions.
Speedtest uses two keys:
Speedtest API Key is used to verify the licence and authorise testing.
Geo/Provider API Key is used to retrieve IP address, location and internet provider information.
The keys are stored in a private configuration file on your server.
You can use the free trial for the initial activation.
Choose one of 15 colour themes or set your own colours to match your website.
You can change the theme through CSS without editing JavaScript.
Enter your company or service name in the Speedtest configuration.
It will appear in the testing interface.
Open the installed page over HTTPS.
Once the licence has been verified, Speedtest is ready to use.
Click “Start test” and check that Ping, Download and Upload results appear.
Also check the speed charts and connection information.
No. Speedtest works independently of a CMS and can be installed as a separate page on your website.
No. Speedtest does not require a local database.
Yes. You can use your own company or service name.
Yes. There are 15 ready-made colour themes. You can also set your own colours.
The free trial lasts 7 days from successful activation.
The trial is available once per registered domain, including its subdomains.
Yes. You can install Speedtest on any subdomain. Each installation needs a separate licence.
Yes. Speedtest supports installation in a subdirectory of an existing website.
Yes. The interface automatically adapts to smartphones, tablets and computers.
Yes. You can change the colours and brand name while keeping all testing features.
No. Measurements use the server where Speedtest is installed.
Check the installation and licence settings against the instructions.
If the problem persists, contact 2IP support at [email protected].
Once installed, Speedtest becomes part of your website and runs under your own name with your chosen appearance.
Visitors can test their internet connection speed with one click and view charts and measurement results.
Try the 2IP Speedtest API demo to explore its features and choose a colour theme.
$50 per month or $500 per year.
To obtain a licence, get installation advice or request more information, fill in the form below or contact [email protected].
We will answer your questions and help you get started with Speedtest API.
Our API is created as a public resource for receiving the most complete information about the IP-address of the user. The data formats are XML or JSON with HTTP/HTTPS connection. Information in the databases updates every day and every webmaster can integrate this service with his own projects.
Each of the Geo-IP API, Provider-IP API, Proxy-IP API, Hosting API, MAC-address API and Email API services allows no more than 2 free requests per IP address per day.
Data provided by our API contains the following fields.
{
"exist": true,
"detail": {
"[email protected]": true,
"domains": {
"google.com": {
"users": [
"admin"
],
"mxs": {
"aspmx.l.google.com": 10,
"alt1.aspmx.l.google.com": 20,
"alt2.aspmx.l.google.com": 30,
"alt3.aspmx.l.google.com": 40,
"alt4.aspmx.l.google.com": 50,
"google.com": 0
}
}
},
"log": [
"[2019-02-13T19:26:56.533234+0000] Connecting to aspmx.l.google.com:25",
"[2019-02-13T19:26:56.566308+0000] Connected to aspmx.l.google.com:25 successfully",
"[2019-02-13T19:26:56.600374+0000] <<<recv: 220 mx.google.com ESMTP u13-v6si69438lju.221 - gsmtp\r\n",
"[2019-02-13T19:26:56.600473+0000] send>>>: EHLO 2ip.ua",
"[2019-02-13T19:26:56.637390+0000] <<<recv: 250-mx.google.com at your service, [77.123.139.187]\r\n",
"[2019-02-13T19:26:56.637419+0000] <<<recv: 250-SIZE 157286400\r\n",
"[2019-02-13T19:26:56.637426+0000] <<<recv: 250-8BITMIME\r\n",
"[2019-02-13T19:26:56.637430+0000] <<<recv: 250-STARTTLS\r\n",
"[2019-02-13T19:26:56.637434+0000] <<<recv: 250-ENHANCEDSTATUSCODES\r\n",
"[2019-02-13T19:26:56.637438+0000] <<<recv: 250-PIPELINING\r\n",
"[2019-02-13T19:26:56.637442+0000] <<<recv: 250-CHUNKING\r\n",
"[2019-02-13T19:26:56.637445+0000] <<<recv: 250 SMTPUTF8\r\n",
"[2019-02-13T19:26:56.637457+0000] send>>>: MAIL FROM:<[email protected]>",
"[2019-02-13T19:26:56.670259+0000] <<<recv: 250 2.1.0 OK u13-v6si69438lju.221 - gsmtp\r\n",
"[2019-02-13T19:26:56.670292+0000] send>>>: NOOP",
"[2019-02-13T19:26:56.703219+0000] <<<recv: 250 2.0.0 OK u13-v6si69438lju.221 - gsmtp\r\n",
"[2019-02-13T19:26:56.703253+0000] send>>>: NOOP",
"[2019-02-13T19:26:56.736009+0000] <<<recv: 250 2.0.0 OK u13-v6si69438lju.221 - gsmtp\r\n",
"[2019-02-13T19:26:56.736052+0000] send>>>: RCPT TO:<[email protected]>",
"[2019-02-13T19:26:56.985345+0000] <<<recv: 250 2.1.5 OK u13-v6si69438lju.221 - gsmtp\r\n",
"[2019-02-13T19:26:56.985377+0000] send>>>: NOOP",
"[2019-02-13T19:26:57.018204+0000] <<<recv: 250 2.0.0 OK u13-v6si69438lju.221 - gsmtp\r\n",
"[2019-02-13T19:26:57.018236+0000] send>>>: RSET",
"[2019-02-13T19:26:57.051533+0000] <<<recv: 250 2.1.5 Flushed u13-v6si69438lju.221 - gsmtp\r\n",
"[2019-02-13T19:26:57.051576+0000] send>>>: QUIT",
"[2019-02-13T19:26:57.084687+0000] <<<recv: 221 2.0.0 closing connection u13-v6si69438lju.221 - gsmtp\r\n",
"[2019-02-13T19:26:57.084761+0000] Closing socket to aspmx.l.google.com:25"
]
}
}Each applicable API allows 2 free requests per IP address per day.
1000 requests per day to our database for 30 days cost 10$. Each following thousand is worth + 1$. For example if you want 5000 requests per day it will cost 14$ for month.
Unlimited number of queries — 100$ per month (but not more than 1 million calls per day).
After payment you will receive an email with instructions and your personal "API key". The limit will be tied to it.
You can get more detailed information by visiting 2IP.ua or contacting [email protected].
Our API is created as a public resource for receiving the most complete information about the IP-address of the user. The data formats are XML or JSON with HTTP/HTTPS connection. Information in the databases updates every day and every webmaster can integrate this service with his own projects.
Each of the Geo-IP API, Provider-IP API, Proxy-IP API, Hosting API, MAC-address API and Email API services allows no more than 2 free requests per IP address per day.
Data provided by our API contains the following fields.
IPv4:
XML: https://api.2ip.me/geo.xml?ip=45.140.147.155
JSON: https://api.2ip.me/geo.json?ip=45.140.147.155
IPv6:
XML: https://api.2ip.me/geo.xml?ip=2001:4860:4860::8844
JSON: https://api.2ip.me/geo.json?ip=2001:4860:4860::8844
API call with an empty parameter "ip" returns information about the IP address from which handling comes.
<geo_api>
<ip>45.140.147.155</ip>
<country_code>FR</country_code>
<country>France</country>
<country_rus>Франция</country_rus>
<country_ua>Франція</country_ua>
<region>Ile-de-france</region>
<region_rus>Иль-де-Франс</region_rus>
<region_ua>Іль-де-Франс</region_ua>
<city>Paris</city>
<city_rus>Париж</city_rus>
<city_ua>Маунтін-Вью</city_ua>
<latitude>48.859078</latitude>
<longitude>2.293486</longitude>
</geo_api>{
"ip": "45.140.147.155",
"country_code": "FR",
"country": "France",
"country_rus": "Франция",
"country_ua": "Франція",
"region": "Ile-de-france",
"region_rus": "Иль-де-Франс",
"region_ua": "Іль-де-Франс",
"city": "Paris",
"city_rus": "Париж",
"city_ua": "Паріж",
"latitude": "48.859078",
"longitude": "2.293486"
}Each applicable API allows 2 free requests per IP address per day.
1000 requests per day to our database for 30 days cost 10$. Each following thousand is worth + 1$. For example if you want 5000 requests per day it will cost 14$ for month.
Unlimited number of queries — 100$ per month (but not more than 1 million calls per day).
After payment you will receive an email with instructions and your personal "API key". The limit will be tied to it.
You can get more detailed information by visiting 2IP.ua or contacting [email protected].
Our API is created as a public resource for receiving the most complete information about the IP-address of the user. The data formats are XML or JSON with HTTP/HTTPS connection. Information in the databases updates every day and every webmaster can integrate this service with his own projects.
Each of the Geo-IP API, Provider-IP API, Proxy-IP API, Hosting API, MAC-address API and Email API services allows no more than 2 free requests per IP address per day.
Data provided by our API contains the following fields.
IPv4:
XML: https://api.2ip.me/provider.xml?ip=45.140.147.155
JSON: https://api.2ip.me/provider.json?ip=45.140.147.155
API call with an empty parameter "ip" returns information about the IP address from which handling comes.
<provider_api>
<ip>45.140.147.155</ip>
<name_ripe>Baykov Ilya Sergeevich</name_ripe>
<name_ua></name_ua>
<name_rus></name_rus>
<site>http://www.zaoipnet.ru/</site>
<as>41745</as>
<ip_range_start>764187392</ip_range_start>
<ip_range_end>764187647</ip_range_end>
<route></route>
<mask>24</mask>
</provider_api>{
"ip": "45.140.147.155",
"name_ripe": "Baykov Ilya Sergeevich",
"name_ua": "",
"name_rus": "",
"site": "http://www.zaoipnet.ru/",
"as": "41745",
"ip_range_start": "764187392",
"ip_range_end": "764187647",
"route": "",
"mask": "24"
}Each applicable API allows 2 free requests per IP address per day.
1000 requests per day to our database for 30 days cost 10$. Each following thousand is worth + 1$. For example if you want 5000 requests per day it will cost 14$ for month.
Unlimited number of queries — 100$ per month (but not more than 1 million calls per day).
After payment you will receive an email with instructions and your personal "API key". The limit will be tied to it.
You can get more detailed information by visiting 2IP.ua or contacting [email protected].
Our API is created as a public resource for receiving the most complete information about the IP-address of the user. The data formats are XML or JSON with HTTP/HTTPS connection. Information in the databases updates every day and every webmaster can integrate this service with his own projects.
Each of the Geo-IP API, Provider-IP API, Proxy-IP API, Hosting API, MAC-address API and Email API services allows no more than 2 free requests per IP address per day.
Data provided by our API contains the following fields.
<hosting_api>
<name_ripe>Google Inc.</name_ripe>
<site>https://www.google.com/</site>
</hosting_api>{
"name_ripe": "Google Inc.",
"site": "https://www.google.com/"
}Each applicable API allows 2 free requests per IP address per day.
1000 requests per day to our database for 30 days cost 10$. Each following thousand is worth + 1$. For example if you want 5000 requests per day it will cost 14$ for month.
Unlimited number of queries — 100$ per month (but not more than 1 million calls per day).
After payment you will receive an email with instructions and your personal "API key". The limit will be tied to it.
You can get more detailed information by visiting 2IP.ua or contacting [email protected].
Our API is created as a public resource for receiving the most complete information about the IP-address of the user. The data formats are XML or JSON with HTTP/HTTPS connection. Information in the databases updates every day and every webmaster can integrate this service with his own projects.
Each of the Geo-IP API, Provider-IP API, Proxy-IP API, Hosting API, MAC-address API and Email API services allows no more than 2 free requests per IP address per day.
XML: https://api.2ip.me/mac.xml?mac=00:30:48:5a:58:65
JSON: https://api.2ip.me/mac.json?mac=00:30:48:5a:58:65
The MAC address format for verification can be one of the following:
<macVendor>
<company>Super Micro Computer, Inc</company>
<address>2051 Junction Avenue San Jose CA 95131 US</address>
<country>US</country>
<private>0</private>
<oui>00:30:48</oui>
<block_size>MA-L</block_size>
<date_created>2000-11-09</date_created>
<date_updated>2015-09-27</date_updated>
</macVendor>{
"company": "Super Micro Computer, Inc",
"address": "2051 Junction Avenue San Jose CA 95131 US",
"country": "US",
"private": "0",
"oui": "00:30:48",
"block_size": "MA-L",
"date_created": "2000-11-09",
"date_updated": "2015-09-27"
}Each applicable API allows 2 free requests per IP address per day.
1000 requests per day to our database for 30 days cost 10$. Each following thousand is worth + 1$. For example if you want 5000 requests per day it will cost 14$ for month.
Unlimited number of queries — 100$ per month (but not more than 1 million calls per day).
After payment you will receive an email with instructions and your personal "API key". The limit will be tied to it.
You can get more detailed information by visiting 2IP.ua or contacting [email protected].
Our API is created as a public resource for receiving the most complete information about the IP-address of the user. The data formats are XML or JSON with HTTP/HTTPS connection. Information in the databases updates every day and every webmaster can integrate this service with his own projects.
Each of the Geo-IP API, Provider-IP API, Proxy-IP API, Hosting API, MAC-address API and Email API services allows no more than 2 free requests per IP address per day.
IPv4:
XML: https://api.2ip.me/proxy.xml?ip=45.140.147.155
JSON: https://api.2ip.me/proxy.json?ip=45.140.147.155
API call with an empty parameter "ip" returns information about the IP address from which handling comes.
<proxy_api>
<ip>45.140.147.155</ip>
<if_this_proxy_ip>yes</if_this_proxy_ip>
<ip_from>764187547</ip_from>
<ip_to>764187547</ip_to>
<proxy_type>PUB</proxy_type>
<country_code>FR</country_code>
<country_name>France</country_name>
<region_name>Ile-de-France</region_name>
<city_name>Paris</city_name>
<isp>Baykov Ilya Sergeevich</isp>
<domain>hip-hosting.com</domain>
<usage_type>DCH</usage_type>
<asn>41745</asn>
<as>Baykov Ilya Sergeevich</as>
<last_seen>30</last_seen>
<threat>SPAM/SCANNER/BOTNET</threat>
<provider>-</provider>
</proxy_api>{
"ip": "45.140.147.155",
"if_this_proxy_ip": "yes",
"ip_from": "764187547",
"ip_to": "764187547",
"proxy_type": "PUB",
"country_code": "FR",
"country_name": "France",
"region_name": "Ile-de-France",
"city_name": "Paris",
"isp": "Baykov Ilya Sergeevich",
"domain": "hip-hosting.com",
"usage_type": "DCH",
"asn": "41745",
"as": "Baykov Ilya Sergeevich",
"last_seen": "30",
"threat": "SPAM/SCANNER/BOTNET",
"provider": "-"
}Each applicable API allows 2 free requests per IP address per day.
1000 requests per day to our database for 30 days cost 10$. Each following thousand is worth + 1$. For example if you want 5000 requests per day it will cost 14$ for month.
Unlimited number of queries — 100$ per month (but not more than 1 million calls per day).
After payment you will receive an email with instructions and your personal "API key". The limit will be tied to it.
You can get more detailed information by visiting 2IP.ua or contacting [email protected].
Internet speed indicates how much data a connection can carry in a given time. It is measured in megabits or gigabits per second. This affects how quickly files download, videos load and online services respond.
Download is the speed at which your device receives data from the internet. It affects file downloads, video streaming, loading web pages and receiving information from online services. A higher speed means data arrives faster.
Upload is the speed at which your device sends data to the internet. It matters for video calls, sending large files, cloud backups and live streaming. A higher speed lets you send information more quickly.
Ping measures the delay between sending a request and receiving a response from a server, in milliseconds (ms). A lower value means a faster connection response, especially important for online games, video calls and interactive services.
Connection speed depends on the access technology, network equipment, traffic on the connection and the route data takes. Results can vary with the time of day, your device and the server you connect to.
A speed test helps you assess your connection’s actual performance and compare it with your internet plan. Regular measurements help you track changes in speed, latency and the overall quality of your connection.