Get word metadata
POST https://api.pdfrest.com/extracted-text
This request demonstrates how to get all word metadata from a PDF.
In this request, word_style
and word_coordinates
are both toggled on to obtain all available word metadata. At the same time, full_text
is set to off to opt out of receiving an additional copy of the text.
Request Body
[{"name"=>"file", "value"=>nil, "datatype"=>"null"}, {"name"=>"id", "value"=>"", "datatype"=>"null"}, {"name"=>"full_text", "value"=>"off", "datatype"=>"string"}, {"name"=>"word_style", "value"=>"on", "datatype"=>"string"}, {"name"=>"word_coordinates", "value"=>"on", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Api-Key | string |