Can I convert only part of the webpage?

Yes, the API can convert any HTML section specified by a CSS selector. Set the selector using the setElementToConvert option and choose the desired mode with setElementToConvertMode.

Alternatively, you can add the pdfcrowd-convert-only-this class to elements you want to convert. Other elements will be removed from the output.