Links
2⃣

Response Format

You can change the format of the API responses easily. Just pass the format parameter to the request with the format type you want.
The available formats are: JSON, XML, CSV and Newline.
JSON is the default format. So, there's no need to add this parameter if you want the response format to be in JSON.
Usage:
https://gregeoip.com/GeoIP?key=1234567890&params=country_name&format=XML
get
https://gregeoip.com
/GeoIP