View Source RocketReach (ExRocketreach v0.1.4)
Client for the RocketReach API. Provides functions to search and lookup contact information for professionals and companies.
This module offers comprehensive functionality for interacting with the RocketReach API, including:
Core Features
- Account management and API key creation
- Person lookup and search capabilities
- Company information retrieval and search
- Bulk lookup operations
- NPI contact search
- Profile-company lookup
Company-Specific Features
- Technology stack analysis
- Competitor analysis
- Industry information
- Company growth metrics
- Company size and revenue search
- Funding information
- Location-based company search
- Public trading status verification
- Organizational structure analysis
Usage Example
client = RocketReach.new("your_api_key")
{:ok, response} = RocketReach.lookup_company(client, %{domain: "example.com"})
API Reference: https://api.rocketreach.co/api/v2
Summary
Functions
Performs bulk lookup operations for multiple queries.
Checks the status of multiple person lookups.
Creates a new API key for the authenticated account.
Retrieves account information for the authenticated user.
Retrieves the technology stack for a company by domain.
Get employees by department
Get direct reports for a specific person
Get company leadership team
Retrieves contact information for a healthcare provider using NPI number.
Get company organizational chart by domain
Looks up company information by various parameters.
Looks up detailed information about a person.
Looks up profile-company relationship information.
Creates a new RocketReach API client with the provided API key.
Searches for companies based on specified criteria.
Searches for companies using specific technologies.
Search for all employees at a company with their roles and reporting structure
Searches for people based on specified criteria.
Functions
Performs bulk lookup operations for multiple queries.
Parameters
- client: RocketReach client struct
- queries: List of query parameters
- opts: Optional keyword list with :profile_list and :webhook_id
Returns
{:ok, response}
containing bulk lookup results{:error, reason}
on failure
Checks the status of multiple person lookups.
Parameters
- client: RocketReach client struct
- ids: List of person IDs to check
Returns
{:ok, response}
containing status information{:error, reason}
on failure
Creates a new API key for the authenticated account.
Parameters
- client: RocketReach client struct
Returns
{:ok, response}
containing the new API key{:error, reason}
on failure
Retrieves account information for the authenticated user.
Parameters
- client: RocketReach client struct
Returns
{:ok, response}
on success{:error, reason}
on failure
Retrieves the technology stack for a company by domain.
Parameters
- client: RocketReach client struct
- domain: Company domain name
Returns
{:ok, tech_stack}
containing list of technologies{:error, reason}
on failure
Get employees by department
Get direct reports for a specific person
Get company leadership team
Retrieves contact information for a healthcare provider using NPI number.
Parameters
- client: RocketReach client struct
- npi: National Provider Identifier number
Returns
{:ok, response}
containing provider contact information{:error, reason}
on failure
Get company organizational chart by domain
Looks up company information by various parameters.
Parameters
- client: RocketReach client struct
- params: Map of company parameters (e.g., domain, name)
Returns
{:ok, response}
containing company details{:error, reason}
on failure
Looks up detailed information about a person.
Parameters
- client: RocketReach client struct
- params: Map of search parameters (e.g., email, name, company)
Returns
{:ok, response}
containing person details{:error, reason}
on failure
Looks up profile-company relationship information.
Parameters
- client: RocketReach client struct
- params: Map of lookup parameters
Returns
{:ok, response}
containing profile-company information{:error, reason}
on failure
Creates a new RocketReach API client with the provided API key.
Parameters
- api_key: String representing your RocketReach API key
Returns
- Req struct configured with base URL and API key header
Searches for companies based on specified criteria.
Parameters
- client: RocketReach client struct
- query: Map containing search criteria
Returns
{:ok, response}
containing search results{:error, reason}
on failure
Searches for companies using specific technologies.
Parameters
- client: RocketReach client struct
- technologies: List of technology names
Returns
{:ok, response}
containing matching companies{:error, reason}
on failure
Search for all employees at a company with their roles and reporting structure
Searches for people based on specified criteria.
Parameters
- client: RocketReach client struct
- query: Map containing search criteria
Returns
{:ok, response}
containing search results{:error, reason}
on failure