
Security News
Django Joins curl in Pushing Back on AI Slop Security Reports
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Web Server that provides a simple API for IP address information
MAXMIND_LICENSE_KEY
(required) - Set this to the key you got from Maxmind aboveIPAPI_PORT
(optional) - The server port. Defaults to 3334.git clone git@github.com:guyellis/ipapi.git
npm install
npm start
From a browser or your client code call http://<your-domain>/ip/<x.x.x.x>
For example, if you're running the server locally then opening http://localhost:3334/ip/1.2.3.4
in your browser will return some JSON that looks something like this:
{
"city": {
"geoname_id": 2077456,
"names": {
"en": ""
}
},
"continent": {
"code": "OC",
"geoname_id": 0,
"names": {
"en": "Oceania"
}
},
"country": {
"geoname_id": 0,
"iso_code": "AU",
"names": {
"en": "Australia"
}
},
"location": {
"latitude": 0,
"longitude": 0,
"metro_code": 0,
"time_zone": "Australia/Sydney"
},
"postal": {
"code": ""
},
"registered_country": {
"geoname_id": 0,
"iso_code": "AU",
"names": {
"en": "Australia"
}
},
"subdivisions": [
{
"geoname_id": 0,
"iso_code": "",
"names": {
"en": ""
}
}
]
}
The data for the server comes from the GeoLite2 DB provided by maxmind.com.
4.0.0
FAQs
Web Server that provides a simple API for IP address information
The npm package ipapi receives a total of 49 weekly downloads. As such, ipapi popularity was classified as not popular.
We found that ipapi demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.