Skip to content

Data Retriever

Overview

The Data Retriever Cloud API allows you to generate, download, and access lists of contacts, addresses, businesses, and more.

Data Retriever offers the following capabilities:

  • Retrieve a count of results based on provided filters, including City/State, Radius, Zip code, and polygon Shape.
  • Purchase a complete result set, navigate through the list of contacts and addresses using pagination.

Documentation

Useful Resources

Product Page

Support Center

Download OpenAPI description
Languages
Servers
Data Retriever Server
https://dataretriever.melissadata.net/web/V1/

MAK

Use this endpoint to retrieve lists of addresses.

Operations

NewMovers

Use this endpoint to retrieve lists of new movers.

Operations

NewHomeowners

Use this endpoint to retrieve lists of new homeowners.

Operations

Consumer

Use this endpoint to retrieve lists of consumers.

Operations

Consumer Two

Use this endpoint to retrieve lists of consumers.

Operations

Business

Use this endpoint to retrieve lists of businesses.

Operations

Get total record count of businesses

Request

This endpoint gets the total record count returned using the required and optional properties passed in. This endpoint does not count against the package usage.

Headers
Acceptstringrequired

Format of the response.

Enum"application/json""*/*"
Example: application/json
Content-Typestringrequired

Format of the request.

Enum"application/json""application/xml"
Bodyapplication/jsonrequired
CustomerIDstringrequired

The License Key issued by Melissa.

Includesobjectrequired

Any parameter you would like to include in the query.

Requires at least one from:

  • Zips
  • Cities
  • Radius
  • ShapeWKTs
Includes.​ZipsArray of objects

A list of Zips objects containing Zip codes and optionally Plus4.

Includes.​CitiesArray of objects

A list of cities objects each containing City and State.

Includes.​Radiusobject

A Radius object containing a Latitude, Longitude, and Distance represented in miles.

Includes.​ShapeWKTsArray of strings(wkt)

A list of WKT polygon strings

Includes.​RBDIArray of strings

An RBDI code.

Includes.​FIPSCodeArray of strings

A list of FIPSCodes.

Includes.​EmailArray of strings

Email.

Includes.​DeliverableEmailboolean

The deliverability status of the email address.

Includes.​MarketableEmailboolean

The marketable status of the email address.

Includes.​JobTitleArray of strings

Descriptive label of the individual's job.

Includes.​JobTitlesArray of strings

Descriptive label of the individual's job.

Includes.​ManagementLevelLabelArray of strings

Describes the contact's position relative to others in their organization.

Includes.​ManagementLevelLabelsArray of strings

Describes the contact's position relative to others in their organization.

Includes.​SICCodeArray of strings

The primary line of business represented by a Standard Industrial Classification code.

Includes.​SecondarySICCodeArray of strings

The line of business represented by a Standard Industrial Classification code.

Includes.​NAICSCode1Array of strings

The primary line of business represented by a North American Industry Classification System code.

Includes.​NAICSCode2Array of strings

The lines of business represented by North American Industry Classification System codes.

Includes.​NumberCorporateEmployeesArray of strings

The actual, reported total number of employees at all locations in a corporate family.

Includes.​EstNumberCorporateEmployeesArray of strings

Estimates the total number of employees at all locations in a corporate family.

Includes.​NumberLocalEmployeesArray of strings

The number of employees who work at this place.

Includes.​EstNumberLocalEmployeesArray of strings

Estimates the number of employees who work at this location.

Includes.​LocSalesVolumeArray of strings

An estimation of the place's sales revenue.

Includes.​ContactEmailArray of strings

The email address of the contact.

Includes.​ContactDeliverableEmailboolean

The deliverability status of the email address.

Includes.​ContactMarketableEmailboolean

The marketable status of the email address.

Includes.​CBSACodeArray of strings

The core based statistical area where the place is located.

Includes.​CBSALevelArray of strings

Information on whether the CBSA is a micropolitan or metropolitan area.

Includes.​CSACodeArray of strings

The combined statistical area code where the place is located.

Includes.​ContactApiderArray of strings

The gender of the individual.

Includes.​ContactJobFunctionIdArray of strings

Describes the type of work an employee performs in their organization.

Includes.​ContactJobTitlesArray of strings

Descriptive label of the individual's job.

Includes.​ContactJobTitlesCountArray of strings

The total number of Job titles associated with the contact.

Includes.​ContactManagementLevelArray of strings

Describes the contact's position relative to others in their organization.

Includes.​ContactProfessionalTitleArray of strings

The professional degree or title of the individual.

Includes.​ContactIndicatorArray of strings

Information on whether the individual is the primary contact for the location.

Includes.​ContactSuppressedFieldsArray of strings

