Trustblock
Search
K
Comment on page
🎉

API

Once registered as an auditor or a platform on Trustblock, you can use our API.

How does it work?

Every API route is accessible at the URL https://beta.trustblock.run/api and needs to be requested using the header x-trustblock-api containing the API key linked to your Trustblock account.
To retrieve your API key, sign in at https://beta.trustblock.run, head to your trustblock profile, and click the settings button to open your settings' modal. From there, you will be able to copy your API key.
API key at the bottom of the modal

Routes

All routes are prefixed with https://beta.trustblock.run/api

Audit

get
/audit/{id}
Get an audit by its ID

Auditor

get
/user/auditor/{slug}
Get an auditor by its slug