logo API 🛠️

For over 20 years, we have been determining geolocation by IP.

Pay only for the requests you use and take advantage of powerful tools for analytics, security, and automation.

Top up your account with crypto ₿ and cards 💳 in one click. No unnecessary charges or subscriptions.

Get 10,000 free geolocation requests after registration!

Try for Free
Geolocation

            

10,000 of free requests each month

Price: 0.5 $ per 1,000 requests.

Available API Methods

  • Geolocation — Determines the location of an IP address. We track all RIR updates daily, refine, and update our database.
  • Hosted domains — Retrieves a list of domains hosted on a single IP.
  • ASN — Provides information about autonomous systems and providers.
  • WHOIS — Detailed information about domain and IP owners.
  • Email — Checks if an email exists and whether it belongs to a temporary mailbox.
Hosted domains
$ curl api.2ip.io/domains/1.1.1.1?token=xyz

{
    "domains": [
        "0-halo.net",
        "0.pizza",
        "001701.xyz",
        "006664.xyz",
        "006699.best",
        "00747.cn",
        "01333.com",
        "020806.xyz",
        "021sc.com",
        ...
   ]
}

10 of free requests each month

Price: 2 $ per 1,000 requests.
Email
$ curl api.2ip.io/email/dev@2ip.io?token=xyz

{
    "is_exist": true,
    "is_disposable": false,
    "log": [
        "220 kundenserver.de (mxeue102) Nemesis ESMTP Service ready",
        "HELO mailchecker.2ip.io",
        "250 kundenserver.de Hello mailchecker.2ip.io []",
        "MAIL FROM: ",
        "250 Requested mail action okay, completed",
        "RCPT TO: ",
        "250 OK"
    ]
}               

100 of free requests each month

Price: 5 $ per 1,000 requests.

Why Choose 2IP API?

  • Flexible Pricing — Pay only for the requests you use.
  • High Speed— Minimal response latency.
  • Reliability — Stable operation 24/7.
  • Easy Integration — Convenient documentation and support.
WHOIS
$ curl api.2ip.io/whois/9.9.9.9?token=xyz

{
    "whois": {
        "network": {
            "range": "9.9.9.0 - 9.9.9.255",
            "name": "CLEAN-97",
            "description": null,
            "country": "US"
        },
        "route": {
            "range": "9.9.9.0 - 9.9.9.255",
        ...
    }
}

100 of free requests each month

Price: 2 $ per 1,000 requests.
ASN
$ curl api.2ip.io/asn/16509?token=xyz

{
    "id": "2",
    "org": "University of Delaware",
    "name": "UDEL-DCN",
    "url": "http://udel.edu",
    "abuse": "noc@udel.edu",
    "created": "1991-01-10",
    "prefixes": [
        "128.4.0.0/16",
        "204.10.191.0/24",
        "91.143.144.0/20"
    ]
}               

100 of free requests each month

Price: 2 $ per 1,000 requests.

Get Started Today!

  1. Register and get an API token.
  2. Try free requests.
  3. Connect the API and scale your business!
Try for Free