# x402index Audit

> x402index Audit 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-24).

Audits a given base URL to discover and classify its x402 pay-per-call API paths, returning payability status and pricing recommendations.

## Facts

- Endpoint: GET https://api.firstmention.uk/s/x402index/audit?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402index-audit-8251cf1f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3hv0BGQ7O3eQNxap53bCr

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 x402index-audit-8251cf1f
```

Example prompt: Can you audit https://api.example.com and tell me which of its paths accept x402 micropayments, what they cost, and which ones you'd recommend I call?

## When to prefer this

Use this endpoint when you need to programmatically discover and assess which paths on a known or unknown x402 service accept micropayments, especially before integrating with or budgeting for a pay-per-call API. Prefer it over manual inspection or generic API crawlers when you specifically need x402 payment metadata such as price, payability, and routing recommendations.

## Known failure modes

- Invalid or unreachable base URL returns an error or empty discovered list
- Non-x402 service returns 0 payable paths with no recommendation
- Network timeout if the target service is slow to respond
- Missing required query params returns a schema validation error
- Rate limiting or payment failure if x402 payment is not completed

## 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

A JSON object indicating success, the audited base URL, an array of discovered paths each with HTTP status, payability flag, and charge in USD, plus counts of discovered vs payable paths and a plain-English recommendation string.

## 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": {
      "task": {
       "type": "string"
      },
      "limit": {
       "type": "number"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "task": {
       "type": "string"
      },
      "picks": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "score": {
          "type": "number"
         },
         "reason": {
          "type": "string"
         },
         "networks": {
          "type": "array",
          "items": {
           "type": "string"
          }
         },
         "resource": {
          "type": "string"
         },
         "price_usd": {
          "type": "number"
         },
         "paying_buyers": {
          "type": "number"
         }
        }
       }
      },
      "call_plan": {
       "type": "string"
      },
      "indexed_candidates": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "base": "https://api.firstmention.uk/s/due",
  "paths": [
   {
    "charge": {
     "usd": 0.01
    },
    "status": 402,
    "payable": true,
    "resource": "https://api.firstmention.uk/s/due/due"
   }
  ],
  "payable": 1,
  "discovered": 2,
  "recommendation": "1 of 2 discovered paths is payable at $0.01."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402index-audit-8251cf1f/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)
