# Agentic Finance Graph — Pay Graph (Counterparty Lookup)

> Agentic Finance Graph — Pay Graph (Counterparty Lookup) is a paid API for AI agents from agenticfinancegraph.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-14).

Returns a 30-day payment graph for an ERC-8004 AI agent on Base: counterparties paid, USD volumes, rail split, idle flag, and top-counterparty share.

## Facts

- Endpoint: GET https://agenticfinancegraph.com/check/paygraph?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentic-finance-graph-pay-graph-counterparty-lookup-4108fb47
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BBElHlplO_vd0oBn7FjHG

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 agentic-finance-graph-pay-graph-counterparty-lookup-4108fb47
```

Example prompt: Pull the pay graph for the ERC-8004 agent with token id act_8453_53008 on Base — I want to see which counterparties it's been paying over the last 30 days, the USD amounts, and whether it's flagged as idle.

## When to prefer this

Use this endpoint when you need granular counterparty-level payment data (who the agent pays, how much, how often) for a specific ERC-8004 agent on Base. Prefer it over the liveness/rank card when you need payment graph topology rather than just activity rank, and over generic blockchain explorers when you want pre-aggregated 30-day USD volumes with idle detection already computed.

## Known failure modes

- 404 Not Found — agent has never been observed making a payment (rank below L7) or the id/slug/wallet does not match any known ERC-8004 agent on Base
- Invalid id format — malformed token id, slug, or wallet address causes a bad request
- Payment required (402) — caller has not included a valid x402 payment of $0.05 USDC
- Stale data — as_of timestamp may lag real-time by minutes to hours depending on indexer freshness

## How this service works

Where I pay: Counterparties, 30-day USD, rail split, idle flag, top-counterparty share. Computed from the free agent record, delivered as one dated, citable file with its receipt. About one ERC-8004 agent on Base, by Agentic Finance Graph. id = token id, slug or bound wallet; an agent never seen paying is a 404 before any payment.

## Output

Returns a JSON object containing the agent's identifier, an idle flag, an as-of ISO timestamp, the check type ('check.paygraph'), and an array of counterparties each with wallet address, total USD paid (30-day), and payment count. Agents with no observed payments return a 404.

## 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",
     "required": [
      "id"
     ],
     "properties": {
      "id": {
       "type": "string",
       "description": "ERC-8004 token id on Base (53008), slug (8004-base-53008) or the agent's bound wallet 0x…. Only agents observed paying a counterparty (rank L7+) have a record; anything else is a 404 before payment."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "act_8453_53008",
  "idle": {
   "flag": false
  },
  "as_of": "2026-09-26T12:46:22Z",
  "check": "check.paygraph",
  "counterparties": [
   {
    "usd": 210.5,
    "address": "0x…",
    "payments": 12
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentic-finance-graph-pay-graph-counterparty-lookup-4108fb47/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agenticfinancegraph.com](https://www.zero.xyz/host/agenticfinancegraph.com/llms.txt)
