---
title: "Website Contacts API: 3 endpoints, 1 credit per call"
description: "Website Contacts API that finds email addresses and social profiles for any company or domain, across websites, as JSON. From 1 credit per call."
url: https://perceptlayer.com/apis/contacts
---

[APIs](https://perceptlayer.com/apis) / [Web and SEO](https://perceptlayer.com/verticals/web-seo) / Website Contacts

1 credit per call 3 endpoints 5 datapoints 

# Website Contacts API

Website Contacts API that finds email addresses and social profiles for any company or domain, across websites, as JSON. From 1 credit per call.

[Get a free API key](https://perceptlayer.com/signup) Run it below

Website Contacts

GET /v1/contacts/social-links?query=Stripe&social\_networks=linkedin%2Cx%2Cgithub 

```
{
  "success": true,
  "query": "Stripe",
  "networks": [
    "linkedin",
    "x",
    "github"
  ],
  "data": {
    "linkedin": [
      {
        "url": "https://www.linkedin.com/company/stripe",
        "handle": "stripe",
        "title": "Stripe | LinkedIn",
        "snippet": "Stripe is a financial infrastructure platform for businesses. Millions of companies—from the world's largest enterprises to the most ambitious startups—use ...",
        "position": 1
      },
      {
        "url": "https://www.linkedin.com/in/annaspysz",
        "handle": "annaspysz",
        "title": "‍ Anna Spysz - Developer Advocate at Stripe | LinkedIn",
        "snippet": "Developer Advocate at Stripe · I've worked in many fields and various roles over the years, from travel writer to newspaper editor to tech journalist to ...",
        "position": 4
      },
      {
        "url": "https://www.linkedin.com/in/james-salter-233ab115",
        "handle": "james-salter-233ab115",
        "title": "James Salter - Stripe - LinkedIn",
        "snippet": "Experience: Stripe · Location: London · 500+ connections on LinkedIn. View James Salter's profile on LinkedIn, a professional community of 1 billion ...",
        "position": 5
      }
    ],
    "x": [
      {
        "url": "https://x.com/stripe",
        "handle": "stripe",
        "title": "Stripe - X",
        "snippet": "Agents can now use Ramp cards to buy from businesses using Stripe via @mpp. Get your business agent-ready: docs.stripe.com/payments/machi….",
        "position": 2
      },
      {
        "url": "https://x.com/patrickc",
        "handle": "patrickc",
        "title": "Patrick Collison (@patrickc) / X",
        "snippet": "@Stripe CEO, @ArcInstitute cofounder. ... We're hosting a small event to discuss the latest advances in AI and biology this Friday evening, featuring @ ...",
        "position": 9
      }
    ],
    "github": [
      {
        "url": "https://github.com/supabase",
        "handle": "supabase",
        "title": "Stripe Sync Engine - Local Development · supabase - GitHub",
        "snippet": "I installed the integration on our production DB, but I'd like to use the Stripe test credentials on my local environment to test processing transactions and ...",
        "position": 8
      },
      {
        "url": "https://github.com/stripe",
        "handle": "stripe",
        "title": "Stripe - GitHub",
        "snippet": "Stripe has 103 repositories available. Follow their code on GitHub.",
        "position": 10
      }
    ]
  },
  "meta": {
    "duration_ms": 1397,
    "request_id": "req_eb853b8a107e41a1a02a9b7de1f70346",
    "credits_charged": 1,
    "credits_remaining": 1781
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

Sample data

## What one call returns

A recorded run of `social-links`: the fields and shapes you will get, shortened to 3 items.

| # | url url | handle string | title string | snippet string | position integer |
| --- | --- | --- | --- | --- | --- |
| 1 | https://www.linkedin.com/company/stripe | stripe | Stripe \| LinkedIn | Stripe is a financial infrastructure platform for businesses. Millions of companies—from the world's largest enterprises to the most ambitious startups—use ... | 1 |
| 2 | https://www.linkedin.com/in/annaspysz | annaspysz | ‍ Anna Spysz - Developer Advocate at Stripe \| LinkedIn | Developer Advocate at Stripe · I've worked in many fields and various roles over the years, from travel writer to newspaper editor to tech journalist to ... | 4 |
| 3 | https://www.linkedin.com/in/james-salter-233ab115 | james-salter-233ab115 | James Salter - Stripe - LinkedIn | Experience: Stripe · Location: London · 500+ connections on LinkedIn. View James Salter's profile on LinkedIn, a professional community of 1 billion ... | 5 |

Recorded from our API · 3 items shown · 5 datapoints per item GET /v1/contacts/social-links?query=Stripe&social\_networks=linkedin%2Cx%2Cgithub

5 datapoints

### Identity

-   title string

### Contact

-   url url

### Other

-   handle string
-   snippet string
-   position integer

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/contacts/social-links?query=Stripe&social_networks=linkedin%2Cx%2Cgithub" \
  -H "X-API-Key: $API_KEY"
```

Website Contacts · 3 endpoints

## Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/contacts/emails`](https://perceptlayer.com/apis/contacts/emails) | `email_domain` +3 optional | JSON | 1 credit |
| [GET `/v1/contacts/social-links`](https://perceptlayer.com/apis/contacts/social-links) | `query` +1 optional | `url` `handle` `title` `snippet` `position` | 1 credit |
| [GET `/v1/contacts/website`](https://perceptlayer.com/apis/contacts/website) | `domain` +3 optional | JSON | 1–8 credits |

Overview

## About the Website Contacts API

## What you can get

The Website Contacts API finds contact details for any company or domain, across websites, through 3 endpoints. It is not tied to one site.

-   **Social links:** `social-links` takes a `query`, such as a company name, with `social_networks`, a comma-separated list like `linkedin,x,github`.
-   **Emails:** `emails` takes an `email_domain`, with `query`, `limit` and `page`.
-   **Website:** `website` takes a `domain` and fetches pages from that site, with `max_pages`, `match_email_domain` and `include_external`.

The recorded `social-links` call for "Stripe" on linkedin, x and github returns `query`, `networks`, and `data` with one list per network. Each result has `url`, `handle`, `title`, `snippet` and `position`. The results are search matches: in the recording, one github result belongs to another organisation whose page mentions Stripe, so check the `handle` before you keep a link.

## How a call works

`GET /v1/contacts/social-links?query=Stripe&social_networks=linkedin,x,github` with your key in the `X-API-Key` header returns profiles for each network. To read a site itself, call `GET /v1/contacts/website?domain=example.com&max_pages=5`. `social-links` and `emails` cost 1 credit per successful call. `website` costs 1 credit per page fetched, and `max_pages` sets how many, up to 8, so that call costs at most 5 credits. Failed calls cost nothing.

Web and SEO JSON REST MCP

### More web and seo APIs

[BuiltWith](https://perceptlayer.com/apis/builtwith) [Domain Availability](https://perceptlayer.com/apis/domain-availability) [Google Ads Transparency](https://perceptlayer.com/apis/google-ads-transparency) [Impressum Extraction](https://perceptlayer.com/apis/impressum-extraction) [Local Rank Tracker](https://perceptlayer.com/apis/local-rank-tracker) [North Data](https://perceptlayer.com/apis/north-data) [Owler](https://perceptlayer.com/apis/owler) [PitchBook](https://perceptlayer.com/apis/pitchbook) [Semrush](https://perceptlayer.com/apis/semrush) [Similarweb](https://perceptlayer.com/apis/similarweb) [Web Scraper](https://perceptlayer.com/apis/web-scraper) [ZoomInfo](https://perceptlayer.com/apis/zoominfo)

Use cases

### Find a company's LinkedIn, X and GitHub profiles from its name

`Use the Website Contacts API to find a company's LinkedIn, X and GitHub profiles from its name` 

### Find email addresses for a domain, filtered by \`query\`

`` Use the Website Contacts API to find email addresses for a domain, filtered by `query` `` 

### Enrich a lead list with emails and social links

`Use the Website Contacts API to enrich a lead list with emails and social links` 

### Fill in missing contact fields in a CRM

`Use the Website Contacts API to fill in missing contact fields in a CRM` 

FAQ

## Questions

**How much does the Website Contacts API cost?**

\`social-links\` and \`emails\` cost one credit per successful call. \`website\` costs one credit per page fetched, up to 8 pages, which you cap with \`max\_pages\`. New accounts get free credits to start, and credit packs bring the price down as you scale.

**Which social networks can I search?**

Pass the ones you want in \`social\_networks\`, comma-separated. The recorded call uses \`linkedin\`, \`x\` and \`github\`, and \`data\` returns one list for each.

**What format are responses in?**

Every endpoint returns JSON, with no HTML parsing on your side.

**Is this the official Website Contacts API?**

No. Perceptlayer is an independent service and is not affiliated with Website Contacts. It returns Website Contacts data as JSON with a Perceptlayer key, so there is no Website Contacts developer account, app review or partner approval to get first. It only reads data: if Website Contacts has an official API and you need to act on your own Website Contacts account, such as posting, managing orders or reading private data, use that one.

**Should I build a Website Contacts scraper instead?**

You can, but a Website Contacts scraper is code you maintain: page changes break it, requests get blocked, and Website Contacts's terms govern how you collect data. The Website Contacts API gives you 3 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

## Try the Website Contacts API with 100 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
