# Publishing Calc – Standard US Trade Book Trim Sizes

> Publishing Calc – Standard US Trade Book Trim Sizes is a paid API for AI agents from publishing-calc.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-27).

Returns a table of standard US trade book trim sizes in inches and mm, or looks up a specific size and its nearest standard equivalent.

## Facts

- Endpoint: GET https://publishing-calc.x402tookit.com/trim-sizes?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/publishing-calc-standard-us-trade-book-trim-sizes-1fbdfbd5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BcqI53w1_b-P9LD4cESqL

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 publishing-calc-standard-us-trade-book-trim-sizes-1fbdfbd5
```

Example prompt: What are all the standard US trade book trim sizes in inches and mm, and is 5.5x8.5 a recognized standard — if not, what's the closest one?

## When to prefer this

Use this endpoint when you need authoritative US trade book trim size data, want to validate whether a specific width×height is a recognized standard, or need to find the closest standard to a custom size — especially when building publishing workflows, print-on-demand tools, or book formatting assistants.

## Known failure modes

- Malformed size string (e.g. missing 'x', non-numeric values) may return an error or null match
- A size wildly outside standard ranges may return no nearest match or a low-confidence match
- Network or payment (x402) failures result in no response

## How this service works

Standard US trade book trim sizes in inches and mm, or look up one size like 6x9 and its closest standard.

## Output

Returns either the full list of standard US trade book trim sizes (with width and height in both inches and mm, and the use/category label for each), or — when a specific size like '6x9' is queried — returns that size's details plus its nearest standard match, aspect ratio, and match reasoning.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "size": {
       "type": "string",
       "description": "A size like 6x9 or 5.5x8.5 (inches, width x height); omit for the whole table"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "match": {
       "type": [
        "null",
        "object"
       ],
       "properties": {
        "use": {
         "type": [
          "null",
          "string"
         ]
        },
        "size": {
         "type": [
          "null",
          "string"
         ]
        },
        "widthIn": {
         "type": [
          "null",
          "number"
         ]
        },
        "widthMm": {
         "type": [
          "null",
          "number"
         ]
        },
        "heightIn": {
         "type": [
          "null",
          "number"
         ]
        },
        "heightMm": {
         "type": [
          "null",
          "number"
         ]
        }
       }
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "aspectRatio": {
       "type": [
        "null",
        "number"
       ]
      },
      "nearestStandard": {},
      "requ
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/publishing-calc-standard-us-trade-book-trim-sizes-1fbdfbd5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from publishing-calc.x402tookit.com](https://www.zero.xyz/host/publishing-calc.x402tookit.com/llms.txt)
