IP API
Get IP and IP basic information
FREE API
Offers IP information of request address or country basic information of given IP.
1. My IP
Method: GET
URL: https://q-ube.com:45567/myip
Response: JSON
Sample Response:
- {
- "det": ["EU","GB","AN","London","London"],
- "country": "United Kingdom"
- "ip": "51.2.51.81"
- }
where "det" array is : ContinentCode, CountryCode, RegionCode, Region, City.
2. IP country information:
Method: GET
Query: {ip:<ip>}
Response: JSON
Sample response: ( https://q-ube.com:45567/ip2country?ip=51.2.51.81 )
- {
- "det":"EU","GB","AN","London","London"],
- "country": "United Kingdom"
- }