Classify API Documentation
OverviewThis method provides recommendations intended to facilitate the assignment of Dewey (DDC) and Library of Congress (LCC) classification numbers for books, movies, music, and various other resource types.
The recommendations provided for a resource are based on the collective information available from the larger pool of related resources, identified using the OCLC FRBR Work-Set algorithm.
Try the Classify API Explorer
EncodingThe APIs expect all requests to be UTF-8 encoded. Responses are also UTF-8 encoded.
Request FormatsREST is the simplest format to use and the only request format currently supported. REST requests consist of URLs that can be invoked either via HTTP POST or GET methods, either programatically or via a WEB browser. For example:
Response FormatsREST/XML is the only response format currently supported. The success or failure of a request is indicated in the response code. For example:
<?xml version="1.0" encoding="UTF-8"?> <classify xmlns="http://classify.oclc.org"> <response code="0"/> ... </classify>Click the link in the 'Request Formats' section (above) to view a sample response.
The following code samples are provided as "how-to" examples for using the APIs. They demonstrate how to use the CLassify API, but also serve as a general guide for accessing any of the REST services.