{
  "x402Version": 2,
  "id": 35980,
  "slug": "35980",
  "resource": "https://tanod.dev/v1/pdf/page-numbers",
  "description": "pdfpeek (Tanod) PDF page numbers: numbers stamped on the pages of a PDF.",
  "type": "http",
  "serviceName": "Tanod pdfpeek",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791364949/bazaar-icons/d8143c9bc952f5cd.png",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "active_content_removed": {
            "type": "object"
          },
          "file": {
            "properties": {
              "bytes": {
                "type": "integer"
              },
              "content_type": {
                "type": "string"
              },
              "data_base64": {
                "type": "string"
              },
              "dpi": {
                "type": "integer"
              },
              "first_page": {
                "type": "integer"
              },
              "height": {
                "type": "integer"
              },
              "last_page": {
                "type": "integer"
              },
              "name": {
                "type": "string"
              },
              "page": {
                "type": "integer"
              },
              "pages": {
                "type": "integer"
              },
              "width": {
                "type": "integer"
              }
            },
            "required": [
              "name",
              "content_type",
              "bytes",
              "data_base64"
            ],
            "type": "object"
          },
          "file_count": {
            "type": "integer"
          },
          "files": {
            "items": {
              "properties": {
                "bytes": {
                  "type": "integer"
                },
                "content_type": {
                  "type": "string"
                },
                "data_base64": {
                  "type": "string"
                },
                "dpi": {
                  "type": "integer"
                },
                "first_page": {
                  "type": "integer"
                },
                "height": {
                  "type": "integer"
                },
                "last_page": {
                  "type": "integer"
                },
                "name": {
                  "type": "string"
                },
                "page": {
                  "type": "integer"
                },
                "pages": {
                  "type": "integer"
                },
                "width": {
                  "type": "integer"
                }
              },
              "required": [
                "name",
                "content_type",
                "bytes",
                "data_base64"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "first_number": {
            "type": "integer"
          },
          "input_bytes": {
            "type": "integer"
          },
          "input_pages": {
            "type": "integer"
          },
          "last_number": {
            "type": "integer"
          },
          "numbered_pages": {
            "type": "integer"
          },
          "operation": {
            "type": "string"
          },
          "output_bytes": {
            "type": "integer"
          },
          "untrusted_content": {
            "type": "boolean"
          }
        },
        "required": [
          "operation",
          "output_bytes",
          "untrusted_content",
          "file"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "format": "Page {n} of {N}",
            "url": "https://www.irs.gov/pub/irs-pdf/fw9.pdf"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "active_content_removed": {
              "javascript": 1,
              "xfa": 1
            },
            "file": {
              "bytes": 91519,
              "content_type": "application/pdf",
              "data_base64": "JVBERi0xLjcKJb/3... (trimmed: 122,028 base64 characters in the reply)",
              "name": "numbered.pdf",
              "pages": 6
            },
            "first_number": 1,
            "input_bytes": 140815,
            "input_pages": 6,
            "last_number": 6,
            "numbered_pages": 6,
            "operation": "page-numbers",
            "output_bytes": 91519,
            "untrusted_content": true
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "color": {
                    "default": "#000000",
                    "description": "Text colour as #rrggbb (default #000000, black).",
                    "pattern": "^#[0-9a-fA-F]{6}$",
                    "type": "string"
                  },
                  "font": {
                    "default": "helvetica",
                    "description": "Built-in PDF font: helvetica (default), helvetica-bold, times, times-bold, courier or courier-bold.",
                    "enum": [
                      "helvetica",
                      "helvetica-bold",
                      "times",
                      "times-bold",
                      "courier",
                      "courier-bold"
                    ],
                    "type": "string"
                  },
                  "font_size": {
                    "default": 10,
                    "description": "Points (4-72, default 10).",
                    "maximum": 72,
                    "minimum": 4,
                    "type": "number"
                  },
                  "format": {
                    "default": "{n} / {N}",
                    "description": "{n} = this page's number, {N} = the last number.",
                    "maxLength": 100,
                    "minLength": 1,
                    "type": "string"
                  },
                  "margin": {
                    "default": 28,
                    "description": "Points (1/72 in) from the page edge (0-144, default 28).",
                    "maximum": 144,
                    "minimum": 0,
                    "type": "number"
                  },
                  "opacity": {
                    "default": 1,
                    "description": "0.05 (faint) to 1 (opaque, default).",
                    "maximum": 1,
                    "minimum": 0.05,
                    "type": "number"
                  },
                  "pages": {
                    "anyOf": [
                      {
                        "maxLength": 200,
                        "minLength": 1,
                        "pattern": "^[0-9a-zA-Z ,\\-]+$",
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "Pages to number (default all), e.g. 2- to skip a cover."
                  },
                  "pdf_base64": {
                    "anyOf": [
                      {
                        "maxLength": 13398872,
                        "minLength": 1,
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "The PDF as base64 (at most 10 MB decoded per request); or use url."
                  },
                  "position": {
                    "default": "bottom-center",
                    "description": "top-left, top-center, top-right, bottom-left, bottom-center (default) or bottom-right.",
                    "enum": [
                      "top-left",
                      "top-center",
                      "top-right",
                      "bottom-left",
                      "bottom-center",
                      "bottom-right"
                    ],
                    "type": "string"
                  },
                  "start_number": {
                    "default": 1,
                    "description": "Number printed on the first numbered page.",
                    "maximum": 100000,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "url": {
                    "anyOf": [
                      {
                        "maxLength": 2048,
                        "minLength": 1,
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "Public http(s) URL of the PDF (at most 20 MB; private, internal and IP-literal hosts are refused); or use pdf_base64."
                  }
                },
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "active_content_removed": {
                    "type": "object"
                  },
                  "file": {
                    "properties": {
                      "bytes": {
                        "type": "integer"
                      },
                      "content_type": {
                        "type": "string"
                      },
                      "data_base64": {
                        "type": "string"
                      },
                      "dpi": {
                        "type": "integer"
                      },
                      "first_page": {
                        "type": "integer"
                      },
                      "height": {
                        "type": "integer"
                      },
                      "last_page": {
                        "type": "integer"
                      },
                      "name": {
                        "type": "string"
                      },
                      "page": {
                        "type": "integer"
                      },
                      "pages": {
                        "type": "integer"
                      },
                      "width": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "name",
                      "content_type",
                      "bytes",
                      "data_base64"
                    ],
                    "type": "object"
                  },
                  "file_count": {
                    "type": "integer"
                  },
                  "files": {
                    "items": {
                      "properties": {
                        "bytes": {
                          "type": "integer"
                        },
                        "content_type": {
                          "type": "string"
                        },
                        "data_base64": {
                          "type": "string"
                        },
                        "dpi": {
                          "type": "integer"
                        },
                        "first_page": {
                          "type": "integer"
                        },
                        "height": {
                          "type": "integer"
                        },
                        "last_page": {
                          "type": "integer"
                        },
                        "name": {
                          "type": "string"
                        },
                        "page": {
                          "type": "integer"
                        },
                        "pages": {
                          "type": "integer"
                        },
                        "width": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "name",
                        "content_type",
                        "bytes",
                        "data_base64"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "first_number": {
                    "type": "integer"
                  },
                  "input_bytes": {
                    "type": "integer"
                  },
                  "input_pages": {
                    "type": "integer"
                  },
                  "last_number": {
                    "type": "integer"
                  },
                  "numbered_pages": {
                    "type": "integer"
                  },
                  "operation": {
                    "type": "string"
                  },
                  "output_bytes": {
                    "type": "integer"
                  },
                  "untrusted_content": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "operation",
                  "output_bytes",
                  "untrusted_content",
                  "file"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_h7pxv14u"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "maxItems": 11,
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    "pdfpeek",
    "pdf",
    "pdf-tools",
    "ocr",
    "documents",
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "tanod.dev",
  "lastUpdated": "2026-10-08T20:26:29.935Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-08T20:26:29.248Z"
  },
  "metadata": {
    "serviceName": "Tanod pdfpeek",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791364949/bazaar-icons/d8143c9bc952f5cd.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "format": "Page {n} of {N}",
              "url": "https://www.irs.gov/pub/irs-pdf/fw9.pdf"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "active_content_removed": {
                "javascript": 1,
                "xfa": 1
              },
              "file": {
                "bytes": 91519,
                "content_type": "application/pdf",
                "data_base64": "JVBERi0xLjcKJb/3... (trimmed: 122,028 base64 characters in the reply)",
                "name": "numbered.pdf",
                "pages": 6
              },
              "first_number": 1,
              "input_bytes": 140815,
              "input_pages": 6,
              "last_number": 6,
              "numbered_pages": 6,
              "operation": "page-numbers",
              "output_bytes": 91519,
              "untrusted_content": true
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "color": {
                      "default": "#000000",
                      "description": "Text colour as #rrggbb (default #000000, black).",
                      "pattern": "^#[0-9a-fA-F]{6}$",
                      "type": "string"
                    },
                    "font": {
                      "default": "helvetica",
                      "description": "Built-in PDF font: helvetica (default), helvetica-bold, times, times-bold, courier or courier-bold.",
                      "enum": [
                        "helvetica",
                        "helvetica-bold",
                        "times",
                        "times-bold",
                        "courier",
                        "courier-bold"
                      ],
                      "type": "string"
                    },
                    "font_size": {
                      "default": 10,
                      "description": "Points (4-72, default 10).",
                      "maximum": 72,
                      "minimum": 4,
                      "type": "number"
                    },
                    "format": {
                      "default": "{n} / {N}",
                      "description": "{n} = this page's number, {N} = the last number.",
                      "maxLength": 100,
                      "minLength": 1,
                      "type": "string"
                    },
                    "margin": {
                      "default": 28,
                      "description": "Points (1/72 in) from the page edge (0-144, default 28).",
                      "maximum": 144,
                      "minimum": 0,
                      "type": "number"
                    },
                    "opacity": {
                      "default": 1,
                      "description": "0.05 (faint) to 1 (opaque, default).",
                      "maximum": 1,
                      "minimum": 0.05,
                      "type": "number"
                    },
                    "pages": {
                      "anyOf": [
                        {
                          "maxLength": 200,
                          "minLength": 1,
                          "pattern": "^[0-9a-zA-Z ,\\-]+$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "Pages to number (default all), e.g. 2- to skip a cover."
                    },
                    "pdf_base64": {
                      "anyOf": [
                        {
                          "maxLength": 13398872,
                          "minLength": 1,
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "The PDF as base64 (at most 10 MB decoded per request); or use url."
                    },
                    "position": {
                      "default": "bottom-center",
                      "description": "top-left, top-center, top-right, bottom-left, bottom-center (default) or bottom-right.",
                      "enum": [
                        "top-left",
                        "top-center",
                        "top-right",
                        "bottom-left",
                        "bottom-center",
                        "bottom-right"
                      ],
                      "type": "string"
                    },
                    "start_number": {
                      "default": 1,
                      "description": "Number printed on the first numbered page.",
                      "maximum": 100000,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "url": {
                      "anyOf": [
                        {
                          "maxLength": 2048,
                          "minLength": 1,
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "Public http(s) URL of the PDF (at most 20 MB; private, internal and IP-literal hosts are refused); or use pdf_base64."
                    }
                  },
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "active_content_removed": {
                      "type": "object"
                    },
                    "file": {
                      "properties": {
                        "bytes": {
                          "type": "integer"
                        },
                        "content_type": {
                          "type": "string"
                        },
                        "data_base64": {
                          "type": "string"
                        },
                        "dpi": {
                          "type": "integer"
                        },
                        "first_page": {
                          "type": "integer"
                        },
                        "height": {
                          "type": "integer"
                        },
                        "last_page": {
                          "type": "integer"
                        },
                        "name": {
                          "type": "string"
                        },
                        "page": {
                          "type": "integer"
                        },
                        "pages": {
                          "type": "integer"
                        },
                        "width": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "name",
                        "content_type",
                        "bytes",
                        "data_base64"
                      ],
                      "type": "object"
                    },
                    "file_count": {
                      "type": "integer"
                    },
                    "files": {
                      "items": {
                        "properties": {
                          "bytes": {
                            "type": "integer"
                          },
                          "content_type": {
                            "type": "string"
                          },
                          "data_base64": {
                            "type": "string"
                          },
                          "dpi": {
                            "type": "integer"
                          },
                          "first_page": {
                            "type": "integer"
                          },
                          "height": {
                            "type": "integer"
                          },
                          "last_page": {
                            "type": "integer"
                          },
                          "name": {
                            "type": "string"
                          },
                          "page": {
                            "type": "integer"
                          },
                          "pages": {
                            "type": "integer"
                          },
                          "width": {
                            "type": "integer"
                          }
                        },
                        "required": [
                          "name",
                          "content_type",
                          "bytes",
                          "data_base64"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "first_number": {
                      "type": "integer"
                    },
                    "input_bytes": {
                      "type": "integer"
                    },
                    "input_pages": {
                      "type": "integer"
                    },
                    "last_number": {
                      "type": "integer"
                    },
                    "numbered_pages": {
                      "type": "integer"
                    },
                    "operation": {
                      "type": "string"
                    },
                    "output_bytes": {
                      "type": "integer"
                    },
                    "untrusted_content": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "operation",
                    "output_bytes",
                    "untrusted_content",
                    "file"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "builder-code": {
        "info": {
          "a": "bc_h7pxv14u"
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "a": {
              "description": "App builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "s": {
              "description": "Service builder codes",
              "items": {
                "pattern": "^[a-z0-9_]{1,32}$",
                "type": "string"
              },
              "maxItems": 11,
              "type": "array"
            },
            "w": {
              "description": "Wallet builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            }
          },
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "tanod.dev",
    "manifest_name": "tanod.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "active_content_removed": {},
      "file": {
        "bytes": 0,
        "content_type": "string",
        "data_base64": "string",
        "dpi": 0,
        "first_page": 0,
        "height": 0,
        "last_page": 0,
        "name": "string",
        "page": 0,
        "pages": 0,
        "width": 0
      },
      "file_count": 0,
      "files": [
        {
          "bytes": 0,
          "content_type": "string",
          "data_base64": "string",
          "dpi": 0,
          "first_page": 0,
          "height": 0,
          "last_page": 0,
          "name": "string",
          "page": 0,
          "pages": 0,
          "width": 0
        }
      ],
      "first_number": 0,
      "input_bytes": 0,
      "input_pages": 0,
      "last_number": 0,
      "numbered_pages": 0,
      "operation": "string",
      "output_bytes": 0,
      "untrusted_content": true
    },
    "type": "string"
  }
}