fetch a wikitree profile and its ancestor lineage via the public wikitree api

domain: wikitree.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Call GET/POST https://api.wikitree.com/api.php?action=getProfile&key=<WikiTreeID or PageId>&fields=<comma-separated fields> to fetch one profile
  2. Call action=getAncestors with key=<WikiTreeID or PageId> and depth=<N> to walk multiple generations following father/mother links
  3. Parse the JSON array response; each entry has a status code plus a profile object keyed by field name
  4. Explicitly request fields like Bio, Children, Spouses, Parents since the default getProfile response omits them for Person profiles
  5. Handle privacy: Father/Mother/BioFather/BioMother return null when excluded by the profile's Privacy setting

Known gotchas

Related routes

fetch a geni profile's immediate family (parents, spouses, children) via the geni platform api
geni.com · 5 steps · unrated
authenticate a wikitree member via clientlogin and read session-gated data (private/trusted profiles, personal watchlist)
wikitree.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans