GuideAPI referenceSDKs
Dashboard
Company Enrichment

LinkedIn URL to Domain

Resolve a LinkedIn company URL to its primary email domain.

POST/v2/enrichment/linkedin-to-domain

Request

curl -X POST "https://moltsetz.vercel.app/v2/enrichment/linkedin-to-domain" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "company_linkedin_url": "https://www.linkedin.com/company/openai"
}'

Body

FieldTypeRequiredDescription and limits
company_linkedin_urlstringRequiredCanonical or trailing-slash LinkedIn company profile URL.linkedin.com/company/{slug}

Pagination

This endpoint is not paginated.

Credits

One request credit is recorded only when this endpoint returns a 2xx response. Authentication, validation, rate-limit, and not-found responses do not consume a credit.

Response

FieldTypeDescription
foundbooleanWhether a matching record was found.
email_domainstring | nullPrimary company domain.

Example response

{
  "found": true,
  "email_domain": "openai.com"
}

Errors

StatusCodeWhen
422INVALID_INPUTA required value is missing, malformed, or outside its documented limits.
404NOT_FOUNDThe input is valid but no matching record exists.
401UNAUTHORIZEDThe x-api-key header is missing or invalid.
402CREDITS_EXHAUSTEDA limited plan has no request credits remaining.
405METHOD_NOT_ALLOWEDThe endpoint is called with an unsupported HTTP method.
429RATE_LIMIT_EXCEEDEDThe API key exceeds its plan-wide requests-per-second limit.
500DATA_SERVICE_ERRORThe data service cannot complete the request.
{
  "success": false,
  "error": {
    "code": "INVALID_INPUT",
    "message": "A field-specific validation message"
  }
}