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
query
string

Response

200
application/json
OK
data
object
message
string
pagination
object
success
boolean
meta
object