# Orion Pre-Trade Risk Gate (orionkr.xyz /v1/trade-risk)

> Orion Pre-Trade Risk Gate (orionkr.xyz /v1/trade-risk) is a paid API for AI agents from orionkr.xyz, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

PASS/WAIT/FAIL risk gate for autonomous agents before executing Base token or memecoin trades

## Facts

- Endpoint: GET https://orionkr.xyz/v1/trade-risk
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/orionkr-xyz-5364194a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_evm3iv-FCN5h9KnJLdB43

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 orionkr-xyz-5364194a
```

Example prompt: Before my trading bot buys this Base memecoin at address 0xABC...123, run a pre-trade risk check on it and tell me whether it's PASS, WAIT, or FAIL — flag any rug risk or fake liquidity signals.

## When to prefer this

Use this endpoint when an autonomous trading agent needs a lightweight, repeatable pre-trade gate specifically for Base token and memecoin execution — particularly in DCA loops or high-frequency agentic trade workflows where a PASS/WAIT/FAIL signal is needed before each swap at minimal cost ($0.02 USDC per call). Prefer this over broader token scan endpoints when you need a fast binary risk gate rather than a full detailed report.

## Known failure modes

- Invalid or unrecognized token address returns an error or inconclusive result
- Payment not included or insufficient USDC causes 402 rejection
- Token not yet indexed on Base returns no data or low-confidence score
- Network timeout if Base chain data is temporarily unavailable
- Malformed request body returns 400 validation error

## How this service works

Pre-trade risk API for repeated autonomous trading calls. PASS WAIT FAIL style risk gate for Base token and memecoin execution.

## Output

A structured risk verdict — PASS, WAIT, or FAIL — along with supporting risk flags such as rug risk indicators, fake liquidity signals, thin liquidity warnings, and an overall risk score for the queried token or trade, enabling the calling agent to proceed, pause, or abort execution.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "chain": {
       "type": "string",
       "const": "base"
      },
      "wallet": {
       "type": "string"
      },
      "address": {
       "type": "string",
       "description": "Base wallet, token, or contract address."
      },
      "amountIn": {
       "type": "string"
      },
      "tokenAddress": {
       "type": "string",
       "description": "Optional Base token contract address."
      }
     },
     "additionalProperties": true
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [],
     "properties": {
      "success": {
       "type": "boolean"
      },
      "verdict": {
       "type": "string"
      },
      "risk_score": {
       "type": "number"
      },
      "blocking_flags": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "required_next_call": {
       "type": "string"
      },
      "verdict_ttl_seconds": {
       "type": "number"
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/orionkr-xyz-5364194a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from orionkr.xyz](https://www.zero.xyz/host/orionkr.xyz/llms.txt)
