OCLC Developer Network

Parameters

ParameterDescriptionRequired?Possible Values
methodmethodrequiredgetVariants, getEditions, getMetadata
formatformat of outputoptional (defaults to XML) 
librarylimits search to a particular collectionoptionalebook, bookmooch, wikipedia, paperbackswap, oca, freeebook, hathi
flFields to returnoptional

fl=* return all fields
lccn, isbn, owi (OCLC Work ID)
 

startIndexthe index of the first search result desired by the clientoptional 
countthe number of search results desired by the clientoptional 
aiAffiliate IDoptional 
callbackJSON CallbackoptionalSee example
token optional (subscription users only) 
hash optional (subscription users only) 

Search in a library

This feature limits search scope to a particular library's holding, we treat any collections as a library in general. Current support value includes:

Result Paging

xOCLCNum by default returns first 1000 matched identifiers, however there are a few works with more than 1000 matches (e.g. Bible), in that case, the remaining ISBNs can be fetched by the paging method. We use "startIndex" and "count" parameters to page the result. The same technique can be used if the client desired less than 1000 records in response. The definition of startIndex and count is same as OpenSearch Specification. To do a paging request:

http://xisbn.worldcat.org/webservices/xid/isbn/9789574760442?method=getEditions&startIndex=1&count=2
	

Follow the OCLC Developer Network:

The OCLC Developer Network supports the use of OCLC Web Services—a set of tools and APIs that expose data and services for WorldCat and our member libraries and partner institutions or companies. learn more »

© 2010 OCLC Domestic and international trademarks and/or service marks of OCLC Online Computer Library Center, Inc. and its affiliates


Powered by Drupal, an open source content management system