MidnightZK provides a suite of blockchain APIs that let you anchor, prove, mint, and verify — all through simple REST calls.
POST /{app_id}/anchor
Submit a SHA-256 hash of your data. MidnightZK generates a zero-knowledge proof and writes it to the Midnight blockchain. Your original data never leaves your system — only the cryptographic hash is processed.
SHA-256 hash (64 hex characters)
ZK proof generation + on-chain anchoring
Transaction hash + block explorer link
POST /{app_id}/mint
Mint on-chain NFT certificates that represent verified credentials, compliance attestations, or proof-of-completion tokens. Each certificate is a unique, non-fungible token on the Midnight blockchain that can be independently verified.
Asset name, metadata, template code
ZK proof + NFT minting transaction
NFT token ID + asset fingerprint
GET /{app_id}/verify/{hash}
Anyone can verify whether a data hash has been anchored on-chain. No API key required for public verification — just provide the hash, and MidnightZK checks the blockchain for a matching proof.
Returns: anchored status, transaction hash, block height, timestamp — or "not found" if the hash has never been anchored.
Your payload is processed in memory and destroyed immediately. We never store your raw data — only the hash touches the blockchain.
Each client operates in an isolated namespace with dedicated API keys, scopes, rate limits, and webhook endpoints.
Standard REST API with async webhook callbacks. No blockchain SDK required. Integrate in hours, not weeks.
Built on the Midnight blockchain — the only L1 blockchain designed for data protection with native zero-knowledge proof support.
Tell us about your use case and we'll help you integrate blockchain proof into your workflow.
Contact Us