# BCS Investigation Pack – Blockchain Security Analysis via x402

> BCS Investigation Pack – Blockchain Security Analysis via x402 is a paid API for AI agents from base-agent-preflight.bytoken2023.workers.dev, paid per call via x402, $0.75/call, status unknown (last checked 2026-09-14).

Fetches a blockchain security investigation pack for a given address, surfacing transaction history, risk signals, and provenance data via the blockchainsecurity-atlantis upstream service.

## Facts

- Endpoint: GET https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/bcs/investigation-pack
- Price: $0.75/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bcs-investigation-pack-blockchain-security-analysis-via-x402-2977fb7c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hj8dowWiMlT1v1-ZXk0so

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 bcs-investigation-pack-blockchain-security-analysis-via-x402-2977fb7c
```

Example prompt: Pull a blockchain security investigation pack for address 0xAbC123...def on Ethereum — look at both inbound and outbound transactions, go 3 levels deep, and return up to 50 results.

## When to prefer this

Choose this endpoint when you need a structured, multi-hop blockchain security investigation pack — including transaction direction filtering, configurable depth, and provenance metadata — backed by the blockchainsecurity-atlantis intelligence layer. Prefer this over generic block explorers when you need risk signals, AML-relevant metadata, and a machine-readable investigation report rather than raw transaction data.

## Known failure modes

- Missing required parameters (blockchain or address) returns a 400-level validation error
- Invalid address or transaction hash format rejected by pattern validation
- Unsupported blockchain identifier returns an upstream error
- Depth value outside 1–5 range fails schema validation
- Upstream blockchainsecurity-atlantis service unavailable returns a 502 or empty data payload
- Insufficient x402 payment or payment not processed results in 402 response blocking access

## How this service works

Machine-payable service intelligence for discovering, verifying, and monitoring identity, risk, authorization, execution-preflight, and evidence APIs before autonomous agents spend.

## Output

Returns a JSON object containing the product identifier ('bcs-investigation-pack'), upstream service name, request metadata (request ID, credit cost, credits remaining), and a nested upstream_response with a data payload and meta object containing the investigation results for the queried blockchain address or transaction.

## 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": [
      "blockchain",
      "address"
     ],
     "properties": {
      "depth": {
       "type": "string",
       "pattern": "^[1-5]$"
      },
      "label": {
       "type": "string",
       "pattern": "^[A-Za-z0-9_-]{0,40}$"
      },
      "limit": {
       "type": "string",
       "pattern": "^[0-9]{1,3}$"
      },
      "txhash": {
       "type": "string",
       "pattern": "^[A-Za-z0-9:_-]{0,160}$"
      },
      "address": {
       "type": "string",
       "pattern": "^[A-Za-z0-9:_-]{3,128}$"
      },
      "direction": {
       "enum": [
        "in",
        "out",
        "both"
       ],
       "type": "string"
      },
      "blockchain": {
       "type": "string",
       "pattern": "^[a-z0-9_-]{2,32}$"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "product",
      "upstream_service",
      "upstream_response"
     ],
     "properties": {
      "product": {
       "type": "string"
      },
      "request": {
       "type": "object"
      },
      "provenance": {
       "type": "object"
      },
      "upstream_headers": {
       "type": "object"
      },
      "upstream_service": {
       "type": "string"
      },
      "upstream_response": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "product": "bcs-investigation-pack",
  "upstream_headers": {
   "request_id": "example-request-id",
   "credit_cost": null,
   "credit_remaining": null
  },
  "upstream_service": "blockchainsecurity-atlantis",
  "upstream_response": {
   "data": {},
   "meta": {
    "request_id": "example-request-id"
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bcs-investigation-pack-blockchain-security-analysis-via-x402-2977fb7c/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)
