Scan v1
Scan a website
Changed onReplaces /v0/site/scan. The v0 anyOf hit/miss split is gone — a site with no findings is a 200 with an empty negative_categories.
post/v1/website/scan
Request
- Base URLhttps://api.blockaid.io
- Auth
- API key in header X-API-Key
- or API key in header X-CLIENT-ID
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Scan completed
Example response
{
"risk": {
"profile": {
"id": "eup"
},
"negative_categories": [
{
"category": "rugpull",
"signals": [
{
"id": "dynamic_analysis.unsellable",
"evidence": {
"operator_address": "0xaabbff",
"prior_incidents": 7
}
}
]
}
],
"positive_categories": [
{
"category": "verified_entity",
"signals": [
{
"id": "dynamic_analysis.unsellable",
"evidence": {
"operator_address": "0xaabbff",
"prior_incidents": 7
}
}
]
}
]
}
}Changes
- breaking
removed the required property
/from the response with the status - breaking
removed the required property
from the response with the status
- breaking
- warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
added the new
approveenum value to the//response property for the response status - info
removed the
allowenum value from the//response property for the response status
- warning