POST
/
v1
/
hosts
/
count
curl --request POST \
  --url https://api.odin.io/v1/hosts/count \
  --header 'Content-Type: */*' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "query": "<string>"
}'
{
  "data": {
    "count": 123
  },
  "message": "<string>",
  "pagination": {},
  "success": true,
  " meta": {
    "current": "<string>",
    "total": 123
  }
}

Authorizations

X-API-Key
string
header
required

Body

*/*
Count Query

The body is of type object.

Response

200
application/json
OK

The response is of type object.