Skip to main content
All CollectionsFAQ
How to pull founder information via API
How to pull founder information via API
Harmonic Team avatar
Written by Harmonic Team
Updated over a year 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?