# Polymarket Ghost-Fill Counterparty Risk Scorer

> Polymarket Ghost-Fill Counterparty Risk Scorer is a paid API for AI agents from graphadvocate.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Assesses ghost-fill counterparty risk for a Polymarket wallet, classifying wallet type and flagging 24h collateral outflow for adverse selection pricing.

## Facts

- Endpoint: POST https://graphadvocate.com/polymarket/risk
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/graphadvocate-com-7ca98fbb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_amx244OS0VuHL90SaLEol

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 graphadvocate-com-7ca98fbb -d '<json body>'
```

Example prompt: Before I quote against this Polymarket maker, check the ghost-fill counterparty risk for wallet 0x1234abcd...5678 — I need to know the wallet type, whether the risk is low, medium, or high, and if there's been any collateral outflow in the last 24 hours.

## When to prefer this

Use this endpoint when a market-making agent needs to price adverse selection risk before quoting against a specific Polymarket maker wallet, particularly to detect ghost-fill exposure, classify wallet architecture, and catch wallets with recent collateral outflows that signal elevated risk.

## Known failure modes

- Invalid or unrecognized wallet address returns an error
- Wallet with no Polymarket activity may return insufficient data
- Network or subgraph indexing lag may cause stale risk assessment
- Malformed POST body returns 400-level error

## How this service works

Polymarket ghost-fill counterparty risk. POST {wallet}. Returns wallet_type (eoa | smart_account_erc1967 | legacy_smart_account), ghost_fill_risk (low/medium/high), 24h collateral outflow flag. Deposit wallets (POLY_1271, sig type 3) are ghost-fill-immune by design. For MM agents pricing adverse selection before quoting against a maker.

## Output

Returns wallet_type (eoa, smart_account_erc1967, or legacy_smart_account), ghost_fill_risk rating (low/medium/high), and a 24h collateral outflow flag. Deposit wallets using POLY_1271 signature type 3 are identified as ghost-fill-immune by design.

## Example request

```json
{
 "wallet": "0x1234567890abcdef1234567890abcdef12345678"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "wallet": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "reason": "ERC-1967 proxy wallet. Likely Polymarket deposit wallet — ghost-fill-immune by design.",
  "wallet": "0x38e5...",
  "wallet_type": "smart_account_erc1967",
  "impl_address": "0x...",
  "ghost_fill_risk": "low",
  "recent_outflow_24h": {
   "flag": false,
   "events_24h": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/graphadvocate-com-7ca98fbb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from graphadvocate.com](https://www.zero.xyz/host/graphadvocate.com/llms.txt)
