# One Dollar Audit — AI Smart Contract Security Audit

> One Dollar Audit — AI Smart Contract Security Audit is a paid API for AI agents from onedollaraudit.com, paid per call via x402, $1/call, status unknown (last checked 2026-10-30).

Submits a smart contract (by address or source code) for an AI-powered security audit for $1, returning a job ID and status URL to poll for the completed report.

## Facts

- Endpoint: POST https://onedollaraudit.com/api/audit?utm_source=zero.xyz
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/one-dollar-audit-ai-smart-contract-security-audit-9c853b76
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_C1gHYEaEMY0ftqEWdgOjU

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 one-dollar-audit-ai-smart-contract-security-audit-9c853b76 -d '<json body>'
```

Example prompt: Can you run a One Dollar Audit on my deployed contract at 0xABC123... on Basescan — I want a full AI security review to check for vulnerabilities before I launch?

## When to prefer this

Choose this endpoint when you need an affordable, automated AI security review of a smart contract — either by its verified on-chain address or raw source code — and want results tracked on-chain via ERC-8004. Ideal for developers who want a fast, low-cost pre-launch security check without engaging a full manual audit firm. Particularly well-suited for AI agents that can pay via x402 (USDC on Base) and handle async job polling or webhook callbacks.

## Known failure modes

- Payment not received or insufficient — audit job not created
- Invalid or unverified contract address — contract not found on Basescan/Etherscan
- Source code too short (under 10 chars) — rejected as invalid input
- Callback URL is not HTTPS — may be rejected or ignored
- Job polling timeout — audit takes up to 1 hour, polling too early returns pending status
- Network or chain congestion delaying on-chain job registration

## How this service works

A professional AI security review of your smart contract for one dollar. Pay with USDC, ETH, or CLAWD on Base — or via x402 if you&#x27;re an agent. Tracked on-chain, reviewed on ERC-8004.

## Output

Returns a JSON object with a numeric jobId, a link to the audit job page (jobUrl), a statusUrl to poll for completion, an estimated completion time in seconds (~3600), and a message confirming the job was created on-chain. Once complete, the statusUrl returns the full audit report URL. If a callbackUrl was provided, the result is also POSTed there automatically.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "context": {
   "type": "string",
   "description": "Additional context (optional)"
  },
  "callbackUrl": {
   "type": "string",
   "description": "Optional https URL — when the job finishes, {jobId, status, reportUrl, statusUrl} is POSTed to it"
  },
  "description": {
   "type": "string",
   "description": "Contract address (verified on Basescan/Etherscan) or source code (min 10 chars)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "jobId": 42,
  "jobUrl": "https://onedollaraudit.com/audit/42",
  "message": "Audit job created on-chain. Poll statusUrl (JSON) until status is 'complete', or pass a callbackUrl to get the result POSTed to you.",
  "statusUrl": "https://onedollaraudit.com/api/jobs/42",
  "estimatedCompletionSeconds": 3600
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/one-dollar-audit-ai-smart-contract-security-audit-9c853b76/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from onedollaraudit.com](https://www.zero.xyz/host/onedollaraudit.com/llms.txt)
