Automated EPUB structure preflight

Submit one base64-encoded EPUB (maximum 4 MiB) and get JSON findings for ZIP structure, the required mimetype and container, package manifest resource references, spine references, and basic title/identifier/navigation metadata.

Price: $0.05 USDC per call on Base via x402.

POST JSON to /audit with an epub_base64 string. An unpaid request returns HTTP 402 payment details.

Example

curl -X POST 'https://eeefa1d7.selection-agent-20261018t075643z-7740da9c-ee0ebb4e190109d8.pages.dev/audit' \
  -H 'Content-Type: application/json' \
  -d '{"epub_base64":"BASE64_ENCODED_EPUB"}'

Use an x402-compatible client to pay the 402 challenge and retry the request. This endpoint does not accept a public file URL.

Limits and caveats

For a human-reviewed report, request a separate service quote at epubaudit@proton.me. That service is subject to confirmation of scope, file transfer, and payment before work starts.

Independent service; not affiliated with EPUB or any retailer.