Developer Documentation

Overview
  • Getting Started
  • Full IP Details
  • Specific Fields
  • JSONP Requests
  • IPv6 Support
  • Rate Limits
  • Terms of Use
Data
  • Network Data
  • Geolocation Data
  • Carrier Data
Client Libraries
  • Node.js
  • Shell
  • PHP
  • Golang
  • Python
More Tools
  • Chrome Extension
  • Slack
Guides
  • Bulk Lookups
  • Customize by Country
  • Filtering Bot Traffic
  • Full Country Names
  • Replacing getCurrentPosition()
  • CURL
  • Node.js
  • jQuery
  • Python
  • Ruby
Getting Started

Use the ipinfo.io IP lookup API to quickly and simply integrate IP geolocation into your script or website. Save yourself the hassle of setting up local GeoIP libraries and having to remember to regularly update the data.

curl ipinfo.io
[object Object]
[object Object]
[object Object]
[object Object]
{ "ip": "203.205.28.14", "hostname": "static.cmcti.vn", "city": "Ho Chi Minh City", "region": "Ho Chi Minh City", "country": "VN", "loc": "10.8142,106.6438", "org": "AS45903 CMC Telecom Infrastructure Company" }
curl ipinfo.io/8.8.8.8/org
[object Object]
[object Object]
[object Object]
[object Object]