Search API: Examples

Use these search examples to find the Issuu publications you are looking for.

The basics

Find documents related to the keyword "jamie"

http://search.issuu.com/api/2_0/document?q=jamie

Find pages related to the keyword "jamie" inside a given document

http://search.issuu.com/api/2_0/page?q=jamie&documentId=090224121313-2f028222e017481ba99f3ba2800c8167

Paging, sorting, and ranges

Return the first 20 results of a query

http://search.issuu.com/api/2_0/document?q=art&pageSize=20

Return the next 20 results of a query

http://search.issuu.com/api/2_0/document?q=art&pageSize=20&startIndex=20

Find the art publication viewed most often:

http://search.issuu.com/api/2_0/document?q=art&sortBy=views

To search for publications with "art" in the title:

http://search.issuu.com/api/2_0/document?q=title:art

Show all publications containing the tag "car" and the tag "boat".

http://search.issuu.com/api/2_0/document?q=tag:car+tag:boat

To find all publications that are tagged with jamie but without the phrase "breakfast food" in the title, i.e. +tag:jamie -title:"breakfast food"

http://search.issuu.com/api/2_0/document?%2Btag%3Ajamie%20-title%3A%22breakfast%20food%22

Show documents created in the last 24 hours, sorted by creation

http://search.issuu.com/api/2_0/document?timeframe=1day&sortBy=epoch

Formats

For search results in JSONP format with callback function "myCallback":

http://search.issuu.com/api/2_0/document?q=jamie&jsonCallback=myCallback

Detailed response

Return description and rating

http://search.issuu.com/api/2_0/document?q=jamie&responseParams=description%2Crating

Show all extra fields in a search result

http://search.issuu.com/api/2_0/document?q=jamie&responseParams=%2A