Skip to main content
GET
/
v1
/
stats
/
countries
Get victim counts by country
curl --request GET \
  --url https://api.vantaprism.me/v1/stats/countries \
  --header 'api-key: <api-key>'
{
  "data": [
    {
      "country": "<string>",
      "victims": 123
    }
  ],
  "meta": {
    "request_id": "req_01HZXK3Q7N8YV6F3M2P9JABCDE",
    "took_ms": 42.7,
    "tier": "pro",
    "masked_fields": [
      "password",
      "ip"
    ],
    "freshness_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

api-key
string
header
required

Static API key, format vp_<env>_<8-hex-prefix>.<40-hex-secret>. Preferred header for server-to-server integrations.

Response

Country statistics

data
object[]
required
meta
object
required

Metadata attached to every successful response.