Skip to main content

GET /audits

Endpoint to retrieve Hacken audits information.

Requestā€‹

Endpoint
GET /audits

Parametersā€‹

No parameters are required.

Responseā€‹

Response body schemaā€‹

[
// Array of audits
{
"audit_name": "string", // Name of the audit
"client_name": "string", // Name of the client
"audit_date": "string", // Date of the audit
"scope_parameters": {
"repository": "string", // Repository of the audit
"commit": "string", // Commit hash of the audit
"assets_audited": ["string"] // List of assets audited
},
"audit_type": "string", // Type of the audit
"labels": ["string"], // Labels of the audit
"platforms": ["string"], // Platforms of the audit
"languages": ["string"], // Languages of the audit
"report_link": "string", // Link to the audit report
"total_findings": "number" // Total number of findings
}
]

Response body exampleā€‹

[
{
"audit_name": "[SCA] PreSend / Affiliate Program / Jan2023",
"client_name": "PreSend",
"audit_date": "2023-01-31T00:00:00.000Z",
"scope_parameters": {
"repository": "https://github.com/Presend-DeFi/presend-protocol-payment-affiliate",
"commit": "d2c814f6dd1e574b1d0452c243eca4669be6dd94",
"assets_audited": [
"interfaces/IPreSendAffiliate.sol",
"contracts/PreSendPayments.sol",
"contracts/PreSendAffiliate.sol"
]
},
"audit_type": "SCA",
"labels": [
"Fungible Token",
"Staking",
"Marketplace",
"Oracle",
"Upgradable",
"ERC-20",
"Decentralized Finance (DeFi)"
],
"platforms": [
"Ethereum",
"Polygon"
],
"languages": [
"Solidity"
],
"report_link": "https://audits-dev.hacken.io/a/a1b2c3",
"total_findings": 23
}
]