Comments (2)
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.
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)
- freegeoip is down? HOT 1
- npmjs reports different version HOT 1
- Freegeoip deprecation warning HOT 3
- Different JSON structures from providers HOT 3
- Add TypeScript Definition / Convert to TypeScript HOT 8
- 🐛Fails Create React App's build HOT 8
- handle sources that require API keys HOT 1
- i am getting response with empty string. HOT 9
- when using promises, It doesn't report RateLimited as an error HOT 2
- More providers HOT 4
- DOESN'T WORK WITH COLOMBIAN IPs HOT 1
- Error: All providers failed HOT 3
- New keys from the https://freegeoip.app/json/* provider HOT 1
- Looking for new maintainer HOT 8
- text
- Please add city
- Error to use the IpLocation HOT 1
- How to pass API key HOT 8
- Basic test failed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iplocation.