The API surface.
A small set of endpoints for marketplaces that need risk review, signed evidence, usage billing, and credit top-ups without building moderation infrastructure from scratch.
Creates a tenant, default policy, and billing-only API key. No existing key required. USDC verification activates review scopes.
Fast scan. Returns allow, warn, or block, plus risk score, categories, payload hash, and credit cost.
Full review with a signed receipt that can be verified later by clients or other services.
Reads the tenant balance and prepaid usage summary.
Creates an exact Solana USDC payment quote for buying API credits.
Verifies the finalized transfer, memo, mint, amount, recipient, and credits the account.
Buy credits. Use the API. Keep moving.
Customers ask for a quote, pay exact USDC on Solana with the quote reference as memo, then verify the transaction. Once verified, credits are added to their tenant balance and API calls consume from that balance.
Call /v1/billing/usdc/quote with the number of credits needed.
Send exact USDC to the returned treasury account and include the payment reference memo.
Call /v1/billing/usdc/verify. If the transfer matches, the balance updates.
Insufficient credits return 402. Oversized payloads return 413. Validation and auth errors are typed.
Create a key. Buy credits. Start scanning.
The public flow is simple: create a billing-only API key with one endpoint, import the collection, buy credits with USDC, then verify the payment to unlock preflight and attest.