Skip to main content
POST
/
v1
/
data
/
cookies
Export raw cookie records
curl --request POST \
  --url https://api.vantaprism.me/v1/data/cookies \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '
{
  "domains": [
    "acme-corp.com"
  ],
  "active_only": true,
  "limit": 25
}
'
{
  "data": [
    {
      "victim_id": "<string>",
      "domain": "<string>",
      "name": "<string>",
      "value": "<string>",
      "path": "<string>",
      "secure": true,
      "http_only": true,
      "expiration": 123,
      "expiration_utc": "2023-11-07T05:31:56Z",
      "browser": "<string>",
      "profile": "<string>",
      "inserted_at": "2023-11-07T05:31:56Z"
    }
  ],
  "meta": {
    "request_id": "req_01HZXK3Q7N8YV6F3M2P9JABCDE",
    "took_ms": 42.7,
    "tier": "pro",
    "masked_fields": [
      "password",
      "ip"
    ],
    "freshness_at": "2023-11-07T05:31:56Z"
  },
  "nextCursor": "<string>"
}

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.

Body

application/json
domains
string[]
required
Minimum array length: 1
active_only
boolean
default:false

When true, only return cookies whose expiration_utc is in the future.

start_date
string<date-time> | null
end_date
string<date-time> | null
sort_direction
enum<string>
default:desc

Sort order applied to inserted_at. Must stay constant across paginated requests using the same cursor.

Available options:
asc,
desc
cursor
string | null
limit
integer
default:25
Required range: 1 <= x <= 500

Response

Cookie records

data
object[]
required
meta
object
required

Metadata attached to every successful response.

nextCursor
string | null