exploring the clearbit apis

29
[email protected] Local part Domain part

Upload: harlow-ward

Post on 23-Jan-2018

453 views

Category:

Technology


0 download

TRANSCRIPT

Who is Harlow? What is Clearbit?

Company API

curl 'https://company.clearbit.com/v1/companies/domain/clearbit.com' \

-u $CLEARBIT_KEY:

Company Response

Person API

curl 'https://person.clearbit.com/v1/people/email/[email protected]' \

-u $CLEARBIT_KEY:

Person Response

Combined API

curl 'https://person.clearbit.com/v1/combined/email/[email protected]' \

-u $CLEARBIT_KEY:

clearbit.com/docs

Building Clearbit

Early Days• Many of our competitors have databases of

upwards of 100M+ email addresses

• Big databases tend to get stale

• What happens when someone lookups up email 100,000,001?

Lookup Patternclient

person

cache

workers

(new email)

202

queryno

enqueued?

cached?

no yes

enqueue!

Lookup Patternclient

person

cache

workers

(in progress)

202

queryyes

enqueued?

cached?

no

Lookup Patternclient

person

cache

workers

(cached email)

200/404 Result

query

cached?

yes

Streaming API(blocking)

client

streaming

person

200 result

query202

query

200

query

person-streaming.clearbit.com

Webhooks

webhook

workers

customer

payload

POST

(async)

youserver.com/callbacks/clearbit

*.clearbit.com

*.clearbit.iorouter (HAProxy)

containersPerson

containersLogscontainersAuth

router (HAProxy)

containersWebhooks

WorkersWorkers

WorkersCache

containers...

containersCompany

WorkersWorkers

WorkersCache

Monitoring

Outward

In

Neat things we can do with Clearbit data

• Funnel optimization (sign up flow)

• Content of email drip campaign

• Give sales team more data on leads

• Surface profile data to end-users of your product

• Underwrite transactions and reduce fraud

Data Usage

mention.com

Funnel Optimization

mention.com

Funnel Optimization

Funnel Optimization

17% (+54%) conversion!

Funnel Optimization

User Profiles

Sunrise Calendar Baremetrics

Integrations

clearbit.com/salesforce

clearbit.com/sheets

clearbit/clearbit-slack