$ curl "https://api.ip2location.com/v2/?ip=173.48.81.115&key={YOUR_API_KEY}&package=WS25&addon=continent,country,region,city,geotargeting,country_groupings,time_zone_info" { "country_code": "US", "country_name": "United States of America", "region_name": "Massachusetts", "city_name": "Boston", "latitude": "42.35843", "longitude": "-71.05977", "zip_code": "02108", "time_zone": "-04:00", "isp": "Verizon Communications Inc.", "domain": "verizon.com", "net_speed": "DSL", "idd_code": "1", "area_code": "617", "weather_station_code": "USMA0046", "weather_station_name": "Boston", "mcc": "310", "mnc": "004\/005\/006\/012", "mobile_brand": "Verizon", "elevation": "14", "usage_type": "ISP\/MOB", "address_type": "U", "category": "IAB19-18", "credits_consumed": 35, "continent": { "name": "North America", "code": "NA", "hemisphere": [ "north", "west" ], "translations": [] }, "country": { "name": "United States of America", "alpha3_code": "USA", "numeric_code": "840", "demonym": "Americans", "flag": "https:\/\/cdn.ip2location.com\/assets\/img\/flags\/us.png", "capital": "Washington, D.C.", "total_area": "9826675", "population": "331002651", "currency": { "code": "USD", "name": "United States Dollar", "symbol": "$" }, "language": { "code": "EN", "name": "English" }, "idd_code": "1", "tld": "us", "is_eu": false, "translations": [] }, "region": { "name": "Massachusetts", "code": "25", "translations": [] }, "city": { "name": "Boston", "translations": [] }, "geotargeting": { "metro": "506" }, "country_groupings": [ { "acronym": "Americas", "name": "Americas" }, { "acronym": "APEC", "name": "Asia-Pacific Economic Cooperation" }, { "acronym": "DAC", "name": "Development Assistance Committee" }, { "acronym": "G2", "name": "Group of Two" }, { "acronym": "G20", "name": "Group of Twenty" }, { "acronym": "G7", "name": "Group of Seven" }, { "acronym": "G8+5", "name": "Group of Eight + Five" }, { "acronym": "NAFTA", "name": "North American Free Trade Agreement" }, { "acronym": "NALA", "name": "North America and Latin America" }, { "acronym": "OAS", "name": "Organization of American States" }, { "acronym": "OECD", "name": "Organisation for Economic Co-operation and Development" }, { "acronym": "P5", "name": "Permanent Members of the United Nations Security Council" }, { "acronym": "UN", "name": "United Nations" } ], "time_zone_info": { "olson": "America\/New_York", "current_time": "2021-05-25T17:43:57-04:00", "gmt_offset": -14400, "is_dst": "yes", "sunrise": "05:13", "sunset": "20:09" } }