GithubHelp home page GithubHelp logo

Re-add other services about iplocation HOT 2 OPEN

Richienb avatar Richienb commented on June 9, 2024
Re-add other services

from iplocation.

Comments (2)

ip2location avatar ip2location commented on June 9, 2024

Do you plan to support new API in the iplocation script?

For your information, we have IP2Location.io API which has free tier that is good for your script.

We can offer integration help if you are interested.

from iplocation.

abdullahdevrel avatar abdullahdevrel commented on June 9, 2024

Putting IPinfo.io's name in the hat as well. We provide easily accessible IP to Geolocation data through API.

Features

Without API token access

  • Users can make IP geolocation API calls without a token
  • The API rate-limits upto 1,000 requests/day without an access token

With free tier token access

  • Users can make 50,000 requests/month with a free tier API access token
  • To sign up for the free tier, users don't have to provide payment information or anything. It is effortless to get started.

With premium tier token access

  • With premium tier services, users can access other IP information available to them, such as ASN information, anonymous/VPN IP detection, IP to Company information etc.
  • https://ipinfo.io/pricing

Example Queries

Making an API without a token

curl ipinfo.io/$ip_address
{
  "ip": "17.236.163.29",
  "city": "Cupertino",
  "region": "California",
  "country": "US",
  "loc": "37.3230,-122.0322",
  "org": "AS714 Apple Inc.",
  "postal": "95014",
  "timezone": "America/Los_Angeles",
  "readme": "https://ipinfo.io/missingauth"
}

Making an API call with a free tier token

curl ipinfo.io/$ip_address?token=<access_token>
{
  "ip": "17.236.163.29",
  "city": "Cupertino",
  "region": "California",
  "country": "US",
  "loc": "37.3230,-122.0322",
  "org": "AS714 Apple Inc.",
  "postal": "95014",
  "timezone": "America/Los_Angeles"
}

Making an API call with an access token with premium services

curl ipinfo.io/$ip_address?token=<access_token>
{
  "ip": "17.236.163.29",
  "city": "Cupertino",
  "region": "California",
  "country": "US",
  "loc": "37.3230,-122.0322",
  "postal": "95014",
  "timezone": "America/Los_Angeles",
  "asn": {
    "asn": "AS714",
    "name": "Apple Inc.",
    "domain": "apple.com",
    "route": "17.128.0.0/9",
    "type": "business"
  },
  "company": {
    "name": "Apple Inc.",
    "domain": "apple.com",
    "type": "business"
  },
  "privacy": {
    "vpn": false,
    "proxy": false,
    "tor": false,
    "relay": false,
    "hosting": false,
    "service": ""
  },
  "abuse": {
    "address": "US, CA, Cupertino, MS 89-1DR, 1 Infinite Loop, 95014",
    "country": "US",
    "email": "[email protected]",
    "name": "Apple Abuse",
    "network": "17.0.0.0/8",
    "phone": "+1-408-974-7777"
  },
  "domains": {
    "page": 0,
    "total": 0,
    "domains": []
  }
}

🔗 Documentation: https://ipinfo.io/developers

from iplocation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.