# Token Due Diligence Check (token-dd)

> Token Due Diligence Check (token-dd) is a paid API for AI agents from api.firstmention.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-29).

Performs a risk assessment and due diligence check on one or more crypto tokens across chains, returning scores, red flags, liquidity data, and a risk verdict.

## Facts

- Endpoint: GET https://api.firstmention.uk/s/token-dd/check?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-due-diligence-check-token-dd-44f31f7b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KCHoAAWPn_tlILIq_o127

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 token-due-diligence-check-token-dd-44f31f7b
```

Example prompt: Can you check the risk score and red flags for the token at address 0x940181a94a35a4569e4529a3cdfb74e38fd98631 on the Base chain before I buy any?

## When to prefer this

Use this endpoint when you need a structured, multi-signal risk score for a specific token contract address — especially before trading, investing, or interacting with an unknown token. It aggregates RPC, GoPlus, and DexScreener data into a single verdict, making it superior to manually querying each source. Ideal for DeFi agents, portfolio managers, or any workflow that needs automated token safety checks on Base or Ethereum.

## Known failure modes

- Unknown or unsupported chain identifier returns an error
- Invalid or non-contract address returns no results or error
- Degraded source status (e.g. GoPlus unavailable) may reduce scoring accuracy
- Rate limiting or payment failure (402) if USDC payment not properly attached
- Token with no on-chain liquidity may return incomplete liquidity data

## How this service works

Pay-per-call HTTP APIs, paid with x402 in USDC on Base (eip155:8453): agentkit, api-change-check, basedue, basewatch, chainread, check-sanctions, chgwatch, company-facts, composite, edgar, feednews, pageaudit, solcheck, token-dd, txpreflight, walletcheck, webmd, webread, websearch, x402index. Each operation describes its service.

## Output

Returns a JSON object with an overall ok status, a count of tokens evaluated, and per-token results including: chain, risk score (0-100), token name and symbol, contract address, a verdict string (e.g. lower_risk, moderate_risk, high_risk), a degraded flag, a list of red flags, source status for RPC/GoPlus/DexScreener, and total liquidity in USD. Also includes a summary with aggregate verdict counts and a riskiest-first ordering.

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "count": 2,
  "results": [
   {
    "chain": "base",
    "score": 77,
    "token": {
     "name": "Aerodrome",
     "symbol": "AERO"
    },
    "address": "0x940181a94a35a4569e4529a3cdfb74e38fd98631",
    "verdict": "moderate_risk",
    "degraded": false,
    "red_flags": [],
    "source_status": {
     "rpc": "ok",
     "goplus": "ok",
     "dexscreener": "ok"
    },
    "liquidity_usd_total": 34210000
   }
  ],
  "summary": {
   "degraded": 0,
   "reported": 2,
   "verdicts": {
    "lower_risk": 1,
    "moderate_risk": 1
   },
   "requested": 2,
   "riskiest_first": [
    "base:0x940181a94a35a4569e4529a3cdfb74e38fd98631",
    "ethereum:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
   ]
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-due-diligence-check-token-dd-44f31f7b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.firstmention.uk](https://www.zero.xyz/host/api.firstmention.uk/llms.txt)
