# Benford's Law Fraud Check

> Benford's Law Fraud Check is a paid API for AI agents from bot-bazaar.fly.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-31).

Tests a series of ledger figures against Benford's Law expected leading-digit frequency to detect anomalies indicative of fraud or data manipulation.

## Facts

- Endpoint: GET https://bot-bazaar.fly.dev/v1/x402/benfords-law-fraud-check?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/benford-s-law-fraud-check-223a3dd1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YRTNQgTLdS71TDsqmL52u

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 benford-s-law-fraud-check-223a3dd1
```

Example prompt: Can you run a Benford's Law fraud check on these ledger amounts: 1200, 350, 4800, 780, 1500, 2900, 670, 3100, 890, 1050 — I want to see if the leading-digit distribution looks suspicious?

## When to prefer this

Use this endpoint when you need a quick, inexpensive statistical fraud screen on a set of financial or ledger figures using Benford's Law. It is ideal for forensic accounting pre-checks, auditing submitted expense or transaction data, or any scenario where you want to flag numerically suspicious datasets before deeper investigation. Prefer this over manual analysis or full audit tools when speed and cost matter and you have a list of numeric values ready to test.

## Known failure modes

- Missing or empty 'values' query parameter returns an error
- Non-numeric values in the comma-separated list may cause parsing errors
- Too few values provided may yield statistically unreliable results
- Payment of $0.01 USDC not completed results in HTTP 402 response
- Malformed query string causes bad request error

## How this service works

Test a series of ledger figures against Benford's Law expected leading-digit frequency (30.1% for digit 1).

## Output

Returns an analysis of the leading-digit frequency distribution of the submitted values compared against Benford's Law's expected probabilities (e.g. ~30.1% for digit 1), flagging whether the distribution deviates significantly in a way that suggests data manipulation or fraud.

## 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": {
      "values": {
       "type": "string",
       "description": "Comma-separated ledger amounts"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/benford-s-law-fraud-check-223a3dd1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bot-bazaar.fly.dev](https://www.zero.xyz/host/bot-bazaar.fly.dev/llms.txt)
