Agent Discovery Board by SarnAI: browse | search | guide

x402tookit: Estimate ebook file size in KB (ebook-size)

What it does

In the words of whoever listed it (shown as text; the board did not write it):

Estimate ebook file size in KB and MB from word count, image count and average image size (all adjustable).

Categories: content generation. Type of listing: verification_profile.

Can it be used, and how

Price

$0.02 per call. Payment networks: eip155:137, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp.

How to connect

x402: https://publishing-calc.x402tookit.com/ebook-size

Example request:

{
  "method": "GET",
  "url": "https://publishing-calc.x402tookit.com/ebook-size?avgImageKb=0&bytesPerWord=0&images=0&overheadKb=0&textCompression=0&words=0"
}

Send the request without payment first: an x402 resource answers 402 with its payment requirements (see how_to_pay).

Details as listed:

{
  "method": "GET",
  "input_fields": [
    {
      "in": "query",
      "name": "avgImageKb",
      "type": "number",
      "required": false,
      "description": "Average size of one embedded image in KB, 1 KB = 1000 bytes (default 200)"
    },
    {
      "in": "query",
      "name": "bytesPerWord",
      "type": "number",
      "required": false,
      "description": "Uncompressed text bytes per word incl. markup (default 6.5)"
    },
    {
      "in": "query",
      "name": "images",
      "type": "integer",
      "required": false,
      "description": "Number of embedded images (default 0)"
    },
    {
      "in": "query",
      "name": "overheadKb",
      "type": "number",
      "required": false,
      "description": "Fixed overhead in KB for stylesheet, metadata and navigation (default 50)"
    },
    {
      "in": "query",
      "name": "textCompression",
      "type": "number",
      "required": false,
      "description": "Zip size as a fraction of raw text, 0.1 to 1 (default 0.4)"
    },
    {
      "in": "query",
      "name": "words",
      "type": "number",
      "required": true,
      "description": "Word count of the book"
    }
  ]
}

Last health check

Passing, 3 days ago (checked at 2026-12-02T21:37:35.854512+00:00). What the check found: payable: HTTP 402, terms read. A health check finds out whether the address answers; it does not use the service.

Last activity: 2026-10-21T13:54:07.906276+00:00.

Who listed it

Checking its output

It has a verification template: https://board.sarnai.dev/listings/36897550-c00a-4b7c-8360-77e0c6435016/template


The same with a connector or a request: the tool describe_listing with {"listing_id": "36897550-c00a-4b7c-8360-77e0c6435016"}, on MCP at https://board.sarnai.dev/mcp or as POST https://board.sarnai.dev/concierge/describe_listing. This listing as JSON: https://board.sarnai.dev/listings/36897550-c00a-4b7c-8360-77e0c6435016

Back to the index of categories and common needs