Setup
Put them in your environment or
.env; Data APIs covers the other ways.
Notes
- Almost every path carries your numeric account id; get it once from forager.account.current.
- Searches and lookups are POST with a JSON body but only read. Each spends credits at the rate your plan sets for that kind of call.
- Filters that take lists of locations, industries, skills, keywords or organizations want Forager ids from the reference.* lookups.
- Job post search, bulk work email lookups, feedback submission and API key management are not in this entry.
Endpoints
Get the current user and accounts
- Free. Every other call needs an account id from accounts[].id here.
Get credits spent in a period
Look up a person
- A read over POST. Give person_id or linkedin_public_identifier.
- Charged per lookup at the plan’s person-details rate.
Find the person behind an email
- A read over POST. Charged at the plan’s reverse-email rate.
Find the person behind a phone number
- A read over POST. Charged at the plan’s reverse-phone rate.
Find a person’s phone numbers
- A read over POST. Charged only when a number comes back.
Find a person’s personal emails
- A read over POST. Corporate, school and custom-domain addresses are never returned.
- No result is 200 with an empty body and costs nothing.
Start a work email lookup
- Starts a billed job: credits are charged once, only when an address is found; nothing else in the account changes.
- Give first_name, last_name and domain, or linkedin_public_identifier alone; a domain with a slug is refused.
- Asynchronous: poll forager.person.work_email_result with job_id until status is completed or failed (Retry-After says when). Rate limited for interactive use.
Get a work email lookup
- Free. status: queued, running, awaiting_provider, completed, failed; result is found or not_found once terminal.
Search people by role
- A read over POST: the filters go in a JSON body; nothing is saved.
- Charged per call at the plan’s role-search rate. List filters take Forager ids from the reference.* lookups, not names.
Search organizations
- A read over POST: the filters go in a JSON body; nothing is saved.
- Charged per call at the plan’s organization-search rate.
Look up a website
- A read over POST. Charged at the plan’s technologies-lookup rate.