IP Geolocation API is a free EPI that is published under the MIT license and can easily obtain its geographical location based on the user’s IP.
The overall structure of the ricoist that must be sent to this service is as follows:
GET https://api.ipgeolocationapi.com/geolocate/IP_ADDRESS HTTP/1.1
In fact, after obtaining the user’s AP address using functionality included in different programming languages and replacing it with IP_Address, you can easily send a Get Ricoosti and get a Jason format.
It should be noted that both IPV4 and IPV6 are supported by this service, which can be found in an income article on the differences between IPV4 and IPV6 for more information on the differences in this version. We will also be as an objective example of Jissoni this IPI::
{
"continent": "Europe",
"address_format": "{{recipient}}\n{{street}}\n{{postalcode}} {{city}}\n{{country}}",
"alpha2": "DE",
"alpha3": "DEU",
"country_code": "49",
"international_prefix": "00",
"ioc": "GER",
"gec": "GM",
"name": "Germany",
"national_destination_code_lengths": [
2,
3,
4,
5
],
"national_number_lengths": [
6,
7,
8,
9,
10,
11
],
"national_prefix": "0",
"number": "276",
"region": "Europe",
"subregion": "Western Europe",
"world_region": "EMEA",
"un_locode": "DE",
"nationality": "German",
"eu_member": true,
"eea_member": true,
"vat_rates": {
"standard": 19,
"reduced": [
7
],
"super_reduced": null,
"parking": null
},
"postal_code": true,
"unofficial_names": [
"Germany",
"Deutschland",
"Allemagne",
"Alemania",
"ドイツ",
"Duitsland"
],
"languages_official": [
"de"
],
"languages_spoken": [
"de"
],
"geo": {
"latitude": 51.165691,
"latitude_dec": "51.20246505737305",
"longitude": 10.451526,
"longitude_dec": "10.382203102111816",
"max_latitude": 55.0815,
"max_longitude": 15.0418962,
"min_latitude": 47.2701115,
"min_longitude": 5.8663425,
"bounds": {
"northeast": {
"lat": 55.0815,
"lng": 15.0418962
},
"southwest": {
"lat": 47.2701115,
"lng": 5.8663425
}
}
},
"currency_code": "EUR",
"start_of_week": "monday"
}
In response to the question, “What are the benefits of finding IP users?” It can be said that using the geographical location of users can increase the conversion rate, have a better analysis of users’ behavior and expose more relevant content to them, and ultimately give them a better user experience.