You can check the date of a given database’s latest release by issuing a HEAD request for that database’s download permalink URL, as found on our database download page [login required].
For example, using the permalink for the GeoIP2 City CSV database, you can issue a command like the following:
$ curl -I 'https://download.maxmind.com/app/geoip_download?edition_id=GeoIP2-City-CSV&license_key=YOUR_LICENSE_KEY&suffix=zip'
YOUR_LICENSE_KEY is a placeholder for your account’s actual license key.
In the response, you can check the
last-modified header for the file’s build date, or you can check the
content-disposition header for the date that would appear in the file name. These checks can be incorporated into your own script or program, according to your needs.
This method only issues a HEAD request, rather than a download request, so running this check won’t count against your daily database download limit.