# BaseDue Payee Check

> BaseDue Payee Check is a paid API for AI agents from api.firstmention.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Checks whether a given blockchain address is a contract or an externally owned account (EOA) on Base

## Facts

- Endpoint: GET https://api.firstmention.uk/s/basedue/payee?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/basedue-payee-check-d6d16b80
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tjN8NQGdd9odxkP8MPy8x

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 basedue-payee-check-d6d16b80
```

Example prompt: Can you check whether the address 0x1234...abcd on Base is a smart contract or just a regular wallet?

## When to prefer this

Use this endpoint when you need a quick, cheap ($0.01 USDC) on-chain lookup to distinguish smart contract addresses from regular wallets on the Base network. Prefer it over general blockchain explorers when you need a programmatic, pay-per-call result with a clean boolean output — especially in payment flows, due diligence pipelines, or compliance checks where knowing the payee type matters before dispatching funds.

## Known failure modes

- Invalid or malformed address returns an error or ok:false
- Missing address query parameter causes a 400-level error
- Address not found on Base network may return ok:false
- Rate limiting or payment failure (x402) results in a 402 Payment Required response
- Network or RPC issues may cause timeouts

## How this service works

Pay-per-call HTTP APIs, paid with x402 in USDC on Base (eip155:8453): agentkit, api-change-check, basedue, bizcal-api, chainread, check-sanctions, chgwatch, company-facts, domain-intel, domainkit, domfacts, due, edgar, funding-rates, fundinglens, pageaudit, solcheck, token-dd, txpreflight, walletprofile, web-extract, webmd, webread, websearch, x402-preflight, x402check, x402index. Each operation describes its service.

## Output

Returns a JSON object with an `ok` boolean indicating request success and an `isContract` boolean indicating whether the queried address is a smart contract (true) or an externally owned account/regular wallet (false) on the Base network.

## 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"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "token": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "flags": {
       "type": "array"
      },
      "score": {
       "type": "number"
      },
      "token": {
       "type": "string"
      },
      "symbol": {
       "type": "string"
      },
      "verdict": {
       "type": "string"
      },
      "liquidity_usd": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "isContract": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/basedue-payee-check-d6d16b80/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.firstmention.uk](https://www.zero.xyz/host/api.firstmention.uk/llms.txt)
