Skip to content

Kwabang/maxmind-self-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maxmind-Self-API

Query

ASN

Requests

GET /asn/<Query_IP>
Parameter Type Description
Query_IP string IP for query

Country

Requests

GET /country/<Query_IP>
Parameter Type Description
Query_IP string IP for query

City

Requests

GET /city/<Query_IP>
Parameter Type Description
Query_IP string IP for query

Geolocation

Requests

GET /geolocation/<Query_IP>
Parameter Type Description
Query_IP string IP for query

Status Codes

Status Code Description
200 information exists in Maxmind DB
400 Invalid IP
404 Non-existent path
422 No information exists in Maxmind DB

How to download database

https://dev.maxmind.com/geoip/geoip2/geolite2/#Access