Skip to main content
POST
/
get-domain-stats
cURL
curl --request POST \
  --url https://api.mindshare.so/customer/v1/get-domain-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": {
    "domainStats": [
      {
        "domain": "<string>",
        "count": 123,
        "percentage": 123,
        "category": "<string>"
      }
    ],
    "articleStats": [
      {
        "url": "<string>",
        "count": 123,
        "percentage": 123,
        "isCustomerMentioned": true
      }
    ]
  },
  "version": "<string>",
  "env": "<string>"
}

Authorizations

X-API-Key
string
header
required

Body

application/json

Get domain 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

Domain and article statistics

data
object
required
version
string
required

API version

env
string
required

Environment name