Skip to main content
POST
/
get-companies-stats
cURL
curl --request POST \
  --url https://api.mindshare.so/customer/v1/get-companies-stats \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "customerID": 123,
  "queryGroupID": 123,
  "startDate": "2023-12-25",
  "endDate": "2023-12-25",
  "executionID": 123
}
'
{
  "data": [
    {
      "company": "<string>",
      "count": 123,
      "percentage": 123
    }
  ],
  "version": "<string>",
  "env": "<string>"
}

Authorizations

X-API-Key
string
header
required

Body

application/json

Get companies stats parameters

customerID
number
required

The ID of the customer

queryGroupID
number

The ID of the query group

startDate
string<date>

Start date in yyyy-mm-dd format

endDate
string<date>

End date in yyyy-mm-dd format

executionID
number

The ID of the execution

Response

200 - application/json

List of company statistics

data
object[]
required

List of company statistics

version
string
required

API version

env
string
required

Environment name