Request format:
https://api.nli.org.il/openlibrary/search?api_key={USER_KEY}&{search_string}
(The old Hebrew page is: http://openlibrary.nli.org.il/search-api.html save the old page as the Hebrew page)
https://api.nli.org.il/openlibrary/search?api_key={USER_KEY}&{search_string}
(The old Hebrew page is: http://openlibrary.nli.org.il/search-api.html save the old page as the Hebrew page)
Parameter | Description |
---|---|
api_key | A personal key (mandatory) that the user receives after logging in to our API system. The personal key must be used as parameter value for {USER_KEY}. |
search_string | Holds a basic search query (mandatory). Basic queries must include at least a three character string over one of the search attributes. |
A list of valid attributes and valid values for queries (mandatory) is available here.
Example of a basic search: https://api.nli.org.il/openlibrary/search?api_key={USER_KEY}&query=title,exact,Jerusalem
Parameter | Parameter | Description |
---|---|---|
api_key | api_key | A personal key that the user receives after logging in to our API system. The personal key must be used as parameter value for {USER_KEY}. |
search_string | Holds a query (mandatory), and additional optional parameters, such as material_type, output_format, availability_type, sort_field, count_mode, items_per_page, result_page. | |
query | A query (mandatory) that is part of a search_string, and which supports filtering by multiple attributes and internal rules. The full list of valid attributes, valid values and rules includes:
|
|
material_type | A list of material types can be found here | |
output_format | A list of output formats can be found here | |
availability_type | A list of availability types can be found here | |
sort_field | A list of sort field attributes can be found here | |
count_mode | Yes / No (default=no) |
Example of a query string (that is part of the search string):
query=title,exact,jerusalem,AND;creator,contains,Jerusalem,AND;language,exact,eng,AND;start_date,contains,1951&sortField=title&output_format=xml
Example of an advanced search:
A guest user account can be used to access the web services available on the National Library of Israel network.
A guest user account can also be used on a trial basis in order to get familiar with the National Library of Israel's API system.
Guest user accounts have limited access permissions and can only perform a limited amount of queries.
We recommend signing up to gain full access to our system.
Guest user API Key: DVQyidFLOAjp12ib92pNJPmflmB5IessOq1CJQDK