Datazapp API Documentation

Demography Append API

Append demographic, lifestyle, financial, political, homeowner, pet owner, donor, and modeled intent attributes to customer records using Datazapp’s Demography Append API.

Version: 1.0.0
Method: POST
Format: JSON

Get Started

The Demography Append API adds demographic and modeled consumer attributes to existing customer or prospect records. These may include age, gender, income, education, marital status, home ownership, dwelling type, pet ownership, charitable interests, political indicators, investor signals, solar intent, mortgage attributes, and more.

Submit identifying data such as name, address, ZIP, email, phone, MD5 email hash, or SHA email hash. Use OutputColumn to specify which demographic fields you want returned.

API Endpoint

Replace the placeholder below with your assigned Datazapp API endpoint URL.

Endpoint - you'll get this from your account manager
<datazapp api endpoint URL>

Demography Append API Request

Submit your API key, append module, requested output columns, and input records in the request body.

JSON Request Body - Name, Address, Email & Phone
{
  "ApiKey": "API Key",
  "AppendModule": "DemographyAppend",
  "OutputColumn": [
    "Age",
    "Education",
    "Marital_Status",
    "Gender",
    "Ethnicity",
    "Income",
    "Occupation",
    "Presence_of_Child",
    "Home_Owner",
    "LOR",
    "Dwelling_Type",
    "Home_Value",
    "Dog_Owner",
    "Cat_Owner",
    "Diet_Weight_Loss",
    "Golf_Enthusiasts",
    "Travel_Cruise_Vacations",
    "Travel_International",
    "Arts_Cultural",
    "Animal_Welfare",
    "Childrens_Causes",
    "Environmental_Causes",
    "International_Aid",
    "Religious",
    "Veterans",
    "NumberOfChildren",
    "Party-Leaning_D",
    "Party-Leaning_R",
    "Political_Donor",
    "Unregistered_Voter",
    "Signal_Accredited_Investor",
    "Signal_EV_Purchase",
    "Signal_High_Networth",
    "Propensity_to_Give",
    "Signal_Seller_Score",
    "Signal_Solar_Intenders",
    "Loan_Amount_Range",
    "HomePurchase_Range",
    "NLTV",
    "CREDIT_RANGE",
    "EST_LoanBalance_Range"
  ],
  "Data": [
    {
      "FirstName": "John",
      "LastName": "Doe",
      "Address": "123 Main St",
      "City": "Anytown",
      "Zip": "12345",
      "Email": "[email protected]",
      "Phone": "15555555555"
    }
  ]
}
JSON Request Body - MD5 Email Input
{
  "ApiKey": "API Key",
  "AppendModule": "DemographyAppend",
  "OutputColumn": [
    "Age",
    "Gender",
    "Income",
    "Home_Owner"
  ],
  "Data": [
    {
      "MD5": "MD5Data"
    }
  ]
}
JSON Request Body - SHA Email Input
{
  "ApiKey": "API Key",
  "AppendModule": "DemographyAppend",
  "OutputColumn": [
    "Age",
    "Gender",
    "Income",
    "Home_Owner"
  ],
  "Data": [
    {
      "SHA": "SHAData"
    }
  ]
}

Request Parameters

Parameter Required Type Description
ApiKeyYesStringYour assigned Datazapp API key.
AppendModuleYesStringUse DemographyAppend.
OutputColumnYesArrayList of demographic fields you want returned.
DataYesArrayContains the records to process.
FirstNameConditionalStringFirst name of the person.
LastNameConditionalStringLast name of the person.
AddressConditionalStringValid United States postal address.
CityConditionalStringCity name.
ZipConditionalString5-digit ZIP code. ZIP+4 is also accepted.
EmailNoStringEmail address for matching.
PhoneNoStringPhone number for matching.
MD5NoStringMD5 hashed email input.
SHANoStringSHA hashed email input.

Output Columns

Column Name Description
AgeAge group or age value of the individual.
EducationEducation level of the individual or household.
Marital_StatusMarried, single, inferred married, or inferred single.
GenderGender of the individual.
EthnicityEthnicity of the individual.
IncomeIncome range or income indicator.
OccupationOccupation of the individual.
Presence_of_ChildKnown presence or absence of children age 0–17 in the household.
Home_OwnerHomeowner, probable homeowner, or renter indicator.
LORLength of residence at the current address.
Dwelling_TypeSingle-family, multi-family, or unknown dwelling type.
Home_ValueEstimated home value or home value range.
Dog_OwnerLikely presence of dog owner in household.
Cat_OwnerLikely presence of cat owner in household.
Diet_Weight_LossInterest in dieting or weight loss.
Golf_EnthusiastsInterest in golf or golf-related merchandise.
Travel_Cruise_VacationsAffinity for cruise travel.
Travel_InternationalInterest in international travel.
Arts_CulturalSupport for arts or cultural causes.
Animal_WelfareSupport for animal welfare causes.
Childrens_CausesSupport for children’s causes.
Environmental_CausesSupport for environmental causes.
International_AidSupport for foreign or international aid causes.
ReligiousReligious interest or support for religious causes.
VeteransSupport for veterans’ affairs causes.
NumberOfChildrenNumeric value representing number of children.
Party-Leaning_DLikely Democratic Party supporter indicator.
Party-Leaning_RLikely Republican Party supporter indicator.
Political_DonorIdentified political donor indicator.
Unregistered_VoterLikely eligible but unregistered voter indicator.
Signal_Accredited_InvestorModeled accredited investor indicator.
Signal_EV_PurchaseElectric vehicle purchase intent or history indicator.
Signal_High_NetworthModeled high net worth indicator.
Propensity_to_GiveNumeric score indicating likelihood to give or donate.
Signal_Seller_ScorePredictive score estimating likelihood of being a home seller.
Signal_Solar_IntendersModeled solar interest or solar intent indicator.
Loan_Amount_RangeLoan amount range.
HomePurchase_RangeHome purchase price range.
NLTVNet loan-to-value ratio range.
CREDIT_RANGECredit score or creditworthiness range.
EST_LoanBalance_RangeEstimated remaining loan balance range.

