curl --request POST \
--url https://app.chainpatrol.io/api/v2/asset/search \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"content": "<string>",
"assetId": 123
}
'{
"asset": {
"id": 123,
"content": "<string>",
"type": "URL",
"status": "UNKNOWN",
"watchStatus": "ENABLED",
"createdAt": "<string>",
"updatedAt": "<string>"
},
"reports": [
{
"id": 123,
"title": "<string>",
"status": "TODO",
"createdAt": "<string>"
}
],
"takedown": {
"id": 123,
"status": "TODO",
"createdAt": "<string>",
"updatedAt": "<string>",
"tasks": [
{
"id": 123,
"type": "HOSTING_PROVIDER",
"status": "TODO",
"retractionStatus": "NOT_RETRACTED",
"externalId": "<string>",
"submittedAt": "<string>",
"retractedAt": "<string>",
"lastResponseAt": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"takedownProvider": {
"name": "<string>"
}
}
]
},
"blockedBy": [
{
"consumer": "<string>",
"name": "<string>",
"consumedAt": "<string>"
}
]
}Search for an asset by content or ID and get its status, associated reports, and takedown details
curl --request POST \
--url https://app.chainpatrol.io/api/v2/asset/search \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"content": "<string>",
"assetId": 123
}
'{
"asset": {
"id": 123,
"content": "<string>",
"type": "URL",
"status": "UNKNOWN",
"watchStatus": "ENABLED",
"createdAt": "<string>",
"updatedAt": "<string>"
},
"reports": [
{
"id": 123,
"title": "<string>",
"status": "TODO",
"createdAt": "<string>"
}
],
"takedown": {
"id": 123,
"status": "TODO",
"createdAt": "<string>",
"updatedAt": "<string>",
"tasks": [
{
"id": 123,
"type": "HOSTING_PROVIDER",
"status": "TODO",
"retractionStatus": "NOT_RETRACTED",
"externalId": "<string>",
"submittedAt": "<string>",
"retractedAt": "<string>",
"lastResponseAt": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"takedownProvider": {
"name": "<string>"
}
}
]
},
"blockedBy": [
{
"consumer": "<string>",
"name": "<string>",
"consumedAt": "<string>"
}
]
}id, content, type, status, watchStatus, and timestamps (createdAt, updatedAt).id, title, status, and createdAt.id, status, timestamps) plus a tasks array. Each task has type, status, retractionStatus, the associated takedownProvider name, submission/retraction timestamps, and an optional externalId for the provider’s tracking ID. Learn more about takedown tasks.consumer slug (e.g. metamask, google-safe-browsing, quad9), the platform’s display name, and a consumedAt timestamp indicating when the platform started blocking the asset.X-API-KEY header:
X-API-KEY: <api-key>
Your API key. This is required by most endpoints to access our API programatically. Reach out to us at [email protected] to get an API key for your use.
Was this page helpful?