Skip to content

Feature: Integrate IPinfo API Services #45

@abdullahdevrel

Description

@abdullahdevrel

I work for IPinfo and I believe that the project would benefit from integrating our API service support. We offer various free services with a combination of parameters to support the project.

We use our proprietary ProbeNet Platform for active measurement-based IP data, which means our data surpasses the quality and accuracy of anything available. We operate approximately 1,200 PoPs worldwide to produce the most accurate data possible. All our API services come with HTTPS/SSL support and are dual-stacked. The data granularity of responses goes down to the individual IP level, making the data fully accurate.

To integrate, you can opt for one or a combination of the free data services.

Option 1 (Preferred) IPinfo Lite API: Unlimited Lookups for coutry and ASN data

The IPinfo Lite API service returns the country and ASN information of the queried IP address. The API supports unlimited requests without any rate limiting or throttling, just with a simple free IPinfo access token.

curl api.ipinfo.io/lite/8.8.8.8?token=$TOKEN
{
  "ip": "8.8.8.8",
  "asn": "AS15169",
  "as_name": "Google LLC",
  "as_domain": "google.com",
  "country_code": "US",
  "country": "United States",
  "continent_code": "NA",
  "continent": "North America"
}

Documentation: https://ipinfo.io/developers/lite-api

Option 2: IPinfo Geolocation API (without an access token): 1,000 Lookups /day for city level accuracy data

The IPinfo geolocation API service provides IP geolocation and ASN data with granularity as low as zip code and geographic coordinates. The API supports 1,000 requests per day without an IPinfo access token made from each unique IP address.

curl https://ipinfo.io/8.8.8.8
{
  "ip": "8.8.8.8",
  "hostname": "dns.google",
  "city": "Mountain View",
  "region": "California",
  "country": "US",
  "loc": "37.4056,-122.0775",
  "org": "AS15169 Google LLC",
  "postal": "94043",
  "timezone": "America/Los_Angeles",
  "readme": "https://ipinfo.io/missingauth",
  "anycast": true
}

Option 3: IPinfo Geolocation API (with an access token): 50,000 lookups / month for city leve accuracy data

The IPinfo geolocation API service provides IP geolocation and ASN data with granularity as low as zip code and geographic coordinates. The API supports 50,000 requests per month with a free IPinfo access token.

curl https://ipinfo.io/8.8.8.8
{
  "ip": "8.8.8.8",
  "hostname": "dns.google",
  "city": "Mountain View",
  "region": "California",
  "country": "US",
  "loc": "37.4056,-122.0775",
  "org": "AS15169 Google LLC",
  "postal": "94043",
  "timezone": "America/Los_Angeles",
  "readme": "https://ipinfo.io/missingauth",
  "anycast": true
}

Feel free to choose the option that is best for the community and the project. If you are using the Lite service, you can also include your IPinfo access token and make it a community access token. If you have any questions, feel free to reach out to me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions