$0.02
per call · USD Coin on Base
Send an HPKE-encrypted prompt to the Aubrai chat agent running inside an attested private enclave. Only the enclave can decrypt your message.
Endpoint
POST https://x402-api.aubr.ai/api/chat/encrypted1.6k
Calls / 30d
4
Unique payers / 30d
Sep 10
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://x402-api.aubr.ai/api/chat/encrypted", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"hpke_ciphertext": "<base64-encrypted-prompt>",
"hpke_ephemeral_public_key": "<base64-ephemeral-pubkey>"
}),
});
const data = await res.json();curl -X POST \
"https://x402-api.aubr.ai/api/chat/encrypted" \
-H "Content-Type: application/json" \
-d '{"hpke_ciphertext":"<base64-encrypted-prompt>","hpke_ephemeral_public_key":"<base64-ephemeral-pubkey>"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"pollUrl": "https://x402-api.aubr.ai/api/chat/encrypted/status/req_abc123",
"requestId": "req_abc123",
"status": "queued"
}Payment details
0x44dc2dceaa22c7ef6b2e2cf2362fd3fb476b7c2cUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of AI & Inference and the homepage with a featured placement.
More from Aubr & similar services
Aubr · Literature Encrypted
x402-api.aubr.ai
Send an HPKE-sealed literature query to Aubrai and receive an encrypted result. The transport terminates at Aubrai; literature retrieval and evidence processing use external services. Always async — poll the returned pollUrl.
Aubr · Chat
x402-api.aubr.ai
Send a question about longevity, aging, or lifespan science. Returns a request ID to poll for the AI-generated answer from Aubrai, VitaDAO's decentralized co-scientist.
Aubr · Literature
x402-api.aubr.ai
Search and synthesize scientific literature on longevity and aging. Submit a research question; returns cited answer with references from PubMed and other sources.