GET /api/v1/proof/{hash}/ots
Download the raw OpenTimestamps proof file (.ots) as application/octet-stream. Returns the complete proof when available, otherwise the pending proof. Requires API key. Returns 404 if the proof is private and the caller is not the owner.
Headers
| Header | Required | Description |
|---|---|---|
X-API-Key | Yes | Your API key |
Response
- 200 — Raw
.otsbinary,Content-Disposition: attachment; filename="{hash}.ots" - 404 — Proof not found, private and you are not the owner, or no OTS proof stored for it yet
cURL Example
curl -o document.pdf.ots \
https://proofintegrity.net/api/v1/proof/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/ots \
-H "X-API-Key: your-api-key-here"
Verify the downloaded file with any OpenTimestamps client
ots verify document.pdf.ots -f document.pdf