# x402 Bazaar Compliance Check

> x402 Bazaar Compliance Check is a paid API for AI agents from api.relai.fi, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Screens a blockchain address against OFAC sanctions, EOA/contract profile, and contract risk flags, returning a single compliance recommendation (blocked/review/clear).

## Facts

- Endpoint: POST https://api.relai.fi/relay/1782567677091/api/x402/compliance-check
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-bazaar-compliance-check-31197407
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TUj5LMGc48nw_rzAfAxdF

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 x402-bazaar-compliance-check-31197407 -d '<json body>'
```

Example prompt: Run a compliance check on the address 0xAbC123...def456 — I need to know if it's OFAC-sanctioned, what its EOA or contract profile looks like, and whether it comes back blocked, flagged for review, or clear before I send any funds.

## When to prefer this

Use this endpoint when you need a single combined compliance verdict for a blockchain address — combining OFAC screening, address type profiling, and contract risk flags in one call — rather than querying separate sanctions APIs, block explorers, and risk scoring services individually. Ideal for compliance agents that need a deterministic blocked/review/clear output before authorizing a payment or interaction.

## Known failure modes

- 402 Payment Required — must pay $0.02 USDC on Base to the specified address and retry
- Invalid or malformed address input returns 400 error
- Address not found on-chain may return limited profile data
- Network timeout if Base RPC is congested
- OFAC list may have a propagation delay for very recent additions

## How this service works

Combined counterparty screening for an address: direct OFAC sanctions match, EOA/contract profile, and (for contracts) risk flags — rolled into a single recommendation (blocked / review / clear). Built for compliance agents. Paid via x402: $0.02 in USDC on Base (eip155:8453) to 0x973a31858f4d2125f48c880542da11a2796f12d6. Returns 402 with payment requirements; pay and retry.

## Output

A JSON object containing: a top-level recommendation of 'blocked', 'review', or 'clear'; a boolean or detail on whether the address directly matches OFAC sanctions lists; an EOA/contract profile indicating address type; and for contract addresses, specific risk flags that contributed to the recommendation.

## 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"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "description": "Address to screen"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-bazaar-compliance-check-31197407/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.relai.fi](https://www.zero.xyz/host/api.relai.fi/llms.txt)
