Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Migrate from ip.sb to ipquery.io #210

Open
ipqwery opened this issue Feb 20, 2025 · 1 comment
Open

Suggestion: Migrate from ip.sb to ipquery.io #210

ipqwery opened this issue Feb 20, 2025 · 1 comment

Comments

@ipqwery
Copy link

ipqwery commented Feb 20, 2025

Is your feature request related to a problem? Please describe.
The ip.sb api lacks detailed information about connection types, such as VPN, proxy, or datacenter. The current response only includes basic information like organization, ISP, and ASN but lacks potentially interesting signals for users. I think it would be a good feature to swap the api and also add more data for scyllas return response. This could enable stricter filtering or helpful information on if the IP is a tor exit node for example.

https://api.ipquery.io/?format=json

Describe the solution you'd like
Migrate from the current GeoIP API (https://api.ip.sb/geoip/1.1.1.1) to a new API that returns more data with faster response times.

  • ISP and ASN information (e.g., Datacamp Limited, AS212238)
  • Location data with detailed fields such as country, city, state, zipcode, latitude, longitude, timezone, and local time.
  • Connection risk details such as whether the connection is from a mobile device, VPN, Tor, proxy, or datacenter.
  • Risk score indicating the likelihood of the IP being suspicious or risky.

API Response Format:

{
  "ip": "1.1.1.1",
  "isp": {
    "asn": "AS13335",
    "org": "Cloudflare, Inc.",
    "isp": "Cloudflare, Inc."
  },
  "location": {
    "country": "Australia",
    "country_code": "AU",
    "city": "Sydney",
    "state": "New South Wales",
    "zipcode": "1001",
    "latitude": -33.8545484001867,
    "longitude": 151.200162009128,
    "timezone": "Australia/Sydney",
    "localtime": "2025-02-20T10:40:25"
  },
  "risk": {
    "is_mobile": false,
    "is_vpn": false,
    "is_tor": false,
    "is_proxy": false,
    "is_datacenter": true,
    "risk_score": 0
  }
}
@imWildCat
Copy link
Owner

#211

could you review?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants