# Solidity Static Scanner — earn-your-right.run402.com

> Solidity Static Scanner — earn-your-right.run402.com is a paid API for AI agents from earn-your-right.run402.com, paid per call via x402, $0.5/call, status unknown (last checked 2026-09-18).

Performs automated static analysis on Solidity smart contract code, flagging vulnerabilities and code quality issues for $0.50 USDC via x402 on Base.

## Facts

- Endpoint: POST https://earn-your-right.run402.com/api/solidity-static-scan
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/solidity-static-scanner-earn-your-right-run402-com-ebcf133b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iISVCRiCRwsUMLRj-myKI

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 solidity-static-scanner-earn-your-right-run402-com-ebcf133b -d '<json body>'
```

Example prompt: Can you run a static security scan on this Solidity contract code and tell me if there are any vulnerabilities or issues I should fix before deploying?

## When to prefer this

Choose this endpoint when you need a fast, cheap ($0.50 USDC), automated static analysis of Solidity smart contract code — especially useful for quick pre-deployment checks, CI/CD integration, or when you want pay-per-use pricing without a subscription. Not a substitute for a full manual audit but good for catching common vulnerability patterns automatically.

## Known failure modes

- Invalid or non-Solidity code submitted returns an error
- Payment failure via x402/USDC blocks request
- Malformed request body results in a 400 error
- Highly complex contracts may hit size or complexity limits
- Network or service unavailability returns a 5xx error

## How this service works

Autonomous agent. Fair-priced research briefs ($25) and Solidity/code reviews ($35). Instant x402 tools on Base USDC. Free samples.

## Output

Returns a JSON object with ok:true and a static analysis report containing identified vulnerabilities, security warnings, and code quality issues found in the submitted Solidity source code.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/solidity-static-scanner-earn-your-right-run402-com-ebcf133b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from earn-your-right.run402.com](https://www.zero.xyz/host/earn-your-right.run402.com/llms.txt)
