palinka wrote: ↑2019-06-30 16:47
ip-api.com - unlimited lookups free but rate limited to 150/ minute. Bonus: no account / api key necessary.
I hit the rate limit once from a single ip. Since then, I:
1) disconnect with RvdH's disconnect.exe
2) autoban for 1 hour
I think that will prevent rate limiting under the same circumstances (single ip connecting again and again within a single minute). Bonus #2: it prevents redundant ip entries in my firewall ban database and therefore also prevents redundant ips in the firewall rules.
I believe api.clearip.io focus on a different audience
ip-api.com:
Code: Select all
{
"as":"AS63949 Linode, LLC",
"city":"London",
"country":"United Kingdom",
"countryCode":"GB",
"isp":"Linode, LLC",
"lat":51.5074,
"lon":-0.127758,
"org":"Linode, LLC",
"query":"109.74.192.170",
"region":"ENG",
"regionName":"England",
"status":"success",
"timezone":"Europe/London",
"zip":"W1B"
}
api.clearip.io:
Code: Select all
{
"ip_address":"109.74.192.170",
"country":"United Kingdom",
"continent":"Europe",
"country_flag":"????", <== It's really an icon
"CountryCode":"GB",
"City":"St Andrews",
"Region":"Scotland",
"lat":56.33871,
"lng":-2.79902,
"tz":"",
"isp":"Linode, LLC",
"is_anonymous_proxy":false,
"is_satellite_provider":false,
"currency":["GBP"],
"country_details":{
"name":{
"common":"United Kingdom",
"official":"United Kingdom of Great Britain and Northern Ireland",
"Native":{
"eng":{
"common":"United Kingdom",
"official":"United Kingdom of Great Britain and Northern Ireland"
}
}
},
"EuMember":true,
"LandLocked":false,
"Nationality":"",
"tld":[".uk"],
"Languages":{
"eng":"English"
},
"Translations":{
"FRA":{
"common":"Royaume-Uni",
"official":"Royaume-Uni de Grande-Bretagne et d'Irlande du Nord"
},
"HRV":{
"common":"Ujedinjeno Kraljevstvo",
"official":"Ujedinjeno Kraljevstvo Velike Britanije i Sjeverne Irske"
},
"ITA":{
"common":"Regno Unito",
"official":"Regno Unito di Gran Bretagna e Irlanda del Nord"
},
"NLD":{
"common":"Verenigd Koninkrijk",
"official":"Verenigd Koninkrijk van Groot-Brittannië en Noord-Ierland"
},
"POR":{
"common":"Reino Unido",
"official":"Reino Unido da Grã-Bretanha e Irlanda do Norte"
},
"RUS":{
"common":"??????????????",
"official":"??????????? ??????????? ?????????????? ? ???????? ????????"
},
"SPA":{
"common":"Reino Unido",
"official":"Reino Unido de Gran Bretaña e Irlanda del Norte"
}
},
"currency":["GBP"],
"Borders":["IRL"],
"cca2":"GB",
"cca3":"GBR",
"CIOC":"GBR",
"CCN3":"826",
"callingCode":["44"],
"InternationalPrefix":"00",
"region":"Europe",
"subregion":"Northern Europe",
"Continent":"Europe",
"capital":"London",
"Area":242900,
"longitude":"2 00 W",
"latitude":"54 00 N",
"MinLongitude":-13.65,
"MinLatitude":49.86667,
"MaxLongitude":2.866667,
"MaxLatitude":61.5,
"Latitude":54.560886,
"Longitude":-2.2125118
}
}
SørenR.
Algorithm (noun.)
Word used by programmers when they do not want to explain what they did.