Website Contacts API
Send a domain and get back the contact details that website publishes: emails, phone numbers, social profiles, the contact page and the address, as JSON.
- 100 free credits
- No card needed
- No scraper to build or maintain
curl "https://pipefetch.com/v1/web/contacts?url=apify.com" \
-H "x-api-key: YOUR_API_KEY"const res = await fetch('https://pipefetch.com/v1/web/contacts?url=apify.com', {
headers: { 'x-api-key': process.env.PIPEFETCH_API_KEY },
});
const { data, credits } = await res.json();import os, requests
res = requests.get(
"https://pipefetch.com/v1/web/contacts",
params={"url": "apify.com"},
headers={"x-api-key": os.environ["PIPEFETCH_API_KEY"]},
)
data = res.json()["data"]What you get
- Every email on the pages read, marked as a shared mailbox or a personal address, with the pages it was found on
- Phone numbers in international format, with country and line type
- Social profiles on 16 platforms, from LinkedIn and Facebook to GitHub and Bluesky
- The contact page, the contact form and the postal address, when the site has them
- Whether each email's domain has mail servers
- Company name, language and country
{
"data": {
"url": "https://apify.com/",
"domain": "apify.com",
"companyName": "Apify",
"primaryEmail": "support@apify.com",
"primaryPhone": null,
"emails": [
{
"email": "support@apify.com",
"type": "role",
"onWebsiteDomain": true,
"freeProvider": false,
"mxFound": true,
"foundOn": [
"https://apify.com/",
"https://apify.com/contact"
]
},
{
"email": "hello@apify.com",
"type": "role",
"onWebsiteDomain": true,
"freeProvider": false,
"mxFound": true,
"foundOn": [
"https://apify.com/contact",
"https://docs.apify.com/legal"
]
}
],
"phones": [],
"phonesUncertain": [],
"socials": {
"linkedin": [
"https://www.linkedin.com/company/apify"
],
"facebook": [],
"instagram": [],
"twitter": [
"https://x.com/apify"
],
"youtube": [],
"tiktok": [
"https://www.tiktok.com/@apifytech",
"https://www.tiktok.com/@apifyoffice"
],
"pinterest": [],
"threads": [],
"snapchat": [],
"telegram": [],
"whatsapp": [],
"discord": [
"https://discord.gg/jyEM2PRvMU",
"https://discord.gg/w3e2v7rWDw"
],
"reddit": [],
"github": [
"https://github.com/apify"
],
"bluesky": [],
"medium": []
},
"contactPageUrl": "https://apify.com/contact",
"contactFormUrl": "https://apify.com/contact-sales",
"hasContactForm": true,
"address": "Na Příkopě 959/27, 11000, Prague, CZ",
"country": "CZ",
"language": "en",
"description": "Thousands of tools to automate your business. Get real-time web data, track competitors, generate leads, and integrate your apps and AI agents.",
"logoUrl": "https://apify.com/img/apify-logo/apify-symbol-200x200.svg",
"pagesRead": [
"https://apify.com/",
"https://apify.com/contact"
]
},
"credits": {
"used": 1,
"remaining": 99
}
}One GET request
Everything the endpoint accepts. The full reference, with the complete example response, is in the docs.
GET/v1/web/contacts
Costs 1 credit per request. Only requests that return data are charged.
Parameters
| Name | Type | Description |
|---|---|---|
urlrequired |
string | Website address or bare domain, such as stripe.com. The site at that host is read; a path is ignored. |
pagesoptional |
integer | How many pages of the site to read, contact, imprint and about pages first. Default: 5. From 1 to 10. |
Good to know
- The home page is read first, then the pages most likely to hold contact details: contact, imprint, about, team.
- Only what the website itself publishes is returned. Nothing is guessed, and no other source is asked.
- A website with no email, phone or social profile on the pages read answers 404 no_contacts. One that does not exist or does not answer within about 20 seconds answers 404 website_unreachable. Neither costs anything.
What people build with it
Enrich a list of companies
Turn a column of domains into emails, phone numbers and LinkedIn pages.
Fill a CRM as accounts arrive
Call the endpoint when a company is added and store its contact channels with it.
Reach the right inbox
Shared mailboxes such as sales@ and support@ are marked, so a message can go to the one meant for it.
Contact data for AI agents
An agent that researches a company gets its contact details in one tool call.
Buy credits once. Use them whenever.
This endpoint costs 1 credit per request, and a request that returns no data costs nothing. Move the slider to see what your volume costs.
One credit is one request that returns data. Requests that return nothing are free.
- $2.42 per 1,000 requests
- About $12.08 a month at this pace
- Lasts about 2.4 months at this pace
- Credits never expire
Questions and answers
Where do the contact details come from?
From the website itself, read at the moment of your request: the home page, then the pages most likely to hold contact details, such as contact, imprint, about and team. Nothing comes from a database and nothing is guessed.
Does it verify the email addresses?
It checks that the domain of each address has mail servers (mxFound). It does not send a test message or confirm that a mailbox exists.
Does it find emails that are not on the website?
No. An address the site does not show, such as a guessed firstname@company.com, is never returned.
What if the website shows no contact details?
The request answers 404 no_contacts and costs nothing. A website that does not exist or does not answer is free as well.
Does it work on every website?
It reads pages as plain HTML, which covers most company websites. Contact details that only appear after a page runs JavaScript are not seen, and a site that refuses automated requests answers 404 website_blocked.
May I use the contact details I get?
That depends on what you do with them and on the law that applies to you. Details a company publishes are still personal data when they name a person, so data-protection and anti-spam rules apply. Our terms forbid using the API to harass people or to send unlawful bulk messages.
What does a request cost?
One request costs 1 credit. Credit packs start at $9 for 3,000 credits, never expire, and a request that returns no data is not charged. New accounts get 100 free credits without a card.
More APIs on the same key
-
1 credit
Brand API
The logo, icon, brand colors, fonts, description and social profiles of a company, read from its website.
GET /v1/web/brand -
1 credit
YouTube Transcript API
The transcript of any public video with captions, as plain text, timestamped segments, SRT or WebVTT.
GET /v1/youtube/transcript -
1 credit
YouTube Video API
Exact views, likes and comment count, description, tags, chapters and channel for one video.
GET /v1/youtube/video -
1 credit
YouTube Channel API
Subscribers, video count, description, keywords and avatar for a channel, from a handle, id or URL.
GET /v1/youtube/channel -
1 credit
YouTube Channel Videos API
The latest uploads of a channel, newest first, with views, duration and publish time.
GET /v1/youtube/channel/videos -
1 credit
YouTube Shorts API
The Shorts of a channel, newest first, with view counts and thumbnails.
GET /v1/youtube/channel/shorts -
1 credit
YouTube Search API
YouTube search results for a query, with the same sorting and filters the site offers.
GET /v1/youtube/search -
1 credit / 20
YouTube Comments API
Top or newest comments of a video with likes, reply counts, pinned and hearted flags.
GET /v1/youtube/comments -
2 credits
Instagram Profile API
Exact followers, bio, links, account type and engagement of a public Instagram account, with its latest posts and Reels.
GET /v1/instagram/profile
Make your first request in a minute
Sign in, copy your key and call an endpoint. Your account starts with 100 free credits.