Quiet Stack API
Add blockchain verification to your AI requests with just one API call. No SDK required - works with any programming language.
Quick Start
Add blockchain verification to your AI workflow in 3 simple steps
Use Any AI Provider
Make your AI request to OpenAI, Anthropic, or any provider you choose
Log to Blockchain
Send the context to Quiet Stack for immutable blockchain verification
How It Works:
api.quietstack.ai/api/v1/audit/log for blockchain proofCode Examples
Choose your programming language and start building
// Step 1: Make your AI request to any provider
const aiResponse = await fetch('https://api.openai.com/v1/chat/completions', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_OPENAI_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
model: 'gpt-4',
messages: [{ role: 'user', content: 'What is blockchain verification?' }]
})
});
const aiData = await aiResponse.json();
// Step 2: Log the context to Quiet Stack for blockchain verification
const auditResponse = await fetch('https://api.quietstack.ai/api/v1/audit/log', {
method: 'POST',
headers: {
'Authorization': 'Bearer qs_live_YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
context: {
request_id: 'req-' + Date.now(),
model_provider: 'openai',
model_name: 'gpt-4',
prompt: 'What is blockchain verification?',
response: aiData.choices[0].message.content,
token_usage: aiData.usage,
timestamp: new Date().toISOString()
}
})
});
const auditData = await auditResponse.json();
console.log('Transaction Hash:', auditData.transaction_hash);
console.log('Context Hash:', auditData.context_hash);API Reference
Complete endpoint documentation
POST /api/v1/audit/log
Log AI context data to blockchain for immutable verification
https://api.quietstack.ai/api/v1/audit/logHeaders
AuthorizationBearer qs_live_your_api_keyContent-Typeapplication/jsonRequest Body
request_idstringUnique request identifiermodel_providerstringAI provider: "openai", "anthropic", etc.model_namestringModel used: "gpt-4", "claude-3-opus"promptstringThe input prompt sent to the AIresponsestringThe AI's responsetoken_usageobjectToken usage stats from the AI providertimestampstringISO 8601 timestampResponse
{
"audit_id": "f25bdb80-1bb0-4552-a1ba-0fb59d3c1aaf",
"transaction_hash": "0x070cfd79fcfd7fdd6f934253496e7a0094e4ce...",
"status": "logged",
"timestamp": "2025-11-24T03:18:21.877Z",
"context_hash": "393ec5ad771d97174462f63e632d55c2c272fc..."
}Note: The transaction is logged to Polygon blockchain. You can verify it on Polygonscan using the transaction_hash.
Works With Any AI Provider
Complete provider flexibility - no lock-in
Quiet Stack is completely model agnostic. We don't make AI requests for you - we log the audit trail to blockchain. This means you can use:
Commercial Providers
Any Other Provider
Advantage: You keep direct relationships with AI providers, get their latest features immediately, and Quiet Stack simply logs the audit trail to blockchain - no provider integration needed.
Ready to get started?
Create your API key and start adding blockchain verification to your AI requests.