# Token Due Diligence - Transaction Analysis

> Token Due Diligence - Transaction Analysis is a paid API for AI agents from api.firstmention.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-19).

Fetches and decodes on-chain transaction details for a token contract on a specified blockchain, including gas usage and USDC transfer breakdowns

## Facts

- Endpoint: GET https://api.firstmention.uk/s/token-dd/tx?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-due-diligence-transaction-analysis-00108c7f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-U7ZKRGkgbHLW0BM2ItQQ

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-transaction-analysis-00108c7f
```

Example prompt: Can you pull the on-chain transaction details for the token contract 0x45a1...4830 on Base, including any USDC transfers and gas used?

## When to prefer this

Use this endpoint when you need decoded, human-readable transaction data — especially USDC transfer details — for a specific token contract on a supported EVM chain like Base. It is ideal for token due diligence workflows, DeFi audits, or tracing USDC flows without setting up your own blockchain RPC and decoding logic. Prefer this over raw RPC calls when you want structured output with gas and transfer breakdowns ready to consume.

## Known failure modes

- Invalid or malformed contract address returns an error or empty result
- Unsupported chain ID results in a failure response
- Token contract not found on the specified chain returns found:false
- Network or RPC timeout may cause delayed or failed response
- Payment failure via x402/USDC prevents the call from being processed

## How this service works

Pay-per-call HTTP APIs, paid with x402 in USDC on Base (eip155:8453): agentkit, api-change-check, basedue, bizcal-api, chainread, check-sanctions, chgwatch, company-facts, domain-intel, domainkit, domfacts, due, edgar, funding-rates, fundinglens, pageaudit, solcheck, token-dd, txpreflight, walletprofile, web-extract, webmd, webread, websearch, x402-preflight, x402check, x402index. Each operation describes its service.

## Output

Returns a JSON object indicating success status, whether the token was found, gas used by the transaction, a list of USDC transfers (each with from/to addresses and USDC amount), and the total USDC transfer count.

## 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": {
      "addr": {
       "type": "string"
      },
      "chain": {
       "type": "string"
      },
      "size_usd": {
       "type": "number"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "symbol": {
       "type": "string"
      },
      "size_usd": {
       "type": "number"
      },
      "best_pool": {
       "type": "object",
       "properties": {
        "dex": {
         "type": "string"
        },
        "loss_usd": {
         "type": "number"
        },
        "slippage_pct": {
         "type": "number"
        },
        "usdc_out_estimate": {
         "type": "number"
        }
       }
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "chain": "base",
  "token": {
   "name": "Aerodrome Finance",
   "symbol": "AERO",
   "decimals": 18
  },
  "address": "0x940181a94A35A4569E4529A3CDfB74e38FD98631",
  "assessment": {
   "score": 62,
   "reasons": [
    "top10_holder_pct 41.2% is concentrated"
   ],
   "verdict": "moderate_risk"
  },
  "disclaimer": "Informational only, not financial advice."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-due-diligence-transaction-analysis-00108c7f/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)
