# OneDollarAudit Smart Contract Security Audit

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

Performs a security audit of a single Ethereum/Base smart contract given its address or source code, returning a detailed vulnerability report

## Facts

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

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 onedollaraudit-smart-contract-security-audit-f7cfc187 -d '<json body>'
```

Example prompt: Can you run a security audit on my smart contract at 0x1234...abcd (verified on Basescan) and let me know if there are any vulnerabilities — especially reentrancy issues or access control problems?

## When to prefer this

Choose this endpoint when you need a quick, affordable ($1) automated security audit of a single Ethereum or Base smart contract, either by verified on-chain address or by pasting source code directly. Ideal for pre-deployment checks, third-party contract reviews, or any time you want a fast vulnerability scan without engaging a full manual audit firm. Best suited for EVM-compatible contracts verifiable on Etherscan or Basescan.

## Known failure modes

- Contract address not verified on Basescan/Etherscan — audit cannot proceed without verified source
- Source code too short (under 10 characters) — rejected as invalid input
- Invalid callback URL format — must be a valid HTTPS URL
- Payment failure — $1 USDC x402 payment not completed
- Unsupported contract language or chain — may not cover non-EVM contracts
- Timeout on complex contracts — large contracts may take longer to process

## How this service works

Smart Contract Audit — Security review of a single contract

## Output

Returns a job ID and status URL immediately after submission; once complete, delivers a detailed security report accessible via a report URL (and optionally POSTed to a callback URL), covering identified vulnerabilities, severity levels, and recommendations for the audited contract.

## 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)"
  }
 }
}
```

## More

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