Receive the result back for all addresses from the input
NOTE: It expects UTF-8 character encoding. Be on the lookout for question marks (?), squares (▖) or other weird characters like �. They may be an indication of encoding issues and may result in data loss. Bad encoding or character loss is not something our service can correct for you.
With a REST request, you can include all the input along with the URL for an easy and quick way of sending a single record.
C:\>curl -X GET “https://globalip.melissadata.net/v4/WEB/iplocation/doiplocation?id=########&ip=188.8.131.52&opt=&t=CurlExample”
You can also put the URL without the "curl -X GET" command directly into your browser. You can also toggle between getting XML or JSON back using the format input parameter. As you can see, in this example, we are asking for JSON back.
Batch requests from 1 to 100 records at a time are sent using HTTP POST. This means you cannot send it in a browser like with HTTP GET.
The full name of the country where the IP address is located.
The alpha-2 country code of the country where the IP address is located.
The connection speed associated with this IP address.
The type of connection used by this IP address.
The GMT offset for the area where the IP address is located.
The continent where the IP address is located.
The type of proxy for an IP Address
Additional Details for the Proxy Type returned.
Time Zone Code
The time zone code where the IP address is located.
Time Zone Name
The time zone name where the IP address is located.
The Continent where the IP address is located.
A comma delimited string that provides more information from the service.
IP Locator and other Melissa APIs will have a Results Output. Several different Result Codes may be returned by the service in order to give you detailed information about the status of the record submitted.
It is important to understand these result codes in order for you to make a determination of good vs bad data and how you would want to use it.
The IP Address was found in the database.
The IP Address was not found.
The IP Address is a proxy.
The IP Address entered is in the IPv6 Format.
Results that begin with IE are an indication of an ip error
Results that begin with IC are changes to the input IP