The fields on the individual that are suppressed.

Includes.​ContactTitleCodesArray of strings

A list of the individual's job titles.

Includes.​WebsiteArray of strings

The primary homepage URL of the business.

Includes.​WorkAtHomeboolean

The place is a work at home business.

Includes.​OpenedForBusinessOnArray of strings

The date when the place opened for business.

Includes.​EstimatedOpenedForBusinessLowerArray of strings

Estimated opened for business lower.

Includes.​EstimatedOpenedForBusinessUpperArray of strings

Estimated opened for business upper.

Includes.​CorporateFranchisingboolean

Determine if the corporation includes franchised branches.

Includes.​CorporateSalesRevenueArray of strings

The actual, reported sales revenue for the corporate family.

Includes.​EstimatedCorporateSalesRevenueArray of strings

Estimates total sales revenue for the corporate family.

Includes.​RestaurantCuisinesArray of strings

The type of cuisine served at the place.

Excludesobject

Any parameter you would like to exclude in the query.

curl -i -X POST \
  https://dataretriever.melissadata.net/web/V1/Business/doCount \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
    "CustomerID": "{REPLACE-WITH-YOUR-LICENSE-KEY}",
    "Includes": {
      "Cities": [
        {
          "City": "Rancho Santa Margarita",
          "State": "CA"
        },
        {
          "City": "Irvine",
          "State": "CA"
        }
      ],
      "DeliverableEmail": true,
      "RestaurantCuisines": [
        "pizza",
        "burgers"
      ]
    }
  }'

Responses

Successful response

Bodyapplication/json
Countinteger

Number of records returned by the query.

JobIdstring

The JobId to be used to purchase and access the full dataset.

ResultCodestring

Success or Error codes based on the response/request.

Response
application/json
{ "Count": 108, "JobId": "returned_job_id", "ResultCode": "LS01" }

Get a paginated result view of businesses

Request

This endpoint returns a paginated result view of the request. This can sometimes take awhile and should be used after DoCount has been used to filter down your dataset.

Headers
Acceptstringrequired

Format of the response.

Enum"application/json""*/*"
Example: application/json
Content-Typestringrequired

Format of the request.

Enum"application/json""application/xml"
Bodyapplication/jsonrequired
CustomerIDstringrequired

The License Key issued by Melissa.

Includesobjectrequired

Any parameter you would like to include in the query.

Requires at least one from:

  • Zips
  • Cities
  • Radius
  • ShapeWKTs
Includes.​ZipsArray of objects

A list of Zips objects containing Zip codes and optionally Plus4.

Includes.​CitiesArray of objects

A list of cities objects each containing City and State.

Includes.​Radiusobject

A Radius object containing a Latitude, Longitude, and Distance represented in miles.

Includes.​ShapeWKTsArray of strings(wkt)

A list of WKT polygon strings

Includes.​RBDIArray of strings

An RBDI code.

Includes.​FIPSCodeArray of strings

A list of FIPSCodes.

Includes.​EmailArray of strings

Email.

Includes.​DeliverableEmailboolean

The deliverability status of the email address.

Includes.​MarketableEmailboolean

The marketable status of the email address.

Includes.​JobTitleArray of strings

Descriptive label of the individual's job.

Includes.​JobTitlesArray of strings

Descriptive label of the individual's job.

Includes.​ManagementLevelLabelArray of strings

Describes the contact's position relative to others in their organization.

Includes.​ManagementLevelLabelsArray of strings

Describes the contact's position relative to others in their organization.

Includes.​SICCodeArray of strings

The primary line of business represented by a Standard Industrial Classification code.

Includes.​SecondarySICCodeArray of strings

The line of business represented by a Standard Industrial Classification code.

Includes.​NAICSCode1Array of strings

The primary line of business represented by a North American Industry Classification System code.

Includes.​NAICSCode2Array of strings

The lines of business represented by North American Industry Classification System codes.

Includes.​NumberCorporateEmployeesArray of strings

The actual, reported total number of employees at all locations in a corporate family.

Includes.​EstNumberCorporateEmployeesArray of strings

Estimates the total number of employees at all locations in a corporate family.

Includes.​NumberLocalEmployeesArray of strings

The number of employees who work at this place.

Includes.​EstNumberLocalEmployeesArray of strings

Estimates the number of employees who work at this location.

Includes.​LocSalesVolumeArray of strings

An estimation of the place's sales revenue.

Includes.​ContactEmailArray of strings

The email address of the contact.

Includes.​ContactDeliverableEmailboolean

The deliverability status of the email address.

Includes.​ContactMarketableEmailboolean

The marketable status of the email address.

Includes.​CBSACodeArray of strings

The core based statistical area where the place is located.

