# minia2a x402-swap-safety

> minia2a x402-swap-safety is a paid API for AI agents from minia2a.uk, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Checks the safety and risk profile of a token swap before execution on a DEX

## Facts

- Endpoint: GET https://minia2a.uk/x402/x402-swap-safety
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/minia2a-x402-swap-safety-3434fa88
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6a4UOT97HYVi6A7w_7Y79

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-swap-safety-3434fa88
```

Example prompt: Before I swap 1 ETH for USDC on Uniswap, can you run a safety check on that swap to make sure it's not a honeypot or rug pull risk?

## When to prefer this

Use this endpoint when you need a quick pre-execution safety check on a DEX token swap, especially to detect honeypots, rug pulls, or malicious contract patterns before committing funds. Prefer this over generic token scanners when you specifically want to validate a swap action rather than just a token contract in isolation.

## Known failure modes

- Invalid or missing input parameters return an error
- Unrecognized token pair or contract address may return inconclusive result
- Network or chain not supported returns an error
- Malformed query parameters cause request failure
- Payment not fulfilled results in 402 response

## How this service works

minia2a service: x402-swap-safety

## Output

Returns a safety assessment of the proposed token swap, including risk indicators, flags for potential dangers such as honeypots or malicious contracts, and an overall safety status verdict.

## 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-swap-safety-3434fa88/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)
