# MolCloud Smart Contract Risk Audit

> MolCloud Smart Contract Risk Audit is a paid API for AI agents from api.molcloud.net, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-17).

Analyzes a smart contract address on an EVM chain to detect honeypot traps and return a security risk score

## Facts

- Endpoint: GET https://api.molcloud.net/api/audit/contract-risk?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/molcloud-smart-contract-risk-audit-2b99e790
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FAAXRlC4SNtXbKnR8avOs

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 molcloud-smart-contract-risk-audit-2b99e790
```

Example prompt: Can you audit the smart contract at 0x4fabb145d64652a948d72533023f6e7a623c7c53 on Base and tell me if it's a honeypot and what its security score is?

## When to prefer this

Use this endpoint when an AI agent needs to programmatically vet a smart contract before executing a trade, investment, or interaction — especially on Base — and requires a fast, pay-per-use honeypot detection and security score without setting up a full on-chain auditing infrastructure. Prefer this over manual block explorer checks or static analysis tools when low-latency, automated decision-making is needed.

## Known failure modes

- Invalid or malformed contract address returns an error response
- Contract address not deployed on the specified chain results in a not-found or null report
- Unsupported EVM chain parameter may return an error or default to Base
- Payment failure (insufficient USDC balance) results in HTTP 402 before the audit is run
- Rate limiting or gateway timeout on high-demand periods

## How this service works

41 pay-per-request AI, search, headless browser, crypto alpha & memory APIs for autonomous agents settling in USDC on Base via x402 v2.

## Output

Returns a JSON object with a risk report containing an 'isHoneypot' boolean and a 'securityScore' integer (0–100), along with a success status and the endpoint path. A high securityScore (e.g. 98) indicates low risk; 'isHoneypot: true' flags the contract as dangerous.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "default": "Base",
       "description": "Target EVM chain"
      },
      "address": {
       "type": "string",
       "description": "Smart contract address (0x...)"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "status",
      "endpoint"
     ],
     "properties": {
      "data": {
       "type": "object"
      },
      "payer": {
       "type": "string"
      },
      "status": {
       "enum": [
        "success"
       ],
       "type": "string"
      },
      "endpoint": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "report": {
   "isHoneypot": false,
   "securityScore": 98
  },
  "status": "success",
  "endpoint": "/api/audit/contract-risk"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/molcloud-smart-contract-risk-audit-2b99e790/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.molcloud.net](https://www.zero.xyz/host/api.molcloud.net/llms.txt)