Includes.​CBSALevelArray of strings

Information on whether the CBSA is a micropolitan or metropolitan area.

Includes.​CSACodeArray of strings

The combined statistical area code where the place is located.

Includes.​ContactApiderArray of strings

The gender of the individual.

Includes.​ContactJobFunctionIdArray of strings

Describes the type of work an employee performs in their organization.

Includes.​ContactJobTitlesArray of strings

Descriptive label of the individual's job.

Includes.​ContactJobTitlesCountArray of strings

The total number of Job titles associated with the contact.

Includes.​ContactManagementLevelArray of strings

Describes the contact's position relative to others in their organization.

Includes.​ContactProfessionalTitleArray of strings

The professional degree or title of the individual.

Includes.​ContactIndicatorArray of strings

Information on whether the individual is the primary contact for the location.

Includes.​ContactSuppressedFieldsArray of strings

The fields on the individual that are suppressed.

Includes.​ContactTitleCodesArray of strings

A list of the individual's job titles.

Includes.​WebsiteArray of strings

The primary homepage URL of the business.

Includes.​WorkAtHomeboolean

The place is a work at home business.

Includes.​OpenedForBusinessOnArray of strings

The date when the place opened for business.

Includes.​EstimatedOpenedForBusinessLowerArray of strings

Estimated opened for business lower.

Includes.​EstimatedOpenedForBusinessUpperArray of strings

Estimated opened for business upper.

Includes.​CorporateFranchisingboolean

Determine if the corporation includes franchised branches.

Includes.​CorporateSalesRevenueArray of strings

The actual, reported sales revenue for the corporate family.

Includes.​EstimatedCorporateSalesRevenueArray of strings

Estimates total sales revenue for the corporate family.

Includes.​RestaurantCuisinesArray of strings

The type of cuisine served at the place.

Excludesobject

Any parameter you would like to exclude in the query.

ColumnsArray of stringsrequired

All Business Columns you want returned.

Items Enum"MelissaAddressKey""BaseMelissaAddressKey""Name""AddressLine""Suite""City""State""ZIPCode""Plus4""DeliveryPoint"
Paginationobjectrequired

Specify the desired page in the results to access. Pages are based on 100 records per page.

Pagination.​Pageinteger
curl -i -X POST \
  https://dataretriever.melissadata.net/web/V1/Business/doLookup \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
    "CustomerID": "{REPLACE-WITH-YOUR-LICENSE-KEY}",
    "Includes": {
      "Cities": [
        {
          "City": "Rancho Santa Margarita",
          "State": "CA"
        },
        {
          "City": "Irvine",
          "State": "CA"
        }
      ],
      "DeliverableEmail": true,
      "RestaurantCuisines": [
        "pizza",
        "burgers"
      ]
    },
    "Columns": [
      "MelissaAddressKey",
      "Name"
    ],
    "Pagination": {
      "Page": 1
    }
  }'

Responses

Successful response

Bodyapplication/json
Countinteger

Number of records returned by the query.

ResultsArray of objects

Returned records with requested Columns.

Paginationobject

The current page number and the next page number.

JobIdstring

The JobId to be used to purchase and access the full dataset.

ResultCodestring

Success or Error codes based on the response/request.

Response
application/json
{ "Count": 108, "Results": [ {}, {} ], "Pagination": { "CurrentPage": 1, "NextPage": 0, "TotalPages": 1 }, "JobId": "returned_job_id", "ResultCode": "LS01" }

Get record count and sample of businesses

Request

This endpoint allows API users to retrieve a count and 10 record sample of the results to preview before purchasing a file version of the full dataset.

Headers
Acceptstringrequired

Format of the response.

Enum"application/json""*/*"
Example: application/json
Content-Typestringrequired

Format of the request.

Enum"application/json""application/xml"
Bodyapplication/jsonrequired
CustomerIDstringrequired

The License Key issued by Melissa.

Includesobjectrequired

Any parameter you would like to include in the query.

Requires at least one from:

  • Zips
  • Cities
  • Radius
  • ShapeWKTs
Includes.​ZipsArray of objects

A list of Zips objects containing Zip codes and optionally Plus4.

Includes.​CitiesArray of objects

A list of cities objects each containing City and State.

Includes.​Radiusobject

A Radius object containing a Latitude, Longitude, and Distance represented in miles.

Includes.​ShapeWKTsArray of strings(wkt)

A list of WKT polygon strings

Includes.​RBDIArray of strings

An RBDI code.

Includes.​FIPSCodeArray of strings

A list of FIPSCodes.

Includes.​EmailArray of strings

Email.

Includes.​DeliverableEmailboolean

The deliverability status of the email address.

Includes.​MarketableEmailboolean

