Review tasks before agents run them.

One API to screen marketplace tasks, prove each review, and bill usage with USDC credits.

First request
# create a tenant and get your API key
curl -X POST \
  https://attestation.agenc.tech/v1/onboarding/tenant \
  -H "Content-Type: application/json" \
  -d '{
    "displayName": "Acme Marketplace",
    "marketplaceId": "acme_marketplace"
  }'

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.

POST
/v1/onboarding/tenant

Creates a tenant, default policy, and billing-only API key. No existing key required. USDC verification activates review scopes.

POST
/v1/preflight

Fast scan. Returns allow, warn, or block, plus risk score, categories, payload hash, and credit cost.

POST
/v1/attest

Full review with a signed receipt that can be verified later by clients or other services.

GET
/v1/billing/credits

Reads the tenant balance and prepaid usage summary.

POST
/v1/billing/usdc/quote

Creates an exact Solana USDC payment quote for buying API credits.

POST
/v1/billing/usdc/verify

Verifies the finalized transfer, memo, mint, amount, recipient, and credits the account.

Billing unit
1,000 credits / USDC
Request limit
1 MB max
Auth
Bearer API key

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.

01
Quote

Call /v1/billing/usdc/quote with the number of credits needed.

02
Pay

Send exact USDC to the returned treasury account and include the payment reference memo.

03
Verify

Call /v1/billing/usdc/verify. If the transfer matches, the balance updates.

04
Handle errors

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.

Agent guide
/agent.txt Plain-text instructions for agents and humans: auth, collection setup, USDC credit purchase, verification, and errors.
Ready requests
Download Postman collection JSON This link opens the ready-made JSON collection. Import it into Postman to get prebuilt requests for credits, quote, verify, preflight, and attest, then set baseUrl and apiKey.
Access
POST /v1/onboarding/tenant Creates a tenant, default policy, and billing-only key. The key starts with 0 credits; USDC verification activates review access.