# On-chain Forensics API

> On-chain Forensics API is a paid API for AI agents from solene-fa2010da.base44.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-22).

Provides AI-agent-ready token verdict cards, pre-trade safety screens, ERC-20 burn/mint forensics, wallet forensics, and due-diligence memos for Base, Ethereum, and XRPL addresses.

## Facts

- Endpoint: GET https://solene-fa2010da.base44.app/functions/forensicsApi?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/on-chain-forensics-api-008ff694
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g9flljieSYl0rHN3X5t0b

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 on-chain-forensics-api-008ff694
```

Example prompt: Before I swap into AERO on Base, can you run an on-chain forensics verdict screen on it and flag any burn/mint anomalies or rug-pull signals?

## When to prefer this

Choose this endpoint when an AI agent needs fast, structured on-chain risk intelligence before executing or recommending a trade — particularly for tokens on Base, Ethereum, or XRPL. It is purpose-built for agentic workflows with per-call micropayment pricing via x402, making it ideal for per-decision screening rather than bulk subscription data. Prefer this over general block explorers when you need opinionated verdict cards, anomaly flags, or compliance-style memos rather than raw transaction data.

## Known failure modes

- Missing required 'endpoint' query param returns directory listing at $0.02 tier rather than data
- Invalid or unsupported token symbol returns an error — only enumerated tokens (ondo, qnt, aero, degen, brett, etc.) are accepted
- Malformed address (not matching 0x EVM or r... XRPL pattern) returns a validation error
- Unsupported chain value (only base, ethereum, xrp accepted) causes rejection
- Payment not received or insufficient USDC results in 402 Payment Required response
- Requesting memo-tier output ($0.25) without sufficient payment triggers a payment error

## How this service works

On-chain Forensics API for AI agents: token verdict cards and settle-safe pre-trade screens ($0.02), ERC-20 burn/mint and wallet forensics ($0.05, Base/Ethereum/XRPL), and $0.25 due-diligence memos. Bare URL = $0.02 directory tier; append ?endpoint=<name> to call a data endpoint

## Output

Returns a JSON object containing a data payload that may include: a token verdict card (risk level, flags, supply metrics), a settle-safe pre-trade screen (counterparty risk, liquidity signals), ERC-20 burn/mint forensics (event history, anomaly flags), wallet forensics (transaction patterns, risk indicators), or a structured due-diligence memo — depending on the endpoint called. Also returns service name and payment confirmation string.

## 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"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "chain": {
       "enum": [
        "base",
        "ethereum",
        "robinhood",
        "xrp"
       ],
       "type": "string"
      },
      "token": {
       "enum": [
        "ondo",
        "qnt",
        "edel",
        "xlm",
        "aero",
        "degen",
        "brett",
        "buidl",
        "usdy",
        "ousg",
        "ustb",
        "usyc",
        "bcspx",
        "bcoin",
        "bnvda",
        "btsla",
        "aapl",
        "nvda",
        "usdc",
        "usdc_eth"
       ],
       "type": "string"
      },
      "address": {
       "type": "string",
       "pattern": "^0x[a-fA-F0-9]{40}$|^r[1-9A-HJ-NP-Za-km-z]{24,34}$",
       "description": "EVM contract/wallet (0x...) or XRPL classic address (r...)"
      },
      "contract": {
       "type": "string",
       "pattern": "^0x[a-fA-F0-9]{40}$"
      },
      "currency": {
       "type": "string",
       "pattern": "^[A-Za-z]{3}$|^[0-9A-Fa-f]{40}$",
       "description": "XRPL issued-currency code (chain=xrp)"
      },
      "endpoint": {
       "enum": [
        "canton",
        "linea",
        "token",
        "wallet",
        "verdict",
        "settlesafe",
        "memo",
        "sweep"
       ],
       "type": "string"
      },
      "counterparty": {
       "type": "string",
       "pattern": "^0x[a-fA-F0-9]{40}$|^r[1-9A-HJ-NP-Za-km-z]{24,34}$"
      }
     },
     "additionalProperties": true
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "data": {
     "type": "object"
    },
    "paid": {
     "type": "string"
    },
    "service": {
     "type": "string"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/on-chain-forensics-api-008ff694/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from solene-fa2010da.base44.app](https://www.zero.xyz/host/solene-fa2010da.base44.app/llms.txt)
