How to convert web interface URL to API profile ID?

Started by Kenneth Ekman on Sunday, January 6, 2019
Problem with this page?

Participants:

Related Projects:

Showing all 3 posts

How could I convert a profile URL to the API profile-id?

In some cases the search algorithm either does not return the expected person, or it returns too many profiles.
In those cases it would be helpful if I could convert a web page URL to the associated profile-id.

Is there a way to do that?

Here is a sample:

Victoria, Queen of the United Kingdom and Empress of India

->

https://www.geni.com/api/profile-g6000000008852088113

Note the 'g' before GUID. The profile ID is present in the API call result.

Thanks, Juha! Works nicely!

Showing all 3 posts

Create a free account or login to participate in this discussion