Skip to content

Response formats

Choose between one JSON result and a stream of Server-Sent Events for each Deep Search API call, and see which events arrive while a lookup runs.

Pick a format

Unless you ask otherwise, people search, person dossiers, person chat and research runs stream text/event-stream, while company, image, VIN and address lookups answer with JSON. You can request either format from any operation. In a stream, the data: lines of each frame hold JSON.

Add "format": "json" to the body to wait for one typed object instead. Its type tells you where the result is: a search_result holds hits, a dossier_result holds dossier and a chat_result holds answer.

During a people search the same candidate can arrive more than once: a later hit with a hit.id you have already seen carries newly sourced details. Update that candidate where it is rather than listing a new person.

Events you may receive

EventMeaning
statusShort progress text you can show to a user.
hitOne person or company candidate.
entity_sectionOne section of a company dossier.
vehicle_sectionOne section of a vehicle profile.
address_sectionOne section of an address report, about the property and place only.
image_matchA public page where the image appears.
similar_imageAn image that looks like the one you sent.
image_summaryThe overall reverse-image result and the provider that produced it.
sectionA completed section of a person dossier.
summaryThe next piece of a person dossier's written summary.
sourcesThe sources a person dossier relies on.
textThe next piece of a chat answer.
relatedFollow-up questions to offer after a chat answer.
social_account_foundNew social-account evidence found during a people search.
account_updatedRevised evidence for a social account a people search already reported.
cluster_updatedRevised evidence for a group of matching candidates in a people search.
evidenceWhere a claim about an account or candidate group came from, in a people search.
avatar_updatedA people search checked or changed a profile photo candidate.
usageThe final charge for the call and the usage you have left.
doneThe stream has ended. partial: true means it stopped early.
errorA fatal error ended the stream.

Skip any event type your code does not recognise, because new types can appear within the same API version.