You can download your subscribed IPinfo database in two different ways:
- Database download from your dashboard on the webpage
- Database download from using
cURLon your terminal
Option 1: Database download from the account dashboard
You can visit the Data Downloads page to download your IPinfo database.
Or, you can go to:
- your account Dashboard
- select Data Downloads
- and from there if you scroll down you will find your database that you can have subscribed to.
Option 2: Database download using
You can also download your IPinfo database using
cURL. Please make sure you add the
-L flag to your
cURL command, which enables
cURL to follow redirects.
curl -L https://api.ip.cc/data/location.csv.gz?token=$TOKEN -o location.csv.gz
gzip to compress our database. After downloading the database, you can extract the content or decompress the database using
gunzip, or any compression software of your choice.