Score ICP fit
POST /api/v1/icp-score
POST
/api/v1/icp-score
Cost: 1 credit per contact
Returns an A/B/C/D grade plus a 0-100 numeric score and a buyer-persona breakdown. Wraps LeadSonar’s AI enrichment engine. Costs 1 credit per call. Provide either an email or the full triplet of first_name + last_name + domain. The target_icp field is required — describe your ideal customer in 1-2 sentences.
Try it
curl https://app.leadsonar.io/api/v1/icp-score \
-H "X-API-Key: $LS_KEY" \
-H "Content-Type: application/json" \
-d '{
"first_name": "Jordan",
"last_name": "Reyes",
"title": "Head of Sales",
"company": "Maildeck",
"domain": "maildeck.co",
"target_icp": "Agencies and B2B companies that run cold email outreach and need sending infrastructure"
}'Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”Provide either email or the full triplet of first_name + last_name + domain.
object
first_name
string
Example
John last_name
string
Example
Doe email
string
Example
john.doe@acme.com domain
string
Example
acme.com company
string
Example
Acme Inc title
string
Example
VP of Engineering industry
string
Example
fintech target_icp
required
1-2 sentence description of your ideal customer.
string
Example
Mid-market fintech companies in North America with 50-500 employees that need payment infrastructure.Example
{ "first_name": "Jordan", "last_name": "Reyes", "title": "Head of Sales", "company": "Maildeck", "domain": "maildeck.co", "target_icp": "Agencies and B2B companies that run cold email outreach and need sending infrastructure"}Responses
Section titled “ Responses ”ICP score result
object
grade
string
Example
A score
integer
Example
87 fit
string
Example
high company_type
string
Example
fintech infrastructure company their_solution
string
Example
payment processing and revenue growth buyer_personas
string
Example
CTOs, VPs of Engineering, fintech founders analysis
Free-form reasoning behind the score
string
cost_credits
number
Example
1 company_type_plural
string
Example
Payment Solutions Providers industry_descriptor
string
Example
financial services and payment solutionsExample
{ "grade": "A", "score": 81, "fit": "high", "company_type": "cold email infrastructure providers", "company_type_plural": "cold email infrastructure providers", "industry_descriptor": "cold email infrastructure", "their_solution": "scalable cold email infrastructure", "buyer_personas": null, "analysis": null, "cost_credits": 1}Validation error
object
error
required
Human-readable error message
string
message
Additional details
string
Insufficient credits
object
error
required
Human-readable error message
string
message
Additional details
string
AI enrichment service unavailable
object
error
required
Human-readable error message
string
message
Additional details
string