This method searches for the specified query in the public documents on Scribd.com. Private documents are not searchable.
What to search for. More information on search queries.
DEPRECATED. In the past, this parameter allowed you to search within a single user's documents, e.g., within the documents uploaded by your API account. Today docs.search only searches public documents site-wide on Scribd.com.
Restricts search results to only documents in a certain category.
Restricts search results to only documents in the specified language (in ISO 639-1 format).
This option specifies whether or not to allow advanced search queries (more information). When set to false, the API search behaves the same as the search on Scribd.com. When set to true, the API search allows advanced queries that contain filters such as title:"A Tale of Two Cities". Set to "true" by default.
Together with num_results, allows you to paginate through the results returned. Defaults to 0. num_start+num_results must be less than 1000.
The number of results to return. Defaults to 10. Capped at 1000.
API key assigned to your account.
MD5 hash of the active request and your secret key. This is an optional security measure. See the signing documentation for more info.
A session key for a signed in user. If this parameter is provided, your application will carry out actions on behalf of the signed in user corresponding to the session key. Otherwise, your application will carry out actions on behalf of the user account associated with the API account. See the authentication documentation for more information
This parameter is intended for sites with their own user authentication system. You can create phantom Scribd accounts that correspond to your users by simply passing the unique identifier you use to identify your own user accounts to my_user_id. If you pass this parameter to an API method, the API will act as if it were executed by the phantom user corresponding to my_user_id. See the authentication documentation for more information.
Sample return XML
<?xml version="1.0" encoding="UTF-8"?>
<result_set totalResultsReturned="2" firstResultPosition="1" list="true" totalResultsAvailable="922">
<title><![CDATA[Ruby on Java]]></title>
<description><![CDATA[Ruby On Java, Barcamp, Washington DC]]></description>
<title><![CDATA[Ruby on Java Part II]]></title>
<description><![CDATA[Ruby On Java Part II, Barcamp, Washington DC]]></description>
This contains the list of results returned by the search query. This has the following attributes. totalResultsAvailable: The number of query matches in the database. totalResultsReturned: The number of query matches returned. This may be lower than the number of results requested if there were fewer total results available. firstResultPosition: The position of the first result in the overall search.
Contains each individual result
Every document on Scribd has a unique document ID. You can use this ID to link to the document, among other things.
The secret password allows access to the Scribd pages for private documents. This parameter will only be provided if scope is set to "user" and the given document is actually private
The access_key allows you to embed a document on an external site.
The document description.
Comma separated list of tags for the document
|license||["by", "by-nc", "by-nc-nd", "by-nc-sa", "by-nd", "by-sa", "c", "pd"]||
See Wikipedia:Creative_Commons_License. "c" is traditional copyright. "pd" is public domain.
Link to a JPG that contains a thumbnail of the document. This can be used to make search results more presentable. Do not cache thumbnail URLs - they are subject to change.
The number of pages in the document
List of downloadable extensions.
The price at which the document is sold. Only available on store documents.
Number of reads.
The username of the user who uploaded this document.
The user id of the user who uploaded this document.
The date the document was originally uploaded
The date this document was last updated
Indicates availability for purchase through API. Only available on store documents.
|500||Internal Server Error. Scribd has been notified about this problem.|
|601||Required parameter missing|
|610||Search is temporarily down|
|650||Invalid parameter value|
Back to Platform API Reference