Quickstart#

Introduction#

Welcome to the LeadGen Occupant Melissa Web Service.

The Web Service can:

  • Select, Get Counts, and Purchase Targeted Occupant Mailing Lists

  • Do any of the above in real-time, anytime

System Requirements#

  • SSL/TLS 1.2+

Getting Started - What Can I Do?#

There are multile endpoints you can access for LeadGen: Occupant. These endpoints are all formatted like:

http://list.melissadata.net/V1/occupant/rest/Service.svc/{{action}}/{{format}}/{{geographicType}}

Where action is either get or buy, format is json or xml, and geographicType is one geographic type selected from one of these supported types: Geographic Types

Endpoint#

/V1/Occupant/rest/Service.svc

Click here to go to the full endpoint documentation.

Try it Now#

  • GET JSON
  • GET XML
  • BUY JSON
  • BUY XML
curl -X GET "http://list.melissadata.net/V1/occupant/rest/Service.svc/get/json/zip\
?id=customer@domain.com&crrt=b007-92688&zip=92688" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X GET "http://list.melissadata.net/V1/occupant/rest/Service.svc/get/zip\
?id=customer@domain.com&crrt=b007-92688&zip=92688" \
-H "Content-Type: application/xml" \
-H "Accept: application/xml"
curl -X GET "http://list.melissadata.net/V1/occupant/rest/Service.svc/buy/json/zip\
?id=customer@domain.com&crrt=b007-92688&zip=92688" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X GET "http://list.melissadata.net/V1/occupant/rest/Service.svc/buy/xml/zip\
?id=customer@domain.com&crrt=b007-92688&zip=92688" \
-H "Content-Type: application/xml" \
-H "Accept: application/xml"

Download#

This call downloads the file that was output by the Purchase Endpoint

Try it Now#

curl -L -O {{downloadLink}}

Sample Code#

Language

Repository

Postman Collection

melissa_favicon MelissaData/LeadgenOccupant-Postman