Read Person Matches by Example
The Person Matches by Example resource returns a list of possible FamilySearch tree persons that match a person described by a GEDCOM X document containing person details (POST). This resource is particularly useful for matching a person in an external tree to a person in the FamilySearch tree. The Match by Tree Person Id resource should be used to find matches (possible duplicates) for a specific person already in the FamilySearch tree.
Each entry in the match results may contain content of the GEDCOM X media type that provides data about the results, e.g., persons and relationships.
Person Matches are non-exact. The match algorithm will take into account all the information given about the person (and the person's parents, children and spouses, if included) and return matches, each having a likelihood of the match being the same person that was specified in the request. Because the match algorithm is non-exact, a returned match may have information that does not exactly match the information specified in the request. The likelihood is contained in the ResultConfidence field of each Entry (match result).
Dates can be specific (20 July 1946), partial (May 1836 or just 1836), approximate (about 1793) or a range (1898-1903).
The POST body must contain a valid GEDCOM X JSON or XML block. The following elements of the GEDCOM X are required:
Primary Person
There must be a primary person and the primary person must have an id (such as "primaryPerson")
Main Source Description
There must be a main source description in the GEDCOM X document that points to the primary person (see Main sourceDescription.about below)
Main sourceDescription.about
The main source description's about attribute must point to the primary person via an anchor tag (i.e. about="#primaryPerson")
Note: For more accurate results, the GEDCOM X POST body may (and should whenever possible) contain the main person's parents, spouses, and children. All the persons in the GEDCOM X must have IDs so that relationships can be defined between the persons. Persons not specified in a relationship (other than the primary person) will be ignored when matching. The person IDs can be of any format. IDs such as "primaryPerson", "mother1", "child1" etc. are acceptable and more intuitive for human understanding.
Query parameters
The number of results to provide.
The level of confidence of the results. The higher the number the higher the confidence.
The name of the collection in which to find matches. The possible values are 'tree' or 'user_trees'. Note: 'cet' is deprecated, use 'user_trees' instead.
The tree id of the user tree to match against. For use only with user trees. To match against all user trees do not pass in. To find user tree IDs, see <a href="/reference/getgroups" target="_blank">Read User's Groups</a>, or <a href="/reference/createtree" target="_blank">Create Tree</a> to create a new user tree.
Headers
Specifies the media type(s) that the client is willing to accept in the response.
Specifies the media type of the entity-body sent to the server in the request.
Response
The read was successful. See <a href="https://developers.familysearch.org/main/docs/json-schema#person" target="_blank">Person Schema (JSON)</a>