Retrieve contents of documents based on a list of document IDs.

/contents is used to instantly get content for documents, given the IDs of the documents. We currently support extracts - the first 1000 tokens (~750 words) of parsed HTML for a site.

Note that each piece of content retrieved costs 1 request.

Also note that "instant" is a little bit of a lie if you are using keyword search, in which case contents might take a few seconds to retrieve.

Click Try It! to start a request and see the response here!