{
  "x402Version": 2,
  "id": 35881,
  "slug": "35881",
  "resource": "https://tanod.dev/v1/pdf/reorder",
  "description": "pdfpeek (Tanod) PDF reorder: pages put in a new order from a list of page numbers.",
  "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"
              },
              "name": {
                "type": "string"
              },
              "pages": {
                "type": "integer"
              }
            },
            "required": [
              "name",
              "content_type",
              "bytes",
              "data_base64"
            ],
            "type": "object"
          },
          "input_bytes": {
            "type": "integer"
          },
          "input_pages": {
            "type": "integer"
          },
          "omitted_count": {
            "type": "integer"
          },
          "omitted_pages": {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "operation": {
            "type": "string"
          },
          "output_bytes": {
            "type": "integer"
          },
          "result_pages": {
            "type": "integer"
          },
          "untrusted_content": {
            "type": "boolean"
          }
        },
        "required": [
          "operation",
          "input_bytes",
          "file",
          "output_bytes",
          "active_content_removed",
          "untrusted_content",
          "result_pages",
          "omitted_pages"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "order": [
              6,
              1,
              2,
              3,
              4,
              5
            ],
            "url": "https://www.irs.gov/pub/irs-pdf/fw9.pdf"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "active_content_removed": {},
            "file": {
              "bytes": 73724,
              "content_type": "application/pdf",
              "data_base64": "JVBERi0xLjcKJb/3... (trimmed: 98,300 base64 characters in the reply)",
              "name": "reordered.pdf",
              "pages": 6
            },
            "input_bytes": 140815,
            "input_pages": 6,
            "omitted_count": 0,
            "omitted_pages": [],
            "operation": "reorder",
            "output_bytes": 73724,
            "result_pages": 6,
            "untrusted_content": true
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "order": {
                    "description": "The new page order as 1-based page numbers (at most 500), e.g. [3, 1, 2]. A page may be listed more than once (it is copied); a page that is not listed is left out. A number the document does not have is a 422 page_out_of_range.",
                    "items": {
                      "maximum": 500,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "maxItems": 500,
                    "minItems": 1,
                    "type": "array"
                  },
                  "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."
                  },
                  "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."
                  }
                },
                "required": [
                  "order"
                ],
                "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"
                      },
                      "name": {
                        "type": "string"
                      },
                      "pages": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "name",
                      "content_type",
                      "bytes",
                      "data_base64"
                    ],
                    "type": "object"
                  },
                  "input_bytes": {
                    "type": "integer"
                  },
                  "input_pages": {
                    "type": "integer"
                  },
                  "omitted_count": {
                    "type": "integer"
                  },
                  "omitted_pages": {
                    "items": {
                      "type": "integer"
                    },
                    "type": "array"
                  },
                  "operation": {
                    "type": "string"
                  },
                  "output_bytes": {
                    "type": "integer"
                  },
                  "result_pages": {
                    "type": "integer"
                  },
                  "untrusted_content": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "operation",
                  "input_bytes",
                  "file",
                  "output_bytes",
                  "active_content_removed",
                  "untrusted_content",
                  "result_pages",
                  "omitted_pages"
                ],
                "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-09T06:03:30.299Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-09T06:03:29.838Z"
  },
  "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": {
              "order": [
                6,
                1,
                2,
                3,
                4,
                5
              ],
              "url": "https://www.irs.gov/pub/irs-pdf/fw9.pdf"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "active_content_removed": {},
              "file": {
                "bytes": 73724,
                "content_type": "application/pdf",
                "data_base64": "JVBERi0xLjcKJb/3... (trimmed: 98,300 base64 characters in the reply)",
                "name": "reordered.pdf",
                "pages": 6
              },
              "input_bytes": 140815,
              "input_pages": 6,
              "omitted_count": 0,
              "omitted_pages": [],
              "operation": "reorder",
              "output_bytes": 73724,
              "result_pages": 6,
              "untrusted_content": true
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "order": {
                      "description": "The new page order as 1-based page numbers (at most 500), e.g. [3, 1, 2]. A page may be listed more than once (it is copied); a page that is not listed is left out. A number the document does not have is a 422 page_out_of_range.",
                      "items": {
                        "maximum": 500,
                        "minimum": 1,
                        "type": "integer"
                      },
                      "maxItems": 500,
                      "minItems": 1,
                      "type": "array"
                    },
                    "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."
                    },
                    "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."
                    }
                  },
                  "required": [
                    "order"
                  ],
                  "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"
                        },
                        "name": {
                          "type": "string"
                        },
                        "pages": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "name",
                        "content_type",
                        "bytes",
                        "data_base64"
                      ],
                      "type": "object"
                    },
                    "input_bytes": {
                      "type": "integer"
                    },
                    "input_pages": {
                      "type": "integer"
                    },
                    "omitted_count": {
                      "type": "integer"
                    },
                    "omitted_pages": {
                      "items": {
                        "type": "integer"
                      },
                      "type": "array"
                    },
                    "operation": {
                      "type": "string"
                    },
                    "output_bytes": {
                      "type": "integer"
                    },
                    "result_pages": {
                      "type": "integer"
                    },
                    "untrusted_content": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "operation",
                    "input_bytes",
                    "file",
                    "output_bytes",
                    "active_content_removed",
                    "untrusted_content",
                    "result_pages",
                    "omitted_pages"
                  ],
                  "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",
        "name": "string",
        "pages": 0
      },
      "input_bytes": 0,
      "input_pages": 0,
      "omitted_count": 0,
      "omitted_pages": [
        0
      ],
      "operation": "string",
      "output_bytes": 0,
      "result_pages": 0,
      "untrusted_content": true
    },
    "type": "string"
  }
}