# ChainK9 Risk Changes API

> ChainK9 Risk Changes API is a paid API for AI agents from api.chaink9.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-30).

Returns a diff of token risk assessment changes between the two most recent stored scans on BNB Smart Chain, Ethereum, or Base

## Facts

- Endpoint: GET https://api.chaink9.com/risk-changes?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chaink9-risk-changes-api-f590bc31
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_S0dGCdVLhUwTunDa4EjxB

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 chaink9-risk-changes-api-f590bc31
```

Example prompt: Has the risk status of the token at 0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82 on BNB Smart Chain changed since it was last scanned — did it pick up any new warnings like a sell tax or honeypot flag?

## When to prefer this

Use this endpoint when you need to detect changes in a token's risk profile between two points in time rather than a full current risk report. It is ideal for trading bots and monitoring agents that have already seen a prior scan and want to know if anything has degraded — particularly useful for catching newly emerged honeypot behavior, sell tax increases, proxy upgrades, or pair swaps. Prefer this over a full risk scan endpoint when you want a lightweight diff rather than a complete re-assessment.

## Known failure modes

- Token has fewer than two stored scans — returns an error or empty result as diff is not computable
- Invalid token address format — rejected by pattern validation
- Unsupported chain specified — rejected by enum validation
- Token not found on the specified chain — no data returned
- Payment via x402 fails or is insufficient — request rejected before processing

## How this service works

Token risk checks for BNB Smart Chain, Ethereum and Base, for AI agents and trading bots. ChainK9 forks the chain and really buys and sells a token in a sandbox before you do, so a honeypot is caught by what it does, not by what its code looks like.

## Output

A JSON object showing the token address, the 'before' and 'after' scan verdicts with block numbers and timestamps, an array of changed risk modules (each with module name, kind of change, and before/after status), a coverage note, and boolean flags indicating whether the liquidity pair or proxy contract changed between scans.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "token"
     ],
     "properties": {
      "chain": {
       "enum": [
        "bsc",
        "eth",
        "base",
        "arc"
       ],
       "type": "string",
       "description": "bsc (BNB Smart Chain, the default), eth (Ethereum) or base (Base)"
      },
      "token": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$",
       "description": "Token with at least two stored scans on that chain"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "after": {
       "type": "object",
       "properties": {
        "block": {
         "type": "integer"
        },
        "verdict": {
         "type": "string"
        },
        "scanned_at": {
         "type": "string"
        }
       }
      },
      "token": {
       "type": "string"
      },
      "before": {
       "type": "object",
       "properties": {
        "block": {
         "type": "integer"
        },
        "verdict": {
         "type": "string"
        },
        "scanned_at": {
         "type": "string"
        }
       }
      },
      "changes": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "kind": {
          "type": "string"
         },
         "after": {
          "type": "object",
          "properties": {
           "status": {
            "type": "string"
           }
          }
         },
         "before": {
          "type": "object",
          "properties": {
           "status": {
            "type": "string"
           }
          }
         },
         "module": {
          "type": "string"
         }
        }
       }
      },
      "coverage": {
       "type": "string"
      },
      "pair_changed": {
       "type": "boolean"
      },
      "proxy_changed": {
       "type": "boolean"
      }
     }
    }
   }
  }
 
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "after": {
   "block": 2,
   "verdict": "caution",
   "scanned_at": "2026-10-18T00:10:00Z"
  },
  "token": "0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82",
  "before": {
   "block": 1,
   "verdict": "ok",
   "scanned_at": "2026-10-18T00:00:00Z"
  },
  "changes": [
   {
    "kind": "changed",
    "after": {
     "status": "warn"
    },
    "before": {
     "status": "pass"
    },
    "module": "sell_tax"
   }
  ],
  "coverage": "Stored reports only.",
  "pair_changed": false,
  "proxy_changed": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chaink9-risk-changes-api-f590bc31/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.chaink9.com](https://www.zero.xyz/host/api.chaink9.com/llms.txt)
