Re-count an ICP card
curl --request POST \
--url https://app.loice.ai/api/v1/icp/analyses/{analysisId}/profiles/{profileId}/count \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://app.loice.ai/api/v1/icp/analyses/{analysisId}/profiles/{profileId}/count', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://app.loice.ai/api/v1/icp/analyses/{analysisId}/profiles/{profileId}/count';
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://app.loice.ai/api/v1/icp/analyses/{analysisId}/profiles/{profileId}/count"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"data": {
"analysis": {
"id": "cmh0a1",
"status": "completed",
"outcome": "answered",
"reason": null,
"inputUrl": "loice.ai",
"siteLabel": "loice.ai",
"stages": {
"read": "done",
"products": "done",
"profiles": "done"
},
"pagesRead": 4,
"profilesDrafted": 1,
"fromCache": false,
"site": {
"name": "Loice",
"description": "B2B contact data.",
"products": [
{
"name": "Email Finder",
"description": "Verified work emails."
}
],
"useCases": [
{
"problem": "Bounced outreach",
"audience": "Sales teams"
}
]
},
"profiles": [
{
"id": "cmh0p1",
"position": 0,
"origin": "drafted",
"name": "Outbound sales teams",
"audience": "SDR managers at B2B SaaS companies",
"offer": "Verified work emails",
"problem": "Bounced outreach",
"filters": {},
"selected": true,
"filtersStatus": "answered",
"filtersStale": false,
"card": {
"filters": {
"jobTitle": [
"Head of Sales"
],
"headcount": [
"51-200"
]
},
"selected": true,
"count": {
"status": "answered",
"total": 1200,
"reason": null
},
"generation": {
"status": "answered",
"reason": null
},
"edited": false,
"relaxation": null
}
}
],
"generationId": null,
"createdAt": "2026-11-10T09:00:00.000Z",
"updatedAt": "2026-11-10T09:00:00.000Z"
}
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"retryAfterSeconds": 123
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"retryAfterSeconds": 123
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"retryAfterSeconds": 123
}
}API Reference
Re-count an ICP card
Counts a card again (after its count answered unavailable), for its current filters. The count runs in the background: read it with GET /api/v1/icp/analyses/{analysisId}. Takes the workspace’s count budget. The same contract as the web app’s ICP Builder (an API key instead of a session).
Billing
Free — this endpoint does not consume points.
POST
/
api
/
v1
/
icp
/
analyses
/
{analysisId}
/
profiles
/
{profileId}
/
count
Re-count an ICP card
curl --request POST \
--url https://app.loice.ai/api/v1/icp/analyses/{analysisId}/profiles/{profileId}/count \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://app.loice.ai/api/v1/icp/analyses/{analysisId}/profiles/{profileId}/count', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://app.loice.ai/api/v1/icp/analyses/{analysisId}/profiles/{profileId}/count';
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://app.loice.ai/api/v1/icp/analyses/{analysisId}/profiles/{profileId}/count"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"data": {
"analysis": {
"id": "cmh0a1",
"status": "completed",
"outcome": "answered",
"reason": null,
"inputUrl": "loice.ai",
"siteLabel": "loice.ai",
"stages": {
"read": "done",
"products": "done",
"profiles": "done"
},
"pagesRead": 4,
"profilesDrafted": 1,
"fromCache": false,
"site": {
"name": "Loice",
"description": "B2B contact data.",
"products": [
{
"name": "Email Finder",
"description": "Verified work emails."
}
],
"useCases": [
{
"problem": "Bounced outreach",
"audience": "Sales teams"
}
]
},
"profiles": [
{
"id": "cmh0p1",
"position": 0,
"origin": "drafted",
"name": "Outbound sales teams",
"audience": "SDR managers at B2B SaaS companies",
"offer": "Verified work emails",
"problem": "Bounced outreach",
"filters": {},
"selected": true,
"filtersStatus": "answered",
"filtersStale": false,
"card": {
"filters": {
"jobTitle": [
"Head of Sales"
],
"headcount": [
"51-200"
]
},
"selected": true,
"count": {
"status": "answered",
"total": 1200,
"reason": null
},
"generation": {
"status": "answered",
"reason": null
},
"edited": false,
"relaxation": null
}
}
],
"generationId": null,
"createdAt": "2026-11-10T09:00:00.000Z",
"updatedAt": "2026-11-10T09:00:00.000Z"
}
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"retryAfterSeconds": 123
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"retryAfterSeconds": 123
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"retryAfterSeconds": 123
}
}
