Menu
RU Русский
EN English
RU Русский
UZ O'zbek tili
Information
Handbook / API

myip.uz handbook

API, tools and useful networking resources
API
curl / PowerShell
Detect your IP from the command line

Get information about your IP straight from the terminal:

Bash / CMD
$ curl myip.uz
PowerShell
PS> Invoke-WebRequest myip.uz | Select -Expand Content

Response:

ip        : 82.148.4.60 (Tas-IX)
provider  : Servercore & MyIP NET
location  : Uzbekistan (UZ), Tashkent
website   : myip.uz
JSON API
Getting IP data in JSON format

Endpoint: GET /api/json/{ip}

Request
$ curl https://myip.uz/api/json/8.8.8.8
Response
{
  "ip": "8.8.8.8",
  "network": "8.8.8.0/24",
  "asn": "AS15169",
  "as_name": "Google LLC",
  "country": "United States",
  "country_code": "US",
  "is_tasix": false
}

Limit: 100 requests/day per IP. The X-RateLimit-Remaining header shows the remainder.

XML API
Alternative format for integrations

Endpoint: GET /api/xml/{ip}

Request
$ curl https://myip.uz/api/xml/8.8.8.8

Tools
Useful links