# BaseDue Estimate

> BaseDue Estimate 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).

Returns the estimated USD cost of calling a specified HTTP endpoint on the BaseDue service before committing to the actual call.

## Facts

- Endpoint: GET https://api.firstmention.uk/s/basedue/estimate?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-estimate-8becc2c2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_juWSYfQQQKV5qCN72okEY

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-estimate-8becc2c2
```

Example prompt: Before I actually call the BaseDue endpoint, can you estimate how much it will cost me in USD using a GET request so I know if it fits my budget?

## When to prefer this

Use this endpoint when you need to preview the cost of a BaseDue API call before actually executing it, especially in budget-constrained agents or automated workflows where overspending USDC must be avoided. Prefer this over calling the actual endpoint blindly when cost guardrails are needed.

## Known failure modes

- Missing or invalid 'to' query parameter may return an error or zero-cost estimate
- Unsupported HTTP method (outside GET, HEAD, DELETE) will fail schema validation
- Network or service unavailability may result in a non-200 response
- If the target endpoint is unknown to the service, cost estimation may be inaccurate or unavailable

## 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 a boolean 'ok' field indicating success and a 'costUsd' number representing the estimated dollar cost of the target API call (e.g. {"ok": true, "costUsd": 0.002}).

## 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,
  "costUsd": 0.002
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/basedue-estimate-8becc2c2/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)
