v1

latestOpenAPI 3.0.1Apache 2.02026-07-2420454370.2 KB
Matches

Read Person Matches by ID

Certification Required

The Match by Tree Person Id endpoint defines the set of matches in the system for a person in the Family Tree.

The scope of the match results can be limited to a specific collection using the collection query parameter.

Use of the collection query parameter in a production environment is restricted to applications that have been certified. Applications requesting record matches must be certified. See Record Hinting Certification.

Currently, only the following collections support match results:

titleidentifierdescription
FamilySearch Treehttps://familysearch.org/platform/collections/tree (or just "tree")The set of matches (possible duplicates) in the FamilySearch tree.
FamilySearch Recordshttps://familysearch.org/platform/collections/records (or just "records")The set of matches in the FamilySearch records.
FamilySearch User Treeshttps://familysearch.org/platform/collections/cet (or just "cet")The set of matches in the FamilySearch user trees.

If no collection is specified, the request will be interpreted as matches in the FamilySearch tree (possible duplicates) Family Tree.

Each match has a "status" that indicates it to be in one of the following states:

nameidentifierdescription
Pendinghttp://familysearch.org/v1/PendingThe match has neither been accepted nor rejected.
Acceptedhttp://familysearch.org/v1/AcceptedThe match has been accepted as valid.
Rejectedhttp://familysearch.org/v1/RejectedThe match has been rejected as invalid.

Match results can be filtered using the status query parameter.

get/tree/persons/{pid}/matches

Path parameters

pidstring required

The ID of the person whose matches are requested. Can be a person from the main FamilySearch tree or from a user tree. To find an example person ID, see <a href="/reference/searchtreepersons" target="_blank">Search Tree Persons</a>.

Query parameters

collection'tree' | 'user_trees' | 'records' | 'cet'

The name of the collection in which to find matches. The possible values are tree, user_trees, or records. Note: 'cet' is deprecated, use 'user_trees' instead.

confidenceinteger

The level of confidence of the results. The higher the number, the higher the confidence desired.

countinteger

The number of results to provide.

statusstring

The match status(es) by which to filter the results. For tree collection matches the default is pending and accepted. For record collection matches the default is pending matches.

treeIdstring

The tree id of the user tree to match against. For use with the user tree collection only. 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

Accept'application/x-gedcomx-atom+json' | 'application/json' | 'application/atom+xml' | 'application/xml' required

Specifies the media type(s) that the client is willing to accept in the response.

Response

The read was successful. See <a href="https://developers.familysearch.org/main/docs/json-schema#person" target="_blank">Person Schema (JSON)</a>