# minia2a x402-contract-scan

> minia2a x402-contract-scan is a paid API for AI agents from minia2a.uk, paid per call via x402, $0.5/call, status unknown (last checked 2026-09-14).

Scans a smart contract or x402 endpoint to assess its security, payment verification, and compliance characteristics

## Facts

- Endpoint: GET https://minia2a.uk/x402/contract-scan
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/minia2a-x402-contract-scan-08936540
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g7EDG0PP3Oa1rpQdW9rOr

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 minia2a-x402-contract-scan-08936540
```

Example prompt: Can you scan this x402 contract endpoint to check if it properly verifies payment — I want to know if it rejects forged transaction hashes or replay attacks before I start using it?

## When to prefer this

Use this endpoint when you need to programmatically audit an x402 contract or payment endpoint for security before integrating or transacting with it. Particularly valuable when you want to verify that a contract enforces payment correctly, rejects forged transaction hashes, and is not vulnerable to replay attacks. Prefer this over manual review when you need fast, automated assessment as part of an agentic workflow.

## Known failure modes

- Invalid or missing input parameters — endpoint returns an error indicating required fields
- Unreachable contract address or endpoint — scan cannot be completed, returns connectivity error
- Malformed query parameters — returns validation error
- Rate limiting or payment failure — 402 response if payment is not properly attached
- Scan timeout for complex contracts — may return partial results or timeout error

## How this service works

minia2a service: x402-contract-scan

## Output

Returns a structured scan report covering the contract or endpoint's payment verification integrity, security posture, detected vulnerabilities or weaknesses, and risk indicators such as whether forged transaction hashes or replayed signatures would be accepted.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "method": {
     "type": "string"
    },
    "bodyType": {
     "type": "string"
    },
    "queryParams": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/minia2a-x402-contract-scan-08936540/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from minia2a.uk](https://www.zero.xyz/host/minia2a.uk/llms.txt)
