OCLC Developer Network

Parameters

OpenSearch parameters

>
ParameterDescriptionRequired?Possible Values
qquery in the form of a keyword searchrequiredkeywords searched for records where all are present

- OR - Use CQL 

formatformat of outputoptional
rss, atom
default is atom
startstart positionoptionaldefault is 1
count
maximum number of records to return
top limit is 100 records
optional

default is 10

cformatthe citation format you want to returnoptional
apa, chicago, harvard, mla, turbian, all
default is mla
servicelevelConsult the Service Levels documentation to determine the differences in available indexes and displays between the two levels optional for CQL queries onlydefault, full
default is default 
frbrGroupingWhether or not to use FRBR grouping which groups together similar editions and present only the top held record as the representative record for that group. This is sometimes referred to as a "FRBRized" result set. To see separate records for editions, set this parameter to "off". optional for CQL queries only

 on, off

default is on 

 wskey Web Services Key required 

SRU parameters

ParameterDescriptionRequired?Possible Values
queryquery in the form of a CQL Search. For more information see the SRU Explain responserequired 
recordSchema

determines the result format, and can be

MARC XML

(info%3Asrw%2Fschema%2F1%2Fmarcxml)

or Dublin Core

(info%3Asrw%2Fschema%2F1%2Fdc)

optional

info%3Asrw%2Fschema%2F1%2Fmarcxml


info%3Asrw%2Fschema%2F1%2Fdc

 

default is MARC XML

info%3Asrw%2Fschema%2F1%2Fmarcxml

startRecordthe starting position of the result setoptionaldefault is 1
maximumRecords
the maximum number of records to return in a single request
top limit is 100 records per query
optional

default is 10

sortKeysspecifies how the result is sortedoptional

relevance, Title, Author, Date, Library Count, or Score

default sort key is relevance; relevance is only descending.

default sort direction is "ascending"; to switch to descending add ",,0" to the sortKey.

Separate combined sortKeys with a space; multiple values only works if frbrGrouping=off

frbrGroupingwhether or not to use FRBR grouping which groups together similar editions and present only the top held record as the representative record for that group. This is sometimes referred to as a "FRBRized" result set. To see separate records for editions, set this parameter to "off".optional
on, off
default is on
servicelevelConsult the Service Levels documentation to determine the differences in available indexes and displays between the two levelsoptionaldefault, full
default is default
wskeyWeb Services Keyrequired 
    

Single Bibliographic Record parameters

ParameterDescriptionRequired?Possible Values
servicelevelConsult the Service Levels documentation to determine the differences in available indexes and displays between the two levelsoptionaldefault, full
default is default
recordSchema

determines the result format, and can be

MARC XML

(info%3Asrw%2Fschema%2F1%2Fmarcxml)

or Dublin Core

(info%3Asrw%2Fschema%2F1%2Fdc)

optional

info%3Asrw%2Fschema%2F1%2Fmarcxml


info%3Asrw%2Fschema%2F1%2Fdc

 

default is MARC XML

info%3Asrw%2Fschema%2F1%2Fmarcxml

wskeyWeb Services Keyrequired 
    

Library Location parameters

ParameterDescriptionRequired?Possible Values
location
location information:
  • postal code in defined countries
  • U.S. state names or two letter postal code
  • Canadian province names or two letter postal code
  • Country name in English or ISO country codes
optional

postal codes provides library locations based on nearness to that postal code location for libraries within the countries Australia, Canada, France, Germany, Great Britain, the Netherlands, South Africa, and the United States.

country name and ISO country code provides all holdings for all countries.

default is IP address of the server, if no location or lat/long, or specified IP address

latlatitude used with longitude to find libraries near those coordinates with holdingsoptional

lat/long provides library locations based on nearness to that lat/long location for libraries within the countries Australia, Canada, France, Germany, Great Britain, the Netherlands, South Africa, and the United States.

default is ip address of the server, if no location or lat/long, or specified IP address

lonlongitude used with latitude to find libraries near those coordinates with holdingsoptional

lat/long provides library locations based on nearness to that lat/long location for libraries within the countries Australia, Canada, France, Germany, Great Britain, the Netherlands, South Africa, and the United States.

default is ip address of the server, if no location or lat/long, or specified IP address

ipspecified IP addressoptional

default is IP address of the server, if no location or lat/long, or specified IP address

startLibrarystart positionoptionaldefault is 1
maximiumLibraries
maximum number of libraries to show
top limit is 100 libraries per query
optionaldefault is 10 libraries
libtypetype of library to limit holding results tooptional
1 = academic, 2 = public, 3 = government, and 4 = other
If no libtype parameter is sent then the system searches for holdings in all types of libraries
formatformat of the response returned. Only use if want JSON responseoptional

json

callback

JSON-P callback. Only used with JSON-P response format

*Please do not embed your WSKey in client side javascripts*

optional 
frbrGrouping

whether or not to use FRBR grouping.

The default option includes the library locations associated with any similar edition of the item requested. This is sometimes referred to as a "FRBRized" holdings results.

To see holdings associated with only the single record requested set this parameter to "off".

See the note on frbrGrouping information for Library Location documentation.

optional
on, off
default is on
servicelevelConsult the Service Levels documentation to determine the differences in available indexes and displays between the two levelsoptionaldefault, full
default is default
wskeyWeb Services Keyrequired 

Library Catalog URL parameters

ParameterDescriptionRequired?Possible Values
oclcsymbolOCLC Symbols to find holdings for.
Can be a comma separated list of symbols.
requiredTo find symbols consult the Find an OCLC Library page
maximiumLibraries
maximum number of libraries shown
top limit is 100 libraries per query
optionaldefault is 10 libraries
formatformat of the response returned. Only use if want JSON responseoptional

json

callback

JSON-P callback. Only used with JSON-P response format

*Please do not embed your WSKey in client side javascripts*

optional 
frbrGrouping

whether or not to use FRBR grouping.

The default option includes the library locations associated with any similar edition of the item requested. This is sometimes referred to as a "FRBRized" holdings results.

To see holdings associated with only the single record requested set this parameter to "off".
See the note on frbrGrouping information for Library Location documentation.

optional
on, off
default is on
servicelevelConsult the Service Levels documentation to determine the differences in available indexes and displays between the two levelsoptionaldefault, full
default is default
wskeyWeb Services Keyrequired 

Citation Format parameters

ParameterDescriptionRequired?Possible Values
cformatthe citation format you want to returnoptionalapa, chicago, harvard, mla, turabian, or all
default is MLA
wskeyWeb Services Keyrequired 

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