API Response

JSON Response
{
  "header": {
    "Status": 0,
    "Message": null
  },
  "ResponseDetail": {
    "App": 0,
    "Token": "IxxxxS",
    "Data": [
      {
        "Age": "33",
        "Education": "B",
        "Marital_Status": "M",
        "Gender": "M",
        "Ethnicity": "",
        "Income": "",
        "Occupation": "",
        "Presence_of_Child": "",
        "Home_Owner": "H",
        "LengthOfResidence": "17",
        "Dwelling_Type": "S",
        "Home_Value": "$150001-$200000",
        "Dog_Owner": "",
        "Cat_Owner": "",
        "Diet_Weight_Loss": "",
        "Golf_Enthusiasts": "",
        "Travel_Cruise_Vacations": "",
        "Travel_International": "Y",
        "Arts_Cultural": "",
        "Animal_Welfare": "",
        "Childrens_Causes": "",
        "Environmental_Causes": "",
        "International_Aid": "",
        "Religious": "Y",
        "Veterans": "",
        "Contributor_General": "",
        "Party_Leaning_D": "D",
        "Party_Leaning_R": "R",
        "Political_Donor": "D",
        "Unregistered_Voter": "",
        "Signal_Accredited_Investor": "Y",
        "Signal_EV_Purchase": "",
        "Signal_High_Networth": "",
        "Propensity_to_Give": "68",
        "Signal_Seller_Score": "2x - Medium",
        "Signal_Solar_Intenders": "Solar-Qualified (1x)",
        "Loan_Amount_Range": "$175k-$199k",
        "HomePurchase_Range": "Above 1M",
        "NLTV": "54",
        "CREDIT_RANGE": "EXCELLENT",
        "EST_LoanBalance_Range": "$175000 - $199999",
        "Tag": "",
        "FirstName": "John",
        "LastName": "Doe",
        "Address": "123 Main St",
        "City": "Anytown",
        "Zip": "12345",
        "AlterFirstName": null,
        "AlterLastName": null,
        "AlterAddress": null,
        "AlterCity": null,
        "AlterZip": null,
        "Matched": false
      }
    ],
    "OrderAmount": "$0.135",
    "Count": 26,
    "Message": null,
    "ProcessedTime": "766 milliseconds"
  },
  "Status": true,
  "Message": null
}

Response Fields

Field Type Description
header.StatusIntegerIndicates header status.
header.MessageStringIndicates error type, when applicable.
ResponseDetail.TokenStringSystem-generated reference token.
ResponseDetail.DataArrayReturned demographic append results.
MatchedBoolean / StringIndicates whether the submitted record matched.
AgeStringAge value or age range.
EducationStringEducation code or education level.
Marital_StatusStringMarital status code.
GenderStringGender value.
IncomeStringIncome value or range.
Home_OwnerStringHomeowner, probable homeowner, or renter code.
LengthOfResidenceStringLength of residence.
Dwelling_TypeStringDwelling type code.
Home_ValueStringHome value range.
Signal_Seller_ScoreStringHome seller likelihood score.
Signal_Solar_IntendersStringSolar interest or intent score.
Loan_Amount_RangeStringLoan amount range.
HomePurchase_RangeStringHome purchase price range.
NLTVStringNet loan-to-value ratio range.
CREDIT_RANGEStringCredit range.
EST_LoanBalance_RangeStringEstimated loan balance range.
OrderAmountStringAmount charged for returned matches.
CountString / IntegerNumber of returned values or matched records.
ProcessedTimeStringTotal processing time.
StatusBoolean / StringIndicates overall request status.
MessageStringNull when successful, or error detail when applicable.

Errors

The API may return one of the following error messages if the request cannot be completed.

Module does not exist.The specified module does not exist or the AppendModule name is invalid.
User not found.The API key is invalid or the user associated with the API key was not found.
Getting 401 Error.The user does not have access to this API.
Append Request not found.The specified append request could not be found or the token is invalid.
Improper JSON Data. Please check.The JSON data in the request does not match the expected format.
It seems like API has an issue. Please contact Support.There may be an issue with the API. Contact Datazapp support for assistance.

Recent Post

Categories