Skip to content

Segment API [Pro]

Automatically group domains into segments based on business similarities. Upload results from Discover or your own domain lists to identify ICP patterns. Each segment includes a label and the domains that belong to it.

POST https://api.discolike.com/v1/segment

Upload a CSV or Excel file with domains (max 1MB, 10,000 rows). Use Content-Type: multipart/form-data.

ParameterDescription
domain_columnColumn containing domains (auto-detected if omitted)
max_segmentsMaximum segments to create (auto if omitted)

Returns BizData profiles with additional segment fields:

FieldTypeDescription
statusStringin_progress, completed, or failed
progressIntegerProgress percentage
resultsArrayBizData profiles with segment info
segment_idIntegerAssigned segment ID
segment_descriptionStringAI-generated segment description
probabilityFloatConfidence of segment assignment
Terminal window
curl --form file='@data.csv' "https://api.discolike.com/v1/segment" \
-H "x-discolike-key: API_KEY"
{
"task_id": "e362cb75-35e2-4006-a239-3d87a7472872"
}
Terminal window
curl "https://api.discolike.com/v1/segment/status/{task_id}" \
-H "x-discolike-key: API_KEY"
{
"status": "in_progress",
"progress": 30
}
{
"status": "completed",
"progress": 100,
"results": [
{
"domain": "acmesecurity.com",
"name": "Acme Security",
"score": 450,
"segment_id": 0,
"segment_description": "Cybersecurity Platforms and Solutions",
"probability": 1.0
}
]
}