People search starts from a list of companies and job titles, and returns profiles to contact. To be told when someone takes a new job, a Job Changes signal fits better: it runs continuously and delivers its leads without you starting a search again.
How do you find the decision-makers of a list of companies through the Rodz API?
Short answer
Send POST /api/v1/enrichment/people-search with your companies, the job titles you want and a location. The response holds up to 25 profiles per page, each with a QUALIFIED or DISQUALIFIED verdict and its reason. Page with page while hasMore is true. If the search runs past 10 seconds, the API answers 202 and you read the result again with the requestId.
Key facts
- A page holds at most 25 profiles;
pageruns from 1 to 100. - A search accepts at most 50 companies (
companies) and 70 job titles (jobTitles). - Every profile carries a verdict
qualificationStatus(QUALIFIEDorDISQUALIFIED) and its reason inqualificationReason. - A synchronous search that runs past about 10 seconds answers
202with arequestId; it is charged once, when it completes.
Before you start
- A Rodz API key, created under Integrations → API in the dashboard (format
USR_...), stored in theRODZ_API_KEYvariable. - Credits on the account: with none left, the API answers
402with the codeNO_MORE_CREDITS. - A list of companies (name, LinkedIn company page URL or LinkedIn id) and the job titles you target.
- Python 3.9+ with the
requestslibrary (pip install requests), or justcurl.
Steps
-
Step 1. Describe the people you are looking for
POST /api/v1/enrichment/people-searchtakes filters, all optional, that you can combine:companies: names, LinkedIn company page URLs or ids, mixed freely (50 at most);jobTitlesandexcludeJobTitles: the titles to keep and to drop (70 at most each);seniorityLevels:Entry,Strategic,Senior,VP,CXO,Director,Manager,PartnerorOwner;locations: where the person lives (for exampleFrance,Lyon, France);companyHeadquarterLocations: where their company is headquartered, not to be confused withlocations;companySize: for example51-200or1001-5000.
For a precise location filter, first resolve a name to an id with
GET /api/v1/enrichment/linkedin-geo-id, then pass it ingeoIds.Search VPs of sales at two companies
curl -X POST "https://api.rodz.io/api/v1/enrichment/people-search" \ -H "Authorization: Bearer $RODZ_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "companies": ["Lemlist", "https://www.linkedin.com/company/acme/"], "jobTitles": ["VP of Sales", "Head of Marketing"], "locations": ["France"], "page": 1 }' -
Step 2. Read each profile's verdict
Each profile in
data.resultsgiveslinkedinUrl,firstName,lastName,location,currentPositions(company, title, start date) and two qualification fields:qualificationStatusandqualificationReason, which explains the verdict, for example "the title is not in jobTitles".To keep only the matching profiles, send
"qualifiedOnly": true:DISQUALIFIEDprofiles disappear from the response, andcountshrinks accordingly. IfaiValidationStatusisunavailable, the check could not run and every profile is returned asQUALIFIED: the response stays usable, but read it again before writing to your CRM. -
Step 3. Page through all the results
The response gives
count(profiles on this page),page,totalPages,totalandhasMore. WhilehasMoreistrue, send the same request withpageincreased by 1, up to 100.The script below walks every page of a search and prints the qualified profiles.
search_people.py
import os import sys import requests URL = "https://api.rodz.io/api/v1/enrichment/people-search" HEADERS = {"Authorization": f"Bearer {os.environ['RODZ_API_KEY']}"} SEARCH = { "companies": ["Lemlist", "https://www.linkedin.com/company/acme/"], "jobTitles": ["VP of Sales", "Head of Marketing"], "locations": ["France"], "qualifiedOnly": True, } page = 1 while True: response = requests.post(URL, headers=HEADERS, json={**SEARCH, "page": page}, timeout=60) response.raise_for_status() if response.status_code == 202: # over 10 seconds: see the next step sys.exit(f"Search still running, requestId={response.json()['requestId']}") data = response.json()["data"] for profile in data["results"]: position = profile["currentPositions"][0] if profile["currentPositions"] else {} print(profile["linkedinUrl"], position.get("companyName"), position.get("title")) if not data["hasMore"] or page >= 100: break page += 1 -
Step 4. Pick up a search that runs past 10 seconds
A synchronous search still running after about 10 seconds answers
202 AcceptedwithrequestId,status: "pending"and aLocationheader. Read that address,GET /api/v1/enrichment/people-search/{requestId}, untilstatusiscompletedorfailed. The result is the same page, charged once when the search completes.To avoid waiting, add
webhookUrlto the request: the API answers202right away and sends the result to your address.deliveryModesets the shape of the delivery:batch(default) sends all results at once,per_resultsends one message per profile. If your receiver was unavailable, the same read route gives you the result again, withwebhookDeliveredCountandwebhookFailedCount.Read a running search again
curl "https://api.rodz.io/api/v1/enrichment/people-search/$REQUEST_ID" \ -H "Authorization: Bearer $RODZ_API_KEY" -
Step 5. Complete the selected profiles, and handle refusals
For each selected profile,
GET /api/v1/enrichment/contactwithurl=(the profile'slinkedinUrl) returns the full background, and the email search takes the name and company: see the guide "Enrich a contact through the API".On errors:
402(NO_MORE_CREDITS) when the balance is empty (withwebhookUrl, the search endsfailedinstead of answering 402),422when a filter is invalid,429when you go over 9,000 requests in the minute (RATE_LIMIT_EXCEEDED, wait the seconds of theRetry-Afterheader).
Example payload
Response of POST /api/v1/enrichment/people-search (two profiles, one qualified and one dropped)
{
"data": {
"results": [
{
"linkedinUrl": "https://www.linkedin.com/in/jane-doe-vp-sales/",
"firstName": "Jane",
"lastName": "Doe",
"location": "Paris, Île-de-France, France",
"openProfile": false,
"premium": true,
"currentPositions": [
{
"companyName": "Lemlist",
"title": "VP of Sales",
"companyLinkedinUrl": "https://www.linkedin.com/company/lemlist/",
"startedOnYear": 2024,
"startedOnMonth": 3
}
],
"qualificationStatus": "QUALIFIED",
"qualificationReason": "title 'VP of Sales' matches jobTitles"
},
{
"linkedinUrl": "https://www.linkedin.com/in/john-smith-marketing/",
"firstName": "John",
"lastName": "Smith",
"location": "Brussels, Belgium",
"openProfile": true,
"premium": false,
"currentPositions": [
{
"companyName": "Lemlist",
"title": "Marketing Director",
"companyLinkedinUrl": "https://www.linkedin.com/company/lemlist/",
"startedOnYear": 2023,
"startedOnMonth": 9
}
],
"qualificationStatus": "DISQUALIFIED",
"qualificationReason": "title 'Marketing Director' not in jobTitles (VP of Sales, Head of Marketing)"
}
],
"count": 2,
"page": 1,
"totalPages": 4,
"total": 87,
"hasMore": true,
"aiValidationStatus": "ok"
},
"requestId": "1f3c2a7e-9b5d-4d2a-8f4b-9a0e7c1d3b22"
} Frequently asked questions
How many profiles can a search return in total?
25 per page, over 100 pages at most. The total field of the response gives the number of matching profiles. To see more, tighten the filters rather than going to the last page.
How do I target a precise city?
Pass a place name in locations, for example Lyon, France. For an exact filter, first resolve the name with GET /api/v1/enrichment/linkedin-geo-id and pass the id you get in geoIds.
What does DISQUALIFIED mean?
The person meets the search filters, but the check of their profile concludes that they do not match what you are looking for. qualificationReason gives the reason, for example a title missing from jobTitles. With qualifiedOnly: true, these profiles are not returned.
What is the `metadata` field for?
To find your way back. Whatever you put there is returned as is in the response, and never filters the search. It is useful to tie a response received by webhook to the row of your database that asked for it.
Sources
Try it on your own market
Find the signals that fit your company and the tool that includes them.