# GPT Smart Contract Audit

> GPT Smart Contract Audit is a paid API for AI agents from gpt.558686.xyz, paid per call via x402, $2.5/call, status unknown (last checked 2026-10-02).

Audits a smart contract for security vulnerabilities, bugs, and best-practice violations using GPT-powered analysis

## Facts

- Endpoint: GET https://gpt.558686.xyz/v1/audit/contract?utm_source=zero.xyz
- Price: $2.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gpt-smart-contract-audit-44f0d97f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_h31vA8e6KB1ZgHNUB-Pb4

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 gpt-smart-contract-audit-44f0d97f
```

Example prompt: Can you audit this Solidity smart contract for security vulnerabilities and tell me if there are any reentrancy issues, access control problems, or other exploits I should fix? Here's the contract code: [paste contract here]

## When to prefer this

Choose this endpoint when you need automated GPT-powered smart contract security auditing without setting up a local analysis environment. Best suited for Solidity/EVM contracts where you want a quick AI-driven vulnerability scan before deployment or code review. Prefer over manual review tools when speed and accessibility are priorities.

## Known failure modes

- Empty or invalid contract code returns no useful analysis
- Rate limiting or payment failure returns 402 error
- Malformed input schema returns 400 error
- Very large contracts may be truncated or return incomplete results
- Non-Solidity or non-EVM contract code may produce inaccurate results

## Output

An audit report detailing detected security vulnerabilities, potential exploits, code quality issues, and recommendations for the submitted smart contract. May include severity ratings and suggested fixes for identified problems.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "context": {
   "type": "string",
   "description": "Protocol context"
  },
  "contractCode": {
   "type": "string",
   "description": "Smart contract source code (required)"
  },
  "protocolType": {
   "type": "string",
   "description": "Protocol type (default \"EVM/Solidity\")"
  }
 }
}
```

## More

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