# Base USDC Receipt Lookup & Risk Assessment

> Base USDC Receipt Lookup & Risk Assessment is a paid API for AI agents from base-agent-preflight.bytoken2023.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-13).

Fetches a structured receipt for a Base chain USDC transaction, including risk scoring, activity details, and provenance assessment.

## Facts

- Endpoint: GET https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/usdc-receipt
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-usdc-receipt-lookup-risk-assessment-c5e06ef0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hfmwBA1_tSBUdEVwK-Ki-

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 base-usdc-receipt-lookup-risk-assessment-c5e06ef0
```

Example prompt: Can you pull up the receipt and risk assessment for this Base USDC transaction — 0x3a1b2c...d4e5f6 — and tell me the risk score and any flags on it?

## When to prefer this

Use this endpoint when you need a structured, machine-readable receipt and risk assessment for a specific USDC transaction on Base (chain ID 8453). Prefer this over generic block explorers when you need a normalized risk score, flags, and provenance in a single API call suitable for agent workflows.

## Known failure modes

- Invalid or malformed transaction hash (not matching ^0x[a-fA-F0-9]{64}$) returns an error
- Transaction hash not found on Base network returns not-found error
- Non-USDC transaction hash may return unexpected or empty activity data
- Network timeout or upstream RPC failure may cause delayed or failed response
- Payment of 0.003 USDC not fulfilled results in 402 Payment Required

## How this service works

Verifies a Base transaction against USDC receipt data and returns transfer details, finality, and provenance for a given transaction hash.

## Output

Returns a JSON object with the network identifier (eip155:8453), product name, risk assessment (risk_score, risk_level, flags array), activity details, identity info, and provenance data for the given transaction hash.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "tx"
     ],
     "properties": {
      "tx": {
       "type": "string",
       "pattern": "^0x[a-fA-F0-9]{64}$",
       "description": "Base transaction hash."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "network": {
       "type": "string"
      },
      "product": {
       "type": "string"
      },
      "activity": {
       "type": "object"
      },
      "identity": {
       "type": "object"
      },
      "assessment": {
       "type": "object"
      },
      "provenance": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "network": "eip155:8453",
  "product": "base-usdc-receipt",
  "assessment": {
   "flags": [],
   "risk_level": "low",
   "risk_score": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-usdc-receipt-lookup-risk-assessment-c5e06ef0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from base-agent-preflight.bytoken2023.workers.dev](https://www.zero.xyz/host/base-agent-preflight.bytoken2023.workers.dev/llms.txt)
