Understand data availability and completeness
mainWhile many models share similar structures, the specific attributes populated vary depending on the database or web service endpoint used. MaxMind does not guarantee that every piece of data is available for every IP address.
As a result, it is possible for a request to return a record where some or all attributes are unpopulated. The only piece of data guaranteed to be returned is the ip_address attribute within the geoip2.records.Traits record.