# Orion Rug Check API

> Orion Rug Check API 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).

Performs a pre-trade rug-pull and risk analysis on a Base or memecoin token address, detecting fake liquidity, contract red flags, and liquidity risks before a buy.

## Facts

- Endpoint: GET https://orionkr.xyz/v1/rug/check
- 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-b423d061
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EvGdie6z7UO5LW_3Nvpb7

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-b423d061
```

Example prompt: Before I buy this Base memecoin at 0x1a2b3c4d5e6f..., run a rug check on it — flag any fake liquidity, contract red flags, or thin liquidity risks and tell me if it's a PASS, WAIT, or FAIL.

## When to prefer this

Use this endpoint as a pre-trade gate before every buy of a Base token or memecoin, especially in autonomous agent trading loops where repeated, low-cost safety checks are needed. Prefer this over generic token info APIs when you specifically need rug-pull detection, fake liquidity analysis, and a binary PASS/WAIT/FAIL decision signal rather than raw on-chain data.

## Known failure modes

- Invalid or unrecognized token address returns an error or empty risk data
- Token not yet indexed on Base returns insufficient data warning
- Payment not processed (x402 failure) blocks the check from running
- Network timeout if Base RPC is congested
- Contract too new or unverified returns limited signal with low-confidence verdict

## How this service works

Rug check API for Base and memecoin tokens before every buy. Detect liquidity risk, fake liquidity, contract red flags, and pre-trade danger. Designed for repeated agent calls.

## Output

Returns a structured risk assessment for the token including a PASS/WAIT/FAIL verdict, liquidity risk signals, fake liquidity detection flags, contract-level red flags, and any pre-trade danger indicators that should block or delay a buy.

## 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-b423d061/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)
