# PreFlight Token Due Diligence

> PreFlight Token Due Diligence is a paid API for AI agents from meryol-agenticmarket-x402.hf.space, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Runs pre-trade token due diligence on EVM tokens — scoring rug risk, LP lock status, holder concentration, honeypot checks, and ownership renouncement — and returns a trade verdict with position sizing recommendation.

## Facts

- Endpoint: POST https://meryol-agenticmarket-x402.hf.space/token/dd
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/preflight-token-due-diligence-c64cb96f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kIemLyiGiMJvMpy7VCtJU

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 preflight-token-due-diligence-c64cb96f -d '<json body>'
```

Example prompt: Before I buy this token, run a full PreFlight due diligence check on contract 0xabc... on Base — I want to know the risk score, whether the LP is locked, if ownership is renounced, and whether you think I should trade it or skip it.

## When to prefer this

Use this endpoint when an autonomous agent needs to verify a token's safety profile before executing a buy — specifically when you need structured risk flags, LP lock status, honeypot detection, holder concentration, and a machine-readable trade verdict in one call on EVM chains (Ethereum, Base, Arbitrum, Optimism).

## Known failure modes

- Unknown or unverified contract address returns an error or null verdict
- Chain not supported (only Ethereum, Base, Arbitrum, Optimism are supported)
- Very new token with insufficient on-chain data may return incomplete scoring
- Token contract is a proxy and underlying logic cannot be decoded
- Payment of $0.05 USDC not received results in 402 Payment Required response

## How this service works

Pre-trade & pre-sign checks for autonomous agents: everything an agent verifies BEFORE signing a transaction — token due diligence, calldata red-flag decoding, oracle freshness, holder concentration, bridge routing with executable calldata, cross-venue perp funding, gas and price sanity checks. EVM chains: Ethereum, Base, Arbitrum, Optimism.

## Output

Returns a JSON object with the token name and symbol, a 0–100 risk score, a verdict label (e.g. 'risky'), a narrative summary of key concerns, an array of top risk flags (e.g. 'lp_not_locked', 'top10_concentration_64pct', 'owner_not_renounced'), a boolean should_trade, and a recommended_position_size string (e.g. 'skip').

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "chain",
      "token"
     ],
     "properties": {
      "chain": {
       "enum": [
        "ethereum",
        "base",
        "arbitrum",
        "optimism"
       ],
       "type": "string"
      },
      "token": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "verdict",
      "score_0_100"
     ]
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "name": "MOON",
  "chain": "base",
  "notes": [],
  "token": "0xabc...",
  "symbol": "MOON",
  "verdict": "risky",
  "narrative": "LP not locked, top10 wallets hold 64% ex-LP, owner unrenounced. Honeypot check passed.",
  "top_risks": [
   "lp_not_locked",
   "top10_concentration_64pct",
   "owner_not_renounced"
  ],
  "score_0_100": 32,
  "should_trade": false,
  "recommended_position_size": "skip"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/preflight-token-due-diligence-c64cb96f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from meryol-agenticmarket-x402.hf.space](https://www.zero.xyz/host/meryol-agenticmarket-x402.hf.space/llms.txt)
