View as Markdown
Clearbit icon

Clearbit ACTION

Domain lookup

The Company API allows you to look up a company by their domain. See the docs here.
  • Action
  • Read only
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Clearbit account once, then configure and run Domain lookup from your backend or agent.

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: "clearbit-domain-lookup",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    clearbit: { authProvisionId: "apn_xxxxxxx" },
    domain: "Domain",
    webhookUrl: "Webhook URL",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Domain lookup inputs
Property Type Description
domain Domain string
The domain to look up.
Required
webhookUrl Webhook URL string
A webhook URL that results will be sent to.
Optional
companyName Company Name string
The name of the company.
Optional
linkedin LinkedIn string
The LinkedIn URL for the company.
Optional
twitter Twitter string
The Twitter handle for the company.
Optional
facebook Facebook string
The Facebook URL for the company.
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
clearbit-domain-lookup
Version
0.2.1
App
Clearbit
Authentication
API key
Read-only
Yes
Destructive
No
Open world
Yes