This system has been deprecated and is no longer supported.
Buyback API

The Buyback API is setup to return results in either XML or JSON format. The structure of the request is:

http://www.peprbooks.com/api/v1/buyback.php?apikey={{your_api_key_here}}&isbn={{isbn}}&returnKind={{returnKind}}&includebookmetadata={{boolean}}
An example request would look like this:
http://www.peprbooks.com/api/v1/buyback.php?apikey=Public
&isbn=9780134290553
&returnKind=xml
&includebookmetadata=false
&timeout_ms=10000

Definitions:

Input Values Required Description
apiKey unique per user Required This identifies the request as coming from your account.
isbn 10 or 13 digit Required ISBN Value
returnKind xml / json Optional Pick which kind of output you prefer (defaults to XML if not specified).
includebookmetadata true / false Optional Include title, author, etc. Defaults to false if not specified.
timeout_ms milliseconds Optional Specify how many milliseconds to wait for remote data before processing.

Example XML Results:

<?xml version="1.0" encoding="utf-8"?>
<PeprBooks>
  <inputs>
    <isbn>9780321695987</isbn>
    <returnKind>xml</returnKind>
  </inputs>
  <accountData>
    <creditsAvailable>2404</creditsAvailable>
  </accountData>
  <results>
    <result>
      <display_name>Amazon Trade-In</display_name>
      <pepr_source_id>1</pepr_source_id>
      <logo_url>http://peprbooks.s3.amazonaws.com/images/amazon.gif</logo_url>
      <price>65.00</price>
      <url><![CDATA[http://www.amazon.com/gp/product/0321695984/ref=as_li_ss_tl?ie=UTF8&tag=peprbooks-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0321695984]]></url>
    </result>
    <result>
      <display_name>BlueRocketBooks</display_name>
      <pepr_source_id>2</pepr_source_id>
      <logo_url>http://peprbooks.s3.amazonaws.com/images/bluerocketbooks.gif</logo_url>
      <price>32.45</price>
      <url><![CDATA[http://www.bluerocketbooks.com/addbooks.php?isbns=9780321695987&rid=47]]></url>
    </result>
    <result>
      <display_name>K12BookBuyer</display_name>
      <pepr_source_id>5</pepr_source_id>
      <logo_url>http://peprbooks.s3.amazonaws.com/images/k12bookbuyer.jpg</logo_url>
      <price>29.95</price>
      <url><![CDATA[http://www.k12bookbuyer.com/addbooks.php?isbns=9780321695987&rid=46]]></url>
    </result>
    <result>
      <display_name>CKY Books</display_name>
      <pepr_source_id>6</pepr_source_id>
      <logo_url>http://peprbooks.s3.amazonaws.com/images/cky_books_logo_height30px.png</logo_url>
      <price>29.50</price>
      <url>http://www.ckybooks.com/a/showOffers.php?forms%5Bisbn%5D%5B%5D=9780321695987</url>
    </result>
    <result>
      <display_name>Powells Books</display_name>
      <pepr_source_id>8</pepr_source_id>
      <logo_url>http://peprbooks.s3.amazonaws.com/images/powells29.png</logo_url>
      <price>0</price>
      <url><![CDATA[http://www.powells.com/partner/36658/sellonline?p_sb_c&isbn_list=9780321695987]]></url>
    </result>
    <result>
      <display_name>Textbooks.com</display_name>
      <pepr_source_id>9</pepr_source_id>
      <logo_url>http://peprbooks.s3.amazonaws.com/images/textbooks_logo.png</logo_url>
      <price>41.00</price>
      <url>http://www.textbooks.com/BuyBack-Search.php?bb_isbns=9780321695987</url>
    </result>
    <result>
      <display_name>BookJingle</display_name>
      <pepr_source_id>11</pepr_source_id>
      <logo_url>http://peprbooks.s3.amazonaws.com/images/book_jingle.png</logo_url>
      <price>30.09</price>
      <url/>
    </result>
  </results>
</PeprBooks>
Example JSON Results:
{"inputs":{"isbn":"9780321695987","returnKind":"json"},"accountData":{"creditsAvailable":2406},"results":[{"display_name":"Amazon Trade-In","pepr_source_id":1,"logo_url":"http:\/\/peprbooks.s3.amazonaws.com\/images\/amazon.gif","price":"65.00","url":"http:\/\/www.amazon.com\/gp\/product\/0321695984\/ref=as_li_ss_tl?ie=UTF8&tag=peprbooks-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0321695984"},{"display_name":"BlueRocketBooks","pepr_source_id":2,"logo_url":"http:\/\/peprbooks.s3.amazonaws.com\/images\/bluerocketbooks.gif","price":32.45,"url":"http:\/\/www.bluerocketbooks.com\/addbooks.php?isbns=9780321695987&rid=47"},{"display_name":"K12BookBuyer","pepr_source_id":5,"logo_url":"http:\/\/peprbooks.s3.amazonaws.com\/images\/k12bookbuyer.jpg","price":29.95,"url":"http:\/\/www.k12bookbuyer.com\/addbooks.php?isbns=9780321695987&rid=46"},{"display_name":"CKY Books","pepr_source_id":6,"logo_url":"http:\/\/peprbooks.s3.amazonaws.com\/images\/cky_books_logo_height30px.png","price":"29.50","url":"http:\/\/www.ckybooks.com\/a\/showOffers.php?forms%5Bisbn%5D%5B%5D=9780321695987"},{"display_name":"Powells Books","pepr_source_id":8,"logo_url":"http:\/\/peprbooks.s3.amazonaws.com\/images\/powells29.png","price":0,"url":"http:\/\/www.powells.com\/partner\/36658\/sellonline?p_sb_c&isbn_list=9780321695987"},{"display_name":"Textbooks.com","pepr_source_id":9,"logo_url":"http:\/\/peprbooks.s3.amazonaws.com\/images\/textbooks_logo.png","price":"41.00","url":"http:\/\/www.textbooks.com\/BuyBack-Search.php?bb_isbns=9780321695987"},{"display_name":"BookJingle","pepr_source_id":11,"logo_url":"http:\/\/peprbooks.s3.amazonaws.com\/images\/book_jingle.png","price":"30.09","url":null}]}
Amazon Data API

This API call has been deprecated. Use MegaMWS.com instead.

Meta Data API

This API call has been deprecated. Use MegaMWS.com instead.