# Orion Token Risk API

> Orion Token Risk 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).

Analyzes a Base token for rug risk, fake liquidity, and unsafe memecoin entry signals before a swap or buy

## Facts

- Endpoint: GET https://orionkr.xyz/v1/token-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-f152d02e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aQcxN061Xok5nuVw7Y8r8

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

Example prompt: Before I swap into this Base token at 0x1234...abcd, run an Orion token risk check on it — I want to know if there's rug risk, fake liquidity, or any unsafe memecoin signals.

## When to prefer this

Use this endpoint when an autonomous trading agent needs a fast, low-cost pre-trade gate specifically for Base chain tokens — especially memecoins — before executing swaps, DCA entries, or repeated buys. Prefer over general on-chain analytics when you need structured PASS/WAIT/FAIL risk signals optimized for agentic trading loops.

## Known failure modes

- Invalid or non-Base token contract address returns error
- Token not indexed or too new returns insufficient data warning
- Network connectivity failure to Base RPC returns timeout
- Malformed request body returns 400 validation error
- Insufficient USDC payment (requires $0.02) returns 402 Payment Required

## How this service works

Token risk API for autonomous trading agents. Use before swaps to detect Base token risk, rug risk, liquidity risk, fake liquidity, and unsafe memecoin entries.

## Output

Returns a structured risk assessment including rug risk flag, liquidity risk level, fake liquidity detection, memecoin safety signals, and an overall recommendation (PASS/WAIT/FAIL style) for whether it is safe to proceed with the swap.

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