What are match codes?
Match codes are flags that show how well the values of the input fields match the values fields in the output record.
How are match codes used?
They can appear in 2 places:
(1) Place match codes in the cfg_mc parameter to specify what kind of match is required for a record to be returned.
(2) Review the strength of a match by reviewing the Match Codes in the #RawMatchCodes field that is returned.
How should I use them with cfg_mc?
When using the cfg_mc parameter, use a "," to separate match codes with an "AND". Use a ";" to separate them with an "OR". For example, "cfg_mc=L,P;E" will return a record if both the last name and phone match or if only the email matches.
Basic Match Codes
Use the basic match codes below to require either an individual-level match or a household-level match for a record to be returned.
|Individual match. Individuals can be matched in many ways, but all include some matching component to a first/last name or specific individual identifier such as Email. If you do not provide these minimum query parameters, the API will not return the INDIV code.
|Household match. For this code to occur, you have to have entered a household address (address/city/state) and name
Match Code Scores
Match code scores give you an indication of how many match codes matched..
|Match Code Score
|A score indicating how strong the match was.
|A weighted score of how strong the match was, emphasizing the number of codes that were matched.
|The letter codes for the match codes that matched.
Advanced Match Codes
Use the advanced match codes below to allow for more flexible matches.
LF0 - First and Last name match
LF1 - First and Last name appear swapped
LF2 - Full name matches
|Address house number
|If A and (C,S or Z) appear this flag will be set.
|City and State match
|DOB or age
Match Code Examples