Vault Report Download
The following endpoint is to be used for downloading
/vault/reports/download/:vaultAddress
/vault/reports/download/:vaultAddressMETHOD: GET
This endpoint allows you to download comprehensive security and risk reports for specific vault addresses on the Xerberus platform. The report is delivered as a PDF file accessible via a secure, time-limited download link.
Make sure to include the required headers in your request:
x-api-key: Your API key.
x-user-email: Your email address associated with your account.
Payment Required
This is a paid endpoint using the x402 payment protocol:
Price: 49 USDC
Network: Base
Request Flow
API Key Validation - Your API credentials are verified
Vault Address Validation - The vault address format is checked and report existence is confirmed
Payment Processing - Payment is processed via x402 protocol (only if validation passes)
Report Delivery - A time-limited signed URL to the PDF report is returned
The API call is a two step process -
Initial call made to the API to request the resource
The above request will respond the following with a status code 402
A second call post payment with the X-PAYMENT header containing the signed payment payload.
This will give the final response
Error Responses
Invalid Vault Address Format
Status Code: 400 Bad Request
Report Not Found
Status Code: 404 Not Found
Internal Server Error
Status Code: 500 Internal Server Error
Important
No charges for invalid requests: The validation middleware ensures that payment is only processed for valid vault addresses with existing reports
Time-limited access: The signed URL expires in 5 minutes for security purposes
One-time payment: Each request requires a separate payment
Last updated