Link Search Menu Expand Document

How to find and extract all links in a PDF

Links can be extracted using the /pdf/convert/to/json2 endpoint. To filter out redundant data you can use the OutputStructure profile parameter. And, the OutputTransformation JSON filter can make list of links more compact.


	"url": "YOUR_URL",
	"inline": true,
	"profiles": "{ 'OutputStructure': 'OnlyLinks', 'OutputTransformation': '$..text' }"

If you are using through Zapier or integromat, add the following string to “Custom Profiles” field:

{ 'OutputStructure': 'OnlyLinks', 'OutputTransformation': '$..text' }