CONNECT APP
Build with Enrich Layer
Data Analytics
- API key
MCP
Give your agent Enrich Layer tools
Every Enrich Layer action is exposed as an MCP tool on Pipedream's remote server. Point a client at it with your end user's ID and Connect resolves that user's Enrich Layer account for each tool call — you store no tokens.
// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
new URL("https://remote.mcp.pipedream.net/v3"),
{
requestInit: {
headers: {
Authorization: `Bearer ${accessToken}`,
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
"x-pd-app-slug": "enrich_layer",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// e.g. run Check Disposable Email:
const result = await mcp.callTool({
name: "enrich_layer-check-disposable-email",
arguments: {
email: "Email Address",
},
})# access_token: mint a short-lived token with the Connect SDK — see the MCP guide
headers = {
"Authorization": f"Bearer {access_token}",
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", # any stable ID for this user in your system
"x-pd-app-slug": "enrich_layer",
}
async with streamablehttp_client("https://remote.mcp.pipedream.net/v3", headers=headers) as (read, write, _):
async with ClientSession(read, write) as session:
await session.initialize()
tools = await session.list_tools()
# e.g. run Check Disposable Email:
result = await session.call_tool("enrich_layer-check-disposable-email", {
"email": "Email Address",
})API PROXY
Call the Enrich Layer API directly
For an endpoint with no pre-built tool, the Connect proxy forwards your request to the Enrich Layer API with the connected user's credentials attached. You store no tokens and write no refresh logic.
const resp = await pd.proxy.get({
externalUserId: "{external_user_id}", // any stable ID for this user in your system
accountId: "apn_xxxxxxx",
url: "https://enrichlayer.com/api/v2/credit-balance",
})
// Any allowed Enrich Layer endpoint works here. Pipedream attaches the
// connected account's credentials to the outgoing request.# The path segment is the target URL, URL-safe base64 encoded:
# https://enrichlayer.com/api/v2/credit-balance
curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9lbnJpY2hsYXllci5jb20vYXBpL3YyL2NyZWRpdC1iYWxhbmNl?external_user_id={external_user_id}&account_id=apn_xxxxxxx" \
-H "Authorization: Bearer {access_token}" \
-H "x-pd-environment: production"SDK
Run Enrich Layer actions from your backend
Connect a user's Enrich Layer account once, then run Check Disposable Email on their behalf from your own code — TypeScript, Python, or plain HTTP.
import { PipedreamClient } from "@pipedream/sdk"
const pd = new PipedreamClient({
projectId: process.env.PIPEDREAM_PROJECT_ID!,
clientId: process.env.PIPEDREAM_CLIENT_ID!,
clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
projectEnvironment: "production",
})
const result = await pd.actions.run({
id: "enrich_layer-check-disposable-email",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
enrich_layer: { authProvisionId: "apn_xxxxxxx" },
email: "Email Address",
},
})from pipedream import Pipedream
pd = Pipedream(
client_id="{oauth_client_id}",
client_secret="{oauth_client_secret}",
project_id="{project_id}",
project_environment="production",
)
result = pd.actions.run(
id="enrich_layer-check-disposable-email",
external_user_id="{external_user_id}", # any stable ID for this user in your system
configured_props={
"enrich_layer": {"authProvisionId": "apn_xxxxxxx"},
"email": "Email Address",
},
)curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
-H "Content-Type: application/json" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}" \
-d '{
"external_user_id": "{external_user_id}",
"id": "enrich_layer-check-disposable-email",
"configured_props": {
"enrich_layer": { "authProvisionId": "apn_xxxxxxx" },
"email": "Email Address"
}
}'TOOLS
Enrich Layer actions
On-demand operations your product or agent can configure and run on behalf of a connected user.
-
Check Disposable Email
actionCheck if an email address belongs to a disposable email service. Cost: 0 credits. See the documentation.Read-onlyv0.0.2 -
Get Company ID Lookup
actionLook up the vanity ID of a company by its numeric ID. Cost: 0 credits. See the documentation.Read-onlyv0.0.2 -
Get Company Lookup
actionResolve a company profile from company name, domain name, and/or location. Cost: 2 credits per successful request. See the documentation.Read-onlyv0.0.2 -
Get Company Profile
actionGet structured data of a Company Profile from a professional network URL. Cost: 1 credit per successful request. See the documentation.Read-onlyv0.0.2 -
Get Company Profile Picture
actionGet the profile picture of a company from cached profiles. Cost: 0 credits. See the documentation.Read-onlyv0.0.2 -
Get Credit Balance
actionView your Enrich Layer API credit balance. Cost: 0 credits. See the documentation.Read-onlyv0.0.1 -
Get Employee Count
actionGet the total number of employees of a company from various sources. Cost: 1 credit per successful request. See the documentation.Read-onlyv0.0.2 -
Get Employee Listing
actionGet a list of employees of a company. Cost: 3 credits per employee returned. See the documentation.Read-onlyv0.0.2 -
Get Employee Search
actionSearch employees of a target company by their job title. Cost: 10 credits per successful request + 3 credits per employee returned. See the documentation.Read-onlyv0.0.2 -
Get Job Listing Count
actionCount the number of jobs posted by a company on professional networks. Cost: 2 credits per successful request. See the documentation.Read-onlyv0.0.2 -
Get Job Profile
actionGet structured data of a Job Profile from a professional network job URL. Cost: 2 credits per successful request. See the documentation.Read-onlyv0.0.2 -
Get Job Search
actionList jobs posted by a company on professional networks. Cost: 2 credits per successful request. See the documentation.Read-onlyv0.0.2 -
Get Person Lookup
actionLook up a person with a name and company information to find their professional network profile. Cost: 2 credits per successful request. See the documentation.Read-onlyv0.0.2 -
Get Person Profile
actionGet structured data of a Person Profile from a professional network URL. Cost: 1 credit per successful request. See the documentation.Read-onlyv0.0.2 -
Get Person Profile Picture
actionGet the profile picture of a person from cached profiles. Cost: 0 credits. See the documentation.Read-onlyv0.0.2 -
Get Personal Contact Number
actionFind personal phone numbers associated with a given social media profile. Cost: 1 credit per contact number returned. See the documentation.Read-onlyv0.0.2 -
Get Personal Email
actionFind personal email addresses associated with a given social media profile. Cost: 1 credit per email returned. See the documentation.Read-onlyv0.0.2 -
Get Reverse Contact Number Lookup
actionFind social media profiles from a contact phone number. Cost: 3 credits per successful request. See the documentation.Read-onlyv0.0.2 -
Get Reverse Email Lookup
actionResolve social media profiles correlated from an email address. Works with both personal and work emails. Cost: 3 credits per successful request. See the documentation.Read-onlyv0.0.2 -
Get Role Lookup
actionFind the person who most closely matches a specified role in a company (e.g., the CTO of Apple). Cost: 3 credits per successful request. See the documentation.Read-onlyv0.0.2 -
Get School Profile
actionGet structured data of a School Profile from a professional network URL. Cost: 1 credit per successful request. See the documentation.Read-onlyv0.0.2 -
Get Student Listing
actionGet a list of students of a school. Cost: 3 credits per student returned. See the documentation.Read-onlyv0.0.2 -
Get Work Email Lookup
actionLook up the work email address of a person from their professional network profile URL. Emails are verified with 95%+ deliverability guarantee. Cost: 3 credits per successful request. See the documentation.Read-onlyv0.0.2 -
Search Companies
actionSearch for companies that meet a set of criteria. Returns up to 10,000,000 results. Cost: 3 credits per company URL returned. See the documentation.Read-onlyv0.0.2 -
Search People
actionSearch for people who meet a set of criteria. Returns a single page of results per call — use thenext_pageURL from the response to retrieve subsequent pages. Cost: 3 credits per profile URL returned. See the documentation.Read-onlyv0.0.2
EVENTS
Enrich Layer triggers
Event sources your backend can deploy for users and receive through a webhook.
No Enrich Layer triggers are available yet.
- App slug
- enrich_layer
- Authentication
- API key
- Categories
- Data Analytics
- Actions
- 25
- Triggers
- 0
- API proxy
- Available