cURL
Python
JavaScript
PHP
Go
Java
curl --request GET \
--url https://api.trustblock.run/v1/project/security \
--header 'Authorization: Bearer <token>'
{
"extra" : {
"requestId" : "<string>"
} ,
"name" : "<string>" ,
"domain" : "<string>" ,
"audits" : [
{
"date" : 123 ,
"url" : "<string>" ,
"auditor" : {
"name" : "<string>" ,
"url" : "<string>"
}
}
] ,
"url" : "<string>" ,
"isDeemedDangerous" : false ,
"activeIssues" : [
{
"name" : "<string>" ,
"description" : "<string>" ,
"status" : "<string>" ,
"severity" : "<string>"
}
] ,
"activeRekts" : [
{
"name" : "<string>" ,
"description" : "<string>" ,
"rektAt" : 123
}
] ,
"hasBeenRekt" : false ,
"rekt" : {
"name" : "<string>" ,
"rektAt" : 123
}
}
At Trustblock, we firmly believe in making things easy for everyone, thus our motivation to create one single route where you could access as much valuable data as possible for your own integrations.
Copy your API key
Then click on the top right corner on your username, scroll down and click the copy button to get your API key.
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
By Domain By Slug By Contract
The domain of the project.
A detailed view of the project's security state.