Submit Hashes
Submit up to 1,000 SHA-256 hashes per request to timestamp them on the Bitcoin blockchain, with an optional callback once they are confirmed.
Submit Hashes for Timestamping
Send one or more SHA256 hashes to be timestamped on the Bitcoin blockchain. This endpoint supports up to 1,000 hashes per request.
POST
/api/proof/timestamp/hashes- Description: Use this endpoint to timestamp an array of hashes on the Bitcoin blockchain. The hashes must be in hexadecimal format and 64 characters long.
Headers
x-access-token(string, required): Your API token.
Request Body
-
Content-Type:
application/json -
Schema:
{"callback_url": "https://example.com/callback","hashes": ["ca978112ca1bbdcafac231b39a23dc4da786eff8147c4e72b9807785afee48bb","1a8c3743df10869051e093753221651d69e9f556345492398daf0a944f4fe4a4","149d5f7d5d3622f0495ab57f0646405946bf47f14831a7c9b1a69c41948de000"]}hashes(array of strings, required): An array of up to 1,000 SHA256 hexadecimal hashes.callback_url(string, optional): Valid URL to receive a POST request with the result in JSON format.
Response
-
200 OK
The hashes were successfully submitted for timestamping.
{"ok": true,"files": ["ca978112ca1bbdcafac231b39a23dc4da786eff8147c4e72b9807785afee48bb","1a8c3743df10869051e093753221651d69e9f556345492398daf0a944f4fe4a4","149d5f7d5d3622f0495ab57f0646405946bf47f14831a7c9b1a69c41948de000"]} -
400 Bad Request
The request was invalid or violated the endpoint's constraints (e.g., exceeding the hash limit).
{"ok": false,"msg": "A maximum of 1000 hashes per request is allowed."} -
500 Internal Server Error
The server encountered an unexpected issue while processing the request.
{"ok": false,"msg": "Internal server error. Please try again later."}
Example Request (Using curl)
curl -X POST https://app.simpleproof.com/api/proof/timestamp/hashes \
-H "Content-Type: application/json" \
-H "x-access-token: YOUR_TOKEN" \
-d '{
"callback_url": "https://example.com/callback",
"hashes": [
"ca978112ca1bbdcafac231b39a23dc4da786eff8147c4e72b9807785afee48bb",
"1a8c3743df10869051e093753221651d69e9f556345492398daf0a944f4fe4a4",
"149d5f7d5d3622f0495ab57f0646405946bf47f14831a7c9b1a69c41948de000"
]
}'
Notes
- Each hash MUST TO BE exactly 64 characters long and in SHA256 hexadecimal hashes format.
- If you need to timestamp more than 1,000 hashes, divide them into multiple requests.
- The cost is calculated per hash, not per request. You can optimize costs by sending multiple hashes in a single request.
- Timestamps are recorded on the Bitcoin blockchain, ensuring immutable verification.