# Trusta Attestation API

> Trusta Attestation API is a free API for AI agents from app.trustalabs.ai, Free, status unknown (last checked 2026-09-14).

Publishes on-chain attestations on the Base blockchain by paying USDC via the x402 API protocol

## Facts

- Endpoint: POST https://app.trustalabs.ai/attest
- Price: Free
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trusta-ai-d5b1c10c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zKoz2oKRY4Dd1cLR8Mj1H

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability trusta-ai-d5b1c10c -d '<json body>'
```

Example prompt: Publish a Trusta attestation on the Base chain for my wallet address 0xABC123... — use USDC to pay for it and record it on-chain so I have a verifiable credential tied to my identity.

## When to prefer this

Use this endpoint when you need to programmatically publish a Trusta attestation on the Base blockchain without requiring manual website interaction or direct ETH contract calls. Ideal for agents automating identity verification workflows, issuing verifiable on-chain credentials at scale, or integrating attestation publishing into automated pipelines using USDC payments via x402.

## Known failure modes

- Insufficient USDC balance on Base chain — payment fails and attestation is not published
- Invalid wallet address format — returns validation error
- Attestation data missing required fields — returns schema error
- Base chain network congestion or RPC failure — request times out
- x402 payment protocol error — USDC transfer not completed

## How this service works

The traditional way of Trusta Attestation involves users obtaining a signature on the website and then interacting with the contract to pay ETH for publishing an attestation. After the upgrade, Trusta Attestation integrates the x402 API to support users/agents publishing attestations by paying USDC on the Base chain via an API interface.

## Output

The agent receives a confirmation of the on-chain attestation publication, including a transaction reference or attestation ID recorded on the Base blockchain, confirming that the attestation has been successfully written to the chain.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trusta-ai-d5b1c10c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from app.trustalabs.ai](https://www.zero.xyz/host/app.trustalabs.ai/llms.txt)
