# Blockpin Agent Income Rebuild

> Blockpin Agent Income Rebuild is a paid API for AI agents from check.blockpin.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-31).

Reconstructs an agent wallet's income from payments in a single asset (ERC-20 or native ETH) over a block range, filtering out mints, zero-value transfers, self-transfers, and optional owner top-ups, with contract-payer flagging and optional claim reconciliation.

## Facts

- Endpoint: GET https://check.blockpin.dev/income?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/blockpin-agent-income-rebuild-843072b6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sG8mgnxOhlzyI1oA5WNHS

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 blockpin-agent-income-rebuild-843072b6
```

Example prompt: Can you rebuild the income statement for my agent wallet 0xAbc...123 in USDC (0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48) on Base from block 14000000 to block 14100000, excluding top-ups from owner 0xDef...456, and check whether it matches my claimed total of 500 USDC?

## When to prefer this

Use this endpoint when you need a clean, filtered income reconstruction for a specific agent wallet in a single asset over a defined block range — especially when you want automatic exclusion of noise (mints, zeros, self-transfers, owner top-ups), contract-payer flagging, and optional claim reconciliation. Prefer this over raw transfer queries or block explorers when building Agent Income Statements or auditing agent earnings on Ethereum, Base, or Robinhood Chain.

## Known failure modes

- Missing required params (chain, address, token, since) returns a 400-level error
- Block range exceeding chain limits (e.g. >1,000,000 blocks back on Ethereum) may return an error or truncated results
- Invalid token address or unrecognized chain enum returns an error
- Payment required (402) if no x402-compliant payment header is included
- Very large block ranges with high transfer volume may time out or return partial data
- If the address has no qualifying income in the range, returns zero income with empty payer list

## How this service works

Agent income rebuild: every payment into an agent wallet in one asset (an ERC-20, or native ETH including escrow withdrawals) between two blocks, with the draft Agent Income Statements exclusions (zero, mints, self, optional owner top-ups), payers that are contracts flagged, and an optional claim= compared as matched or mismatched. Ethereum, Base and Robinhood Chain. Independent, by Blockpin; not a Claus Network service.

## Output

Returns a structured JSON object with a plain-English summary, a breakdown of qualifying income (amounts per payer, total), excluded transfers (zeros, mints, self-transfers, owner top-ups) with counts, a list of all payers with contract flags, the largest individual payments, and — if a claim was provided — a matched or mismatched status comparing the claimed total against the computed income.

## 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": [
      "chain",
      "address",
      "token",
      "since"
     ],
     "properties": {
      "to": {
       "type": "string",
       "pattern": "^[0-9]+$",
       "description": "Optional end block (default latest)"
      },
      "chain": {
       "enum": [
        "ethereum",
        "base",
        "robinhood"
       ],
       "type": "string"
      },
      "claim": {
       "type": "string",
       "description": "Optional stated total to compare (token units)"
      },
      "owner": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$",
       "description": "Optional owner address: its payments are excluded as top-ups"
      },
      "since": {
       "type": "string",
       "pattern": "^[0-9]+$",
       "description": "Start block (Ethereum: up to 1,000,000 back; Robinhood Chain: up to 7,000,000)"
      },
      "token": {
       "type": "string",
       "description": "ERC-20 0x address, or native for ETH"
      },
      "address": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$",
       "description": "Agent wallet (agentWallet / payTo)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "summary",
      "income",
      "excluded",
      "payers"
     ],
     "properties": {
      "claim": {
       "type": [
        "object",
        "null"
       ]
      },
      "income": {
       "type": "object"
      },
      "payers": {
       "type": "array"
      },
      "largest": {
       "type": "array"
      },
      "summary": {
       "type": "string"
      },
      "excluded": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockpin-agent-income-rebuild-843072b6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from check.blockpin.dev](https://www.zero.xyz/host/check.blockpin.dev/llms.txt)
