Try requests in the browser. Loads about 1MB of JavaScript.

PeopleDB API

API for retrieving contact information and validating email addresses.

Base URL: https://peopledb.co/api/v1 · Authentication: Bearer token in the Authorization header · OpenAPI spec · peopledb.co · Pricing

GET /people — Get contact info

Retrieve contact information for a person by their LinkedIn ID, LinkedIn public identifier, GitHub ID, or GitHub login.

Query parameters

NameTypeRequiredDescription
linkedin_idintegernoLinkedIn ID to search by
linkedin_public_identifierstringnoLinkedIn public identifier (username) to search by
github_idintegernoGitHub ID to search by
github_loginstringnoGitHub login (username) to search by

Example

curl "https://peopledb.co/api/v1/people?linkedin_public_identifier=johndoe" \
  --header "Authorization: Bearer YOUR_SECRET_TOKEN"

Responses

Response fields

FieldTypeDescription
linkedin_idintegerLinkedIn ID
linkedin_public_identifierstringLinkedIn public identifier (username)
github_idintegerGitHub ID
github_loginstringGitHub login (username)
email_addressesarray of stringList of known email addresses. Only present when at least one address was found — absence means no email data is available.
personal_email_addressesarray of stringThe subset of email_addresses on personal mail providers (Gmail, Outlook, and similar). Only present when email_addresses is present.
work_email_addressesarray of stringThe subset of email_addresses on company domains. Only present when email_addresses is present.
phone_numbersarray of stringList of known phone numbers. Only returned when email_addresses is also present.
github_usernamestringGitHub username
facebook_usernamestringFacebook username
twitter_usernamestringTwitter/X username

GET /email_verifications — Validate email address

Validate an email address and return detailed verification results.

Performs comprehensive validation including: Email syntax validation; MX record verification (DNS lookup); SMTP deliverability check; Disposable email detection; Common domain typo suggestions; Detection of servers that accept any email

Query parameters

NameTypeRequiredDescription
email_addressstringyesEmail address to validate
smtp_timeoutintegernoSMTP check timeout in seconds

Example

curl "https://peopledb.co/api/v1/email_verifications?email_address=user@example.com" \
  --header "Authorization: Bearer YOUR_SECRET_TOKEN"

Responses

Response fields

FieldTypeDescription
emailstringThe email address that was validated
validbooleanWhether the email is considered valid
classificationstringOverall classification of the email: - `valid`: Email passed all checks cleanly - `risky`: Email is valid but has concerns (accepts any email, DNS/SMTP assumptions, disposable email, or warnings) - `invalid`: Email validation failed
scoreintegerValidation score from 0-100. Higher scores indicate higher confidence. Scoring breakdown: - Syntax valid: +20 points - MX verified: +40 points (or +15 if assumed) - SMTP verified: +35 points (or +15 if accepts any email, +10 if assumed) - No SMTP check: +20 points - Warning penalty: Up to -25 points
score_detailsobjectDetailed breakdown of validation scoring factors
errorsarray of stringList of validation errors encountered
warningsarray of stringList of validation warnings
checksobjectIndividual validation check results

POST /email_verifications — Validate email address

Validate an email address and return detailed verification results.

This endpoint performs the same validation as GET but accepts parameters via request body or form data.

Query parameters

NameTypeRequiredDescription
email_addressstringyesEmail address to validate
smtp_timeoutintegernoSMTP check timeout in seconds

Example

curl --request POST \
  "https://peopledb.co/api/v1/email_verifications?email_address=user@example.com" \
  --header "Authorization: Bearer YOUR_SECRET_TOKEN"

Responses

Response fields

FieldTypeDescription
emailstringThe email address that was validated
validbooleanWhether the email is considered valid
classificationstringOverall classification of the email: - `valid`: Email passed all checks cleanly - `risky`: Email is valid but has concerns (accepts any email, DNS/SMTP assumptions, disposable email, or warnings) - `invalid`: Email validation failed
scoreintegerValidation score from 0-100. Higher scores indicate higher confidence. Scoring breakdown: - Syntax valid: +20 points - MX verified: +40 points (or +15 if assumed) - SMTP verified: +35 points (or +15 if accepts any email, +10 if assumed) - No SMTP check: +20 points - Warning penalty: Up to -25 points
score_detailsobjectDetailed breakdown of validation scoring factors
errorsarray of stringList of validation errors encountered
warningsarray of stringList of validation warnings
checksobjectIndividual validation check results