Composite Searching
Composite search in United States of America enables clients to automate the selection of multiple services, processing verification inputs through successive data sources and returning responses from each selected service.
Example - API Requests and Responses with following services configured:
United States Residential United States Credit Bureau United States Phone United States Phone2 United States Consumer United States Financial Services
- AuthorizationstringrequiredDescription
- dataobjectrequiredDescription
- countryCodestringrequiredDescription
- servicearrayrequiredDescription
- clientReferencestringDescription
- firstNamestringrequiredDescription
- middleNamestringDescription
- lastNamestringrequiredDescription
- dateOfBirthstringrequiredDescription
- addressElement1stringrequiredDescription
- addressElement3stringrequiredDescription
- addressElement4stringrequiredDescription
- addressElement5stringrequiredDescription
- identityVariablesobjectrequiredDescription
- phoneNostringrequiredDescription
- socialSecurityNostringDescription
- emailstringDescription
- countryCodestringDescription
- clientReferencestringDescription
- reportingReferencestringDescription
- validationErrorsstringDescription
- matchStatusstringDescription
- searchErrorMessagestringDescription
- safeHarbourbooleanDescription
- searchStatusstringDescription
- serviceResponsesobjectDescription
- statusintegerDescription
- sourceStatusstringDescription
- errorMessagestringDescription
- identityVerifiedbooleanDescription
- safeHarbourScorestringDescription
- nameMatchScorestringDescription
- addressMatchScorestringDescription
- verificationsobjectDescription
- addressElement1boolean
- addressElement3boolean
- dateOfBirthboolean
- firstNameboolean
- genderboolean
- lastNameboolean
- middleNameboolean
- phoneNoboolean
- returnedDataobjectDescription
- altDobScorestringDescription
- dataSourceIdstringDescription
- dataSourceScorenumberDescription
- deceasedRecordbooleanDescription
- hasBankruptcyRecordsbooleanDescription
- hasBusinessRecordsbooleanDescription
- hasEvictionsRecordsbooleanDescription
- hasForeclosuresRecordsbooleanDescription
- hasJudgmentRecordsbooleanDescription
- hasLienRecordsbooleanDescription
- hasUccRecordsbooleanDescription
- hasWorkplaceRecordsbooleanDescription
- remarksarrayDescription
curl --location 'https://idu-test.datazoo.com/api/v2/verify' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImMtbVZlMl9KRFhMcnkzaEhQWEN4TyJ9.eyJ1aWQiOiIzMDMiLCJvaWQiOiI2MiIsImlzcyI6Imh0dHBzOi8vZGF0YXpvby10ZXN0LnVzLmF1dGgwLmNvbS8iLCJzdWIiOiJhdXRoMHwzMDMiLCJhdWQiOiJodHRwczovL2t5Yy10ZXN0LmRhdGF6b28uY29tIiwiaWF0IjoxNzQ2NzQ3NTAxLCJleHAiOjE3NDY3ODM1MDEsImd0eSI6InBhc3N3b3JkIiwiYXpwIjoiSWxVdURJNTF1QXpuVnE2VGVoRXAyOXBrbEhBSjFtYnkifQ.iNJL3kcTus9qwS2JQfs68VNGMrhZ3HPbNb7T6FznlQeE3HWHJPZk4uSxxJSlf2frYEaaOKt2R_OD_VC8MgFr-ALwAG99iQhdqNx9i4-OZkPXRndVYCumA-kJs1wueoLzxpW83MnGr6LtEjHBtDJjgr8O3HhqlGIKuJ3RzOHLzpLJ_Lj9ZfcBzhhA56Pa5wM66mb_29XF_Qy7v7gf-s9feYCY2cMt2x46aWB2leiMXQind8X45xZ53yNpW5Lq_krF2sK3Tl2inC8tS-BcmfPz_bJTYNZjJthlmSCxdkq84lc3K_1bqZ8hs1XPJbkNDQ9DIxJoyn1Qm6S6llvl8_53nQ' \
--data-raw '{
"countryCode": "US",
"service": [
"United States Residential",
"United States Credit Bureau",
"United States Phone",
"United States Phone2",
"United States Consumer",
"United States Financial Services"
],
"clientReference": "Test_0001",
"firstName": "Barbara",
"middleName": null,
"lastName": "Miller",
"dateOfBirth": "1974-08-21",
"addressElement1": "123 Main St",
"addressElement3": "Stratford",
"addressElement4": "CT",
"addressElement5": "06614",
"identityVariables": {
"socialSecurityNo": "854125698",
"phoneNo": "2015106000",
"email": "[email protected]"
}
}'{
"countryCode": "United States",
"clientReference": "Test_0001",
"reportingReference": "DZ-1dc313b3-9888-4473-adf2-54abd7bf6f39",
"matchStatus": "Full Match 2+2 Verification",
"searchErrorMessage": "",
"safeHarbour": true,
"searchStatus": "Successful",
"serviceResponses": {
"United States Consumer": {
"status": 0,
"sourceStatus": "Successful",
"errorMessage": "",
"identityVerified": true,
"safeHarbourScore": "M1",
"nameMatchScore": "1.000",
"addressMatchScore": "1.000",
"verifications": {
"addressElement1": true,
"addressElement3": true,
"addressElement4": true,
"addressElement5": true,
"dateOfBirth": true,
"firstName": true,
"lastName": true,
"phoneNo": true
},
"returnedData": {}
},
"United States Credit Bureau": {
"status": 2,
"sourceStatus": "Successful",
"errorMessage": "",
"identityVerified": false,
"safeHarbourScore": "none",
"nameMatchScore": "N/A",
"addressMatchScore": "N/A",
"verifications": {},
"returnedData": {}
},
"United States Financial Services": {
"status": 2,
"sourceStatus": "Successful",
"errorMessage": "",
"identityVerified": false,
"safeHarbourScore": "none",
"nameMatchScore": "0.446",
"addressMatchScore": "0.000",
"verifications": {
"addressElement1": false,
"addressElement3": false,
"addressElement4": false,
"addressElement5": false,
"dateOfBirth": false,
"firstName": false,
"lastName": false,
"socialSecurityNo": true
},
"returnedData": {
"deceasedRecord": false,
"hasBankruptcyRecords": false,
"hasBusinessRecords": false,
"hasEvictionsRecords": false,
"hasForeclosuresRecords": false,
"hasJudgmentRecords": false,
"hasLienRecords": false,
"hasUccRecords": false,
"hasWorkplaceRecords": false
}
},
"United States Phone": {
"status": 2,
"sourceStatus": "Successful",
"errorMessage": "",
"identityVerified": false,
"safeHarbourScore": "none",
"nameMatchScore": "0.000",
"addressMatchScore": "0.000",
"verifications": {
"addressElement1": false,
"addressElement3": false,
"addressElement4": false,
"addressElement5": false,
"emailAddress": false,
"firstName": false,
"lastName": false,
"phoneNo": false
},
"returnedData": {}
},
"United States Phone 2": {
"status": 2,
"sourceStatus": "Successful",
"errorMessage": "No relevant entries found",
"identityVerified": false,
"safeHarbourScore": "none",
"nameMatchScore": "N/A",
"addressMatchScore": "N/A",
"verifications": {},
"returnedData": {}
},
"United States Residential": {
"status": 1,
"sourceStatus": "Successful",
"errorMessage": "",
"identityVerified": true,
"safeHarbourScore": "P1",
"nameMatchScore": "1.000",
"addressMatchScore": "1.000",
"verifications": {
"addressElement1": true,
"addressElement3": true,
"addressElement4": true,
"addressElement5": true,
"dateOfBirth": true,
"email": false,
"firstName": true,
"lastName": true,
"phoneNo": true,
"socialSecurityNo": true
},
"returnedData": {}
}
},
"remarks": []
} {
"message": "Ain't no cake like that."
}Service Responses Overview
Each service returns its own self-contained response block, ensuring modular and source-specific verification results. Consumers of this API should handle varying response structures dynamically based on the requested services.
Service Responses Element
The serviceResponses object in the API response contains verification results from one or more data sources, structured under their respective service names. Each service returns a distinct response block with service-specific data.
Structure and Behavior:
- Each key within serviceResponses corresponds to a service name, representing an individual verification source.
- Services may return data from a single source or multiple sources in a sequenced API call.
- The structure of each service response varies, with fields such as status, identityVerified, and safeHarbourScore differing between services.
- The verifications block contains service-specific boolean indicators for individual verification checks (e.g., addressElement1, dateOfBirth, firstName).
- The returnedData block provides metadata (if applicable).