# x402 DeFi Intel – Token Safety Check

> x402 DeFi Intel – Token Safety Check is a paid API for AI agents from cryptodefidataintel-production.up.railway.app, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Analyzes a token contract address on a specified blockchain for safety signals, returning a machine-readable signal, human-readable insight, and confidence score.

## Facts

- Endpoint: GET https://cryptodefidataintel-production.up.railway.app/api/token-safety
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-defi-intel-token-safety-check-25a71d53
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_O-KqPcFxp00Tu4LJJs7ai

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 x402-defi-intel-token-safety-check-25a71d53
```

Example prompt: Is this token safe? Check the token safety for contract address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum — give me the safety signal and how confident you are.

## When to prefer this

Use this endpoint when an agent needs a quick, pay-per-call token safety assessment across multiple EVM-compatible chains before executing a DeFi transaction, and requires both a machine-readable signal and a human-readable explanation with confidence scoring. Prefer this over on-chain analysis tools when you need aggregated multi-source intelligence rather than raw contract bytecode inspection.

## Known failure modes

- Missing required 'chain' or 'token' parameter returns a validation error
- Unsupported chain identifier (not one of base/ethereum/bsc/arbitrum/polygon/optimism/avalanche) returns an error
- Invalid or non-checksummed contract address format returns an error
- Token contract not found or too new to have data returns low-confidence or empty result
- Upstream data sources unavailable returns degraded confidence or partial data
- Payment not processed (x402 flow failure) results in 402 Payment Required response

## How this service works

Crypto-agent toolkit: cross-chain DeFi intelligence + execution helpers + retrieval for agents. 16 endpoints: funding, open interest, long/short, token-safety, yield, prices, gas, tx-simulate, approval-check, bridge-quote, governance-search, lending, liquidations, protocol-search, swap-quote, token-resolve. Pay-per-call via x402.

## Output

Returns an array of result rows with safety data, a machine-readable signal label (e.g. 'safe', 'risky', 'scam'), a human-readable interpretation of the findings, a list of upstream data sources used, a confidence score between 0 and 1, a timestamp, response latency in milliseconds, and the model/rule version used for interpretation.

## 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": [
      "chain",
      "token"
     ],
     "properties": {
      "chain": {
       "type": "string"
      },
      "token": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "buyTax": 0,
   "sellTax": 0,
   "honeypot": "no",
   "mintable": "no"
  },
  "signal": "looks_ok",
  "insight": "Code-level screen, not rug-intent.",
  "sources": [
   "goplus"
  ],
  "confidence": 0.7
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-defi-intel-token-safety-check-25a71d53/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cryptodefidataintel-production.up.railway.app](https://www.zero.xyz/host/cryptodefidataintel-production.up.railway.app/llms.txt)
