List threats for an organization using API key authentication
X-API-KEY header:
| Field | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
query | string | ❌ No | - | - | Search query to filter threats by content |
startDate | string | ❌ No | 1 day ago | YYYY-MM-DD format | Start date for filtering threats (inclusive) |
endDate | string | ❌ No | today | YYYY-MM-DD format | End date for filtering threats (inclusive) |
assetType | AssetType[] | ❌ No | - | - | Array of asset types to filter by |
sorting | SortingConfig[] | ❌ No | [{key: "id", direction: "asc"}] | - | Array of sorting configurations |
per_page | number | ❌ No | 10 | Min: 1, Max: 100 | Number of threats to return per page |
next_page | string | ❌ No | - | Positive integer | Cursor for fetching the next page of results |
| Field | Type | Required | Description |
|---|---|---|---|
key | string | ✅ Yes | Field to sort by (see options below) |
direction | "asc" | "desc" | ✅ Yes | Sort direction |
"id" - Sort by threat ID"blockedAt" - Sort by when the asset was blocked"content" - Sort by threat content"type" - Sort by asset typeassetType parameter accepts an array of asset types to filter by:
Available Asset Type Values
"URL" - Website URLs"PAGE" - Web pages"ADDRESS" - Blockchain addresses"LINKEDIN" - LinkedIn profiles"TWITTER" - Twitter profiles/posts"FACEBOOK" - Facebook profiles/pages"YOUTUBE" - YouTube channels/videos"REDDIT" - Reddit posts/subreddits"TELEGRAM" - Telegram channels/groups"GOOGLE_APP_STORE" - Google Play Store apps"APPLE_APP_STORE" - Apple App Store apps"AMAZON_APP_STORE" - Amazon App Store apps"MICROSOFT_APP_STORE" - Microsoft Store apps"TIKTOK" - TikTok profiles"INSTAGRAM" - Instagram profiles"THREADS" - Threads profiles"MEDIUM" - Medium articles/profiles"CHROME_WEB_STORE" - Chrome extensions"MOZILLA_ADDONS" - Firefox addons"OPERA_ADDONS" - Opera addons"EMAIL" - Email addresses"PATREON" - Patreon profiles"OPENSEA" - OpenSea collections/profiles"FARCASTER" - Farcaster profiles"IPFS" - IPFS hashes"GOOGLE_FORM" - Google Forms"WHATSAPP" - WhatsApp contacts"DISCORD_USER" - Discord users"QUORA" - Quora profiles/posts"GITHUB" - GitHub repositories/profiles"TEACHABLE" - Teachable courses"SUBSTACK" - Substack publications"DEBANK" - DeBank profiles"TAWK_TO" - Tawk.to chat widgets"JOTFORM" - JotForm forms"PRIMAL" - Primal profiles"BLUESKY" - Bluesky profiles"SNAPCHAT" - Snapchat profiles"DESO" - DeSo profiles"PINTEREST" - Pinterest profiles/pinsthreats array has the following structure:
| Field | Type | Description |
|---|---|---|
id | number | Unique threat identifier |
content | string | Threat content (URL, address, username, etc.) |
type | string | Asset type (AssetType enum value) |
blockedAt | string | ISO 8601 timestamp of when asset was blocked |
startDate or endDate is provided, the API defaults to returning threats from the last 1 daynext_page is provided, returns the first page of resultsid in ascending orderYour API key. This is required by most endpoints to access our API programatically. Reach out to us at support@chainpatrol.io to get an API key for your use.
URL, PAGE, ADDRESS, DISCORD, LINKEDIN, TWITTER, FACEBOOK, YOUTUBE, REDDIT, TELEGRAM, GOOGLE_APP_STORE, APPLE_APP_STORE, AMAZON_APP_STORE, MICROSOFT_APP_STORE, TIKTOK, INSTAGRAM, THREADS, MEDIUM, CHROME_WEB_STORE, MOZILLA_ADDONS, OPERA_ADDONS, EMAIL, PATREON, OPENSEA, FARCASTER, IPFS, GOOGLE_FORM, WHATSAPP, DISCORD_USER, QUORA, GITHUB, TEACHABLE, SUBSTACK, DEBANK, TAWK_TO, JOTFORM, PRIMAL, BLUESKY, SNAPCHAT, DESO, PINTEREST, FLICKR, GALXE, VELOG, NPM, PYPI, HEX, DOCKER_HUB, VOCAL_MEDIA, TECKFINE, TENDERLY, HACKMD, ETSY, ZAZZLE, BASENAME 1 <= x <= 100