# Scrapling x402 Token Risk Lookup

> Scrapling x402 Token Risk Lookup is a paid API for AI agents from scraplingdata.xyz, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-22).

Returns a risk score and risk flags for a Base (chain 8453) token contract address, powered by GoPlus or cache.

## Facts

- Endpoint: GET https://scraplingdata.xyz/v1/lookup/token-risk?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapling-x402-token-risk-lookup-0745f200
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VzyKuISj40FiJsQ3Y-jzo

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 scrapling-x402-token-risk-lookup-0745f200
```

Example prompt: Can you check the risk score for Base token contract 0x4200000000000000000000000000000000000006 and tell me if it has any red flags before I swap into it?

## When to prefer this

Use this endpoint when you need a quick, cheap ($0.005 USDC) risk assessment for a specific token contract on Base (chain 8453), especially before executing a DeFi swap or interaction. Prefer this over general blockchain explorers when you need a structured risk score and flags rather than raw on-chain data.

## Known failure modes

- Invalid or non-Base chain token address returns an error or empty result
- Address not found in GoPlus or cache returns unknown risk level
- Rate limiting or payment failure (x402) blocks the request
- Cached data may be stale if the token was recently updated

## How this service works

Is this Base token a scam? Honeypot / cannot-sell check, buy and sell tax, hidden owner, mintable flag a 0-100 risk score and a one-word verdict (go / caution / avoid) for a Base (chain 8453) token contract. Example: address=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913. Cached scan, else live GoPlus check (about 1-3 s)

## Output

Returns a JSON object containing the token contract address, a numeric risk score from 0 to 100, a categorical risk level (e.g. low/medium/high), specific risk flags (or 'none'), and the data source (cache or goplus_live).

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "description": "Base (chain 8453) token contract address"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "source": "cache|goplus_live",
  "risk_flags": "none",
  "risk_level": "low",
  "token_address": "0x...",
  "risk_score_0_100": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scrapling-x402-token-risk-lookup-0745f200/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scraplingdata.xyz](https://www.zero.xyz/host/scraplingdata.xyz/llms.txt)
