Issue and verify cryptographic provenance for AI and human content with PureStamp’s REST API. Get started with copy-paste examples in cURL, JavaScript, and Python.
Authenticate with your x-api-key header. Get your key.
Overview
PureStamp’s API secures your content with tamper-evident provenance. Follow these steps: ① Get a pre-signed S3 upload URL, ② Upload your file, ③ Issue or verify a stamp.
POST/upload-url
Generate a pre-signed URL for secure S3 uploads.
POST/purestamp/issue
Add a cryptographic stamp to your file, returning a watermarked URL.
POST/purestamp/verify
Validate provenance and signature for any file or text.
Tip: Enter your API credentials in the hero section to customize examples. Try the demo UI.
Status Codes & Errors
Common Errors
400 Bad Request: Missing or invalid input (e.g., no s3_uri, unsupported mime_type)
401 Unauthorized: Invalid or missing x-api-key
403 Forbidden: API key lacks permission or plan limit exceeded
429 Too Many Requests: Rate limit hit; retry with exponential backoff
5xx Server Error: Transient issue; retry with exponential backoff
CORS Configuration
Endpoints support permissive CORS with Access-Control-Allow-* headers for browser compatibility. For custom setups, ensure OPTIONS responses include these headers.
Start Building with PureStamp
Secure your AI and human content with our API. Sign up for a free API key or explore the demo UI.