{
  "x402Version": 2,
  "id": 29559,
  "slug": "29559",
  "resource": "https://netintel.dev/pdf/parse",
  "description": "Parse a PDF to text and Markdown: send a PDF url or base64 file, get clean Markdown with paragraphs rebuilt from the text layer, per-page character offsets for citing pages, metadata (title, author, dates, page count) and the page numbers that are scanned images with no text layer. Up to 50 pages per call. Text layer only, no OCR: an image-only PDF returns an uncharged 422.",
  "type": "http",
  "serviceName": "NetIntel",
  "resourceType": "Developer Tool",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xdaDc335482AD545296Fd7b28518A251fFCbEb9Df",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "8FVeybWnB4dYrxTuPK7WzFZNAiEcFVaDLFnKpRwVGr5s",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "char_count": {
            "type": "number"
          },
          "findings": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "markdown": {
            "description": "All parsed pages, each after a <!-- page N --> marker",
            "type": "string"
          },
          "metadata": {
            "type": "object"
          },
          "page_count": {
            "type": "number"
          },
          "pages": {
            "description": "Per page: page, word_count, has_text, char_start, char_end (offsets into markdown)",
            "type": "array"
          },
          "pages_parsed": {
            "type": "number"
          },
          "scanned_pages": {
            "items": {
              "type": "number"
            },
            "type": "array"
          },
          "source": {
            "type": "object"
          },
          "truncated": {
            "type": "boolean"
          },
          "word_count": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "url": "https://netintel.dev/samples/pdf-parse-sample.pdf"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "char_count": 730,
            "findings": [
              "scanned_pages_present"
            ],
            "markdown": "<!-- page 1 -->\n\n## Quarterly Network Report\n\nThis sample shows what POST /pdf/parse returns: paragraphs rebuilt from the text layer, ...",
            "metadata": {
              "author": "NetIntel",
              "created": "2026-10-10T00:00:00Z",
              "has_form": false,
              "pdf_version": "1.4",
              "title": "Quarterly Network Report (sample)"
            },
            "page_count": 3,
            "pages": [
              {
                "char_end": 507,
                "char_start": 0,
                "has_text": true,
                "page": 1,
                "word_count": 76
              },
              {
                "char_end": 581,
                "char_start": 509,
                "has_text": false,
                "page": 2,
                "word_count": 0
              },
              {
                "char_end": 730,
                "char_start": 583,
                "has_text": true,
                "page": 3,
                "word_count": 19
              }
            ],
            "pages_parsed": 3,
            "scanned_pages": [
              2
            ],
            "source": {
              "bytes": 2236,
              "final_url": "https://netintel.dev/samples/pdf-parse-sample.pdf",
              "type": "url",
              "url": "https://netintel.dev/samples/pdf-parse-sample.pdf"
            },
            "truncated": false,
            "word_count": 95
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "file_base64": {
                    "description": "The PDF as base64 or a data: URL (up to ~700 KB). Send url OR file_base64.",
                    "type": "string"
                  },
                  "max_chars": {
                    "description": "Cap on the markdown length (default 100000)",
                    "type": "number"
                  },
                  "pages": {
                    "description": "Pages to parse, 1-based, e.g. \"1-3,7\" (default: the first 50)",
                    "type": "string"
                  },
                  "url": {
                    "description": "Public URL of the PDF (up to 10 MB)",
                    "type": "string"
                  }
                },
                "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": {
                  "char_count": {
                    "type": "number"
                  },
                  "findings": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "markdown": {
                    "description": "All parsed pages, each after a <!-- page N --> marker",
                    "type": "string"
                  },
                  "metadata": {
                    "type": "object"
                  },
                  "page_count": {
                    "type": "number"
                  },
                  "pages": {
                    "description": "Per page: page, word_count, has_text, char_start, char_end (offsets into markdown)",
                    "type": "array"
                  },
                  "pages_parsed": {
                    "type": "number"
                  },
                  "scanned_pages": {
                    "items": {
                      "type": "number"
                    },
                    "type": "array"
                  },
                  "source": {
                    "type": "object"
                  },
                  "truncated": {
                    "type": "boolean"
                  },
                  "word_count": {
                    "type": "number"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "pdf to text",
    "pdf parser",
    "pdf to markdown",
    "extract text from pdf",
    "document parsing",
    "bazaar"
  ],
  "sourceHost": "netintel.dev",
  "lastUpdated": "2026-10-10T22:51:16.521Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-10T22:51:16.15Z"
  },
  "metadata": {
    "serviceName": "NetIntel",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "url": "https://netintel.dev/samples/pdf-parse-sample.pdf"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "char_count": 730,
              "findings": [
                "scanned_pages_present"
              ],
              "markdown": "<!-- page 1 -->\n\n## Quarterly Network Report\n\nThis sample shows what POST /pdf/parse returns: paragraphs rebuilt from the text layer, ...",
              "metadata": {
                "author": "NetIntel",
                "created": "2026-10-10T00:00:00Z",
                "has_form": false,
                "pdf_version": "1.4",
                "title": "Quarterly Network Report (sample)"
              },
              "page_count": 3,
              "pages": [
                {
                  "char_end": 507,
                  "char_start": 0,
                  "has_text": true,
                  "page": 1,
                  "word_count": 76
                },
                {
                  "char_end": 581,
                  "char_start": 509,
                  "has_text": false,
                  "page": 2,
                  "word_count": 0
                },
                {
                  "char_end": 730,
                  "char_start": 583,
                  "has_text": true,
                  "page": 3,
                  "word_count": 19
                }
              ],
              "pages_parsed": 3,
              "scanned_pages": [
                2
              ],
              "source": {
                "bytes": 2236,
                "final_url": "https://netintel.dev/samples/pdf-parse-sample.pdf",
                "type": "url",
                "url": "https://netintel.dev/samples/pdf-parse-sample.pdf"
              },
              "truncated": false,
              "word_count": 95
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "file_base64": {
                      "description": "The PDF as base64 or a data: URL (up to ~700 KB). Send url OR file_base64.",
                      "type": "string"
                    },
                    "max_chars": {
                      "description": "Cap on the markdown length (default 100000)",
                      "type": "number"
                    },
                    "pages": {
                      "description": "Pages to parse, 1-based, e.g. \"1-3,7\" (default: the first 50)",
                      "type": "string"
                    },
                    "url": {
                      "description": "Public URL of the PDF (up to 10 MB)",
                      "type": "string"
                    }
                  },
                  "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": {
                    "char_count": {
                      "type": "number"
                    },
                    "findings": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "markdown": {
                      "description": "All parsed pages, each after a <!-- page N --> marker",
                      "type": "string"
                    },
                    "metadata": {
                      "type": "object"
                    },
                    "page_count": {
                      "type": "number"
                    },
                    "pages": {
                      "description": "Per page: page, word_count, has_text, char_start, char_end (offsets into markdown)",
                      "type": "array"
                    },
                    "pages_parsed": {
                      "type": "number"
                    },
                    "scanned_pages": {
                      "items": {
                        "type": "number"
                      },
                      "type": "array"
                    },
                    "source": {
                      "type": "object"
                    },
                    "truncated": {
                      "type": "boolean"
                    },
                    "word_count": {
                      "type": "number"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "netintel.dev",
    "manifest_name": "netintel.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": {
      "char_count": 0,
      "findings": [
        "string"
      ],
      "markdown": "string",
      "metadata": {},
      "page_count": 0,
      "pages": [
        "value"
      ],
      "pages_parsed": 0,
      "scanned_pages": [
        0
      ],
      "source": {},
      "truncated": true,
      "word_count": 0
    },
    "type": "string"
  }
}