The marketable status of the email address.

Includes.​JobTitleArray of strings

Descriptive label of the individual's job.

Includes.​JobTitlesArray of strings

Descriptive label of the individual's job.

Includes.​ManagementLevelLabelArray of strings

Describes the contact's position relative to others in their organization.

Includes.​ManagementLevelLabelsArray of strings

Describes the contact's position relative to others in their organization.

Includes.​SICCodeArray of strings

The primary line of business represented by a Standard Industrial Classification code.

Includes.​SecondarySICCodeArray of strings

The line of business represented by a Standard Industrial Classification code.

Includes.​NAICSCode1Array of strings

The primary line of business represented by a North American Industry Classification System code.

Includes.​NAICSCode2Array of strings

The lines of business represented by North American Industry Classification System codes.

Includes.​NumberCorporateEmployeesArray of strings

The actual, reported total number of employees at all locations in a corporate family.

Includes.​EstNumberCorporateEmployeesArray of strings

Estimates the total number of employees at all locations in a corporate family.

Includes.​NumberLocalEmployeesArray of strings

The number of employees who work at this place.

Includes.​EstNumberLocalEmployeesArray of strings

Estimates the number of employees who work at this location.

Includes.​LocSalesVolumeArray of strings

An estimation of the place's sales revenue.

Includes.​ContactEmailArray of strings

The email address of the contact.

Includes.​ContactDeliverableEmailboolean

The deliverability status of the email address.

Includes.​ContactMarketableEmailboolean

The marketable status of the email address.

Includes.​CBSACodeArray of strings

The core based statistical area where the place is located.

Includes.​CBSALevelArray of strings

Information on whether the CBSA is a micropolitan or metropolitan area.

Includes.​CSACodeArray of strings

The combined statistical area code where the place is located.

Includes.​ContactApiderArray of strings

The gender of the individual.

Includes.​ContactJobFunctionIdArray of strings

Describes the type of work an employee performs in their organization.

Includes.​ContactJobTitlesArray of strings

Descriptive label of the individual's job.

Includes.​ContactJobTitlesCountArray of strings

The total number of Job titles associated with the contact.

Includes.​ContactManagementLevelArray of strings

Describes the contact's position relative to others in their organization.

Includes.​ContactProfessionalTitleArray of strings

The professional degree or title of the individual.

Includes.​ContactIndicatorArray of strings

Information on whether the individual is the primary contact for the location.

Includes.​ContactSuppressedFieldsArray of strings

The fields on the individual that are suppressed.

Includes.​ContactTitleCodesArray of strings

A list of the individual's job titles.

Includes.​WebsiteArray of strings

The primary homepage URL of the business.

Includes.​WorkAtHomeboolean

The place is a work at home business.

Includes.​OpenedForBusinessOnArray of strings

The date when the place opened for business.

Includes.​EstimatedOpenedForBusinessLowerArray of strings

Estimated opened for business lower.

Includes.​EstimatedOpenedForBusinessUpperArray of strings

Estimated opened for business upper.

Includes.​CorporateFranchisingboolean

Determine if the corporation includes franchised branches.

Includes.​CorporateSalesRevenueArray of strings

The actual, reported sales revenue for the corporate family.

Includes.​EstimatedCorporateSalesRevenueArray of strings

Estimates total sales revenue for the corporate family.

Includes.​RestaurantCuisinesArray of strings

The type of cuisine served at the place.

Excludesobject

Any parameter you would like to exclude in the query.

ColumnsArray of stringsrequired

All Business Columns you want returned.

Items Enum"MelissaAddressKey""BaseMelissaAddressKey""Name""AddressLine""Suite""City""State""ZIPCode""Plus4""DeliveryPoint"
curl -i -X POST \
  https://dataretriever.melissadata.net/web/V1/Business/getCount \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
    "CustomerID": "{REPLACE-WITH-YOUR-LICENSE-KEY}",
    "Includes": {
      "Cities": [
        {
          "City": "Rancho Santa Margarita",
          "State": "CA"
        },
        {
          "City": "Irvine",
          "State": "CA"
        }
      ],
      "DeliverableEmail": true,
      "RestaurantCuisines": [
        "pizza",
        "burgers"
      ]
    },
    "Columns": [
      "MelissaAddressKey",
      "Name"
    ]
  }'

Responses

Successful response

Bodyapplication/json
JobIdstring

The JobId to be used to purchase and access the full dataset.

Countinteger

Number of records returned by the query.

ResultCodestring

Success or Error codes based on the response/request.

SampleArray of objects

A 10 record sample response.

Response
application/json
{ "JobId": "returned_job_id", "Count": 108, "ResultCode": "LS01", "Sample": [ {}, {} ] }