GET
/
v1
/
project
/
security
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.

1

Access your API key

Head to app.trustblock.run to sign in.

2

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.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

Fetching method
object

Response

200
application/json
A detailed view of the project's security state.
extra
object
name
string
domain
string
audits
object[]
url
string
isDeemedDangerous
boolean
default:false
activeIssues
object[]
activeRekts
object[]
hasBeenRekt
boolean
default:false
rekt
object | null