AptlyStar

LeadMagic

Find and enrich B2B contacts, emails, mobile numbers, and company data

使用说明

Integrate LeadMagic to find verified work emails by name or company, validate email deliverability, find direct mobile numbers, enrich LinkedIn profiles, reverse-lookup profiles from emails, search companies by domain, identify role holders at accounts, and check account credit balance.

工具

leadmagic_validate_email

Verify an email address for deliverability. Charges 0.25 credits for definitive SMTP results (valid/invalid); unknown and RFC-invalid results are free.

输入

参数类型必填描述
emailstring是Email address to validate (e.g., john@example.com)
apiKeystring是LeadMagic API Key

输出

参数类型描述
emailstringThe validated email address
email_statusstringValidation result: valid, invalid, or unknown
is_domain_catch_allbooleanWhether the domain accepts all emails (catch-all)
credits_consumednumberCredits charged for this request (0.25 for definitive results)
messagestringHuman-readable status message
mx_recordstringMX record for the domain
mx_providerstringEmail provider (e.g., Google, Microsoft)
mx_gatewaystringMX gateway for the domain
mx_security_gatewaybooleanWhether the domain uses a security gateway
company_namestringCompany name associated with the email domain
company_industrystringIndustry of the company
company_sizestringCompany size range

leadmagic_find_email

Find someone's verified work email from their name and company domain. Charges 1 credit when a valid email is found; free when no result.

输入

参数类型必填描述
first_namestring否Person's first name (use with last_name, or use full_name instead)
last_namestring否Person's last name (use with first_name, or use full_name instead)
full_namestring否Person's full name (alternative to first_name + last_name)
domainstring否Company domain (preferred, e.g. stripe.com)
company_namestring否Company name (fallback if domain is unavailable)
apiKeystring是LeadMagic API Key

输出

参数类型描述
emailstringFound work email address
statusstringResult status (valid, invalid, etc.)
credits_consumednumberCredits charged (1 when email found)
messagestringHuman-readable status message
employment_verifiedbooleanWhether employment at the company was verified
has_mxbooleanWhether the domain has a valid MX record
mx_recordstringMX record for the email domain
mx_providerstringEmail provider
company_namestringCompany name
company_industrystringCompany industry
company_sizestringCompany size range
company_profile_urlstringCompany LinkedIn/B2B profile URL

leadmagic_find_mobile

Find a person's direct mobile number from their LinkedIn profile URL or email. Charges 5 credits when a number is found; free when no result.

输入

参数类型必填描述
profile_urlstring否LinkedIn profile URL (provide at least one identifier)
work_emailstring否Work email address (provide at least one identifier)
personal_emailstring否Personal email address (provide at least one identifier)
apiKeystring是LeadMagic API Key

输出

参数类型描述
profile_urlstringLinkedIn profile URL used for lookup
emailstringEmail address associated with the profile
mobile_numberstringDirect mobile phone number
credits_consumednumberCredits charged (5 when mobile found)
messagestringStatus message from the API

Enrich a LinkedIn profile with work history, education, skills, and contact data. Charges 1 credit per successful enrichment; free when profile not found.

输入

参数类型必填描述
profile_urlstring是LinkedIn profile URL or username (e.g., https://linkedin.com/in/johndoe\)
extended_responseboolean否Include additional profile image URL in the response (default: false)
apiKeystring是LeadMagic API Key

输出

参数类型描述
profile_urlstringLinkedIn profile URL
first_namestringFirst name
last_namestringLast name
full_namestringFull name
professional_titlestringCurrent job title
biostringProfile bio / summary
locationstringLocation string
countrystringCountry
followers_rangestringLinkedIn follower range
company_namestringCurrent employer
company_industrystringIndustry of current employer
company_websitestringCompany website
total_tenure_yearsstringTotal professional tenure in years
total_tenure_monthsstringTotal professional tenure in months
work_experiencearrayWork history entries
educationarrayEducation history entries
certificationsarrayProfessional certifications
credits_consumednumberCredits charged (1 when profile found)
messagestringHuman-readable status message

leadmagic_profile_to_email

Extract a verified work email from a LinkedIn profile URL. Charges 5 credits when an email is found; free when no result.

输入

参数类型必填描述
profile_urlstring是LinkedIn profile URL or username (e.g., https://linkedin.com/in/johndoe\)
apiKeystring是LeadMagic API Key

输出

参数类型描述
emailstringWork email address found for this profile
profile_urlstringLinkedIn profile URL used for lookup
credits_consumednumberCredits charged (5 when email found)
messagestringHuman-readable status message

leadmagic_email_to_profile

Retrieve a LinkedIn profile URL from a work or personal email address. Charges 10 credits when a profile is found; free when no result.

输入

参数类型必填描述
work_emailstring否Work email address (provide at least one of work_email or personal_email)
personal_emailstring否Personal email address (provide at least one of work_email or personal_email)
apiKeystring是LeadMagic API Key

输出

参数类型描述
profile_urlstringLinkedIn profile URL for the provided email
credits_consumednumberCredits charged (10 when profile found)
messagestringHuman-readable status message

Enrich company data including firmographics, headcount, funding, and social profiles by domain, LinkedIn URL, or name. Charges 1 credit when a company is found; free when no result.

输入

参数类型必填描述
company_domainstring否Company website domain (e.g., stripe.com). Provide at least one identifier.
profile_urlstring否LinkedIn company profile URL (e.g., https://linkedin.com/company/stripe\). Provide at least one identifier.
company_namestring否Company name (fallback if domain/URL unavailable). Provide at least one identifier.
apiKeystring是LeadMagic API Key

输出

参数类型描述
companyNamestringCompany name
companyIdnumberInternal company identifier
industrystringIndustry classification
employeeCountnumberNumber of employees
employeeRangestringHeadcount range (e.g., 1001-5000)
foundednumberYear the company was founded
headquartersjsonHeadquarters location object
revenuestringRevenue range
fundingstringTotal funding amount
descriptionstringCompany description
specialtiesarrayCompany specialties and focus areas
competitorsarrayCompetitor companies
followerCountnumberLinkedIn follower count
twitter_urlstringTwitter/X profile URL
facebook_urlstringFacebook page URL
b2b_profile_urlstringLinkedIn company profile URL
logo_urlstringCompany logo URL
credits_consumednumberCredits charged (1 when company found)
messagestringHuman-readable status message

leadmagic_role_finder

Find the person holding a specific job role at a company. Charges 2 credits when a matching person is found; free when no result.

输入

参数类型必填描述
job_titlestring是Job role to search for (e.g., Head of Sales, CTO). Supports partial matching.
company_domainstring否Company website domain (e.g., stripe.com). Provide domain or company_name.
company_namestring否Company name (fallback if domain unavailable). Provide domain or company_name.
apiKeystring是LeadMagic API Key

输出

参数类型描述
first_namestringFirst name of the person found
last_namestringLast name of the person found
full_namestringFull name of the person found
profile_urlstringLinkedIn profile URL
job_titlestringVerified job title at the company
company_namestringCompany name
company_websitestringCompany website
credits_consumednumberCredits charged (2 when person found)
messagestringHuman-readable status message

leadmagic_get_credits

Retrieve the current credit balance for the authenticated LeadMagic account. This endpoint is free and consumes no credits.

输入

参数类型必填描述
apiKeystring是LeadMagic API Key

输出

参数类型描述
creditsnumberCurrent credit balance

On this page