All Collections
FAQ
How to pull founder information via API
How to pull founder information via API
Team avatar
Written by Team
Updated over a week ago

Looking to pull Founder information off of a Company Enrichment request? Use the sample code below, which leverages our GraphQL endpoints to pull Founder profiles for a given company:

    import requests
import json
HARMONIC_API_KEY = 'your api key here'
url = 'https://api.harmonic.ai/graphql'
headers = {
'accept': 'application/json',
'apikey': HARMONIC_API_KEY
}
mutation = """
mutation($identifiers: CompanyEnrichmentIdentifiersInput!) {
enrichCompanyByIdentifiers(identifiers: $identifiers) {
companyFound
company {
entityUrn
website {
url
}
socials {
linkedin {
url
}
}
employees(employeeSearchInput: {employeeGroupType: FOUNDERS, employeeStatus: ACTIVE_AND_NOT_ACTIVE}) {
entityUrn
experience {
roleType
title
companyName
}
}
}
}
}
"""
variables = {
"identifiers": {
"websiteDomain": "harmonic.ai"
}
}
payload = {
"query": mutation,
"variables": json.dumps(variables)
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())
Did this answer your question?