IP Locator:REST JSON

From Melissa Data Wiki
Jump to navigation Jump to search

← IP Locator

IP Locator Navigation
Introduction
Licensing
Input/Output
Request Fields
Response Fields
Examples
REST JSON
Batch JSON
Result Codes
Result Code Use
IP Locator Result Codes
Sample Code



REST Request

There is no recordID element because a REST request can only submit one record per request.

http://globalip.melissadata.net/v4/web/iplocation/doiplocation
?t={TransmissionReference}
&id={CustomerId}
&ip={IPAddress}
&col={Columns}


JSON Response

{
  "Version": "string",
  "TransmissionReference": "string",
  "TransmissionResults": "string",
  "Records": [{
    "City": "string",
    "ConnectionSpeed": "broadband",
    "ConnectionType": "string",
    "Continent": "string",
    "CountryAbbreviation": "string",
    "CountryName": "string",
    "DomainAddress1": "string",
    "DomainAdministrativeArea": "string",
    "DomainAgeEstimated": "string",
    "DomainAvailability": "string",
    "DomainCountry": "string",
    "DomainCountryCode": "string",
    "DomainCreatedDate": "string",
    "DomainEmail": "string",
    "DomainExpirationDate": string",
    "DomainLocality": "string",
    "DomainName": "string",
    "DomainOrganization": "string",
    "DomainPostalCode": "string",
    "DomainPrivateProxy": "string",
    "DomainUpdatedDate": "string",
    "DST": "string",
    "IPAddress": "string",
    "ISPName": "string",
    "Latitude": "string",
    "Longitude": "string",
    "PostalCode": "string",
    "ProxyDescription": "string",
    "ProxyType": "string",
    "RecordID": "string",
    "Region": "string",
    "Result": "string",
    "TimeZoneCode": "string",
    "TimeZoneName": "string",
    "UTC": "string"
  }]
}