Please be sure to use api.springernature.com in your API calls. Use of api.springer.com is being deprecated.
Complex Queries and Boolean Operations
Query String Parameters
This section introduces key fields such as q
for the query, s
for the starting result, and p
for the number of results per page. The following query string parameters can be passed to the API to customize how the results are displayed:
Parameter | Description | Required | Default Value |
---|---|---|---|
q | The query to be performed by the API. Supports various filters. | yes | |
s | Return results starting at the number specified. | no | 1 |
p | Number of results to return in the request. (See section Pagination and Limits for more details.) | no | 10 |
api_key | The key identifying your application. | yes |
If the p
parameter is not included, 10 results will be returned by default. If the s
parameter is omitted, the results will start from the first entry. The q
parameter offers flexible options, allowing you to build complex queries.
Boolean Constraints
Using AND
, OR
, NOT
, NEAR
in queries
Constraint | Example Query |
---|---|
AND | https://api.springernature.com/meta/v2/pam?q=(%22saturn%22%20AND%20%22jupiter%22)%20type:Book&api_key=.. |
OR | https://api.springernature.com/meta/v2/pam?q=(%22saturn%22%20OR%20%22jupiter%22)%20type:Book&api_key=.. |
NOT | https://api.springernature.com/meta/v2/pam?q=(%22saturn%22%20NOT%20%22jupiter%22)%20type:Book&api_key=.. |
NEAR | https://api.springernature.com/meta/v2/pam?q=(%22saturn%22%20NEAR/10%20%22jupiter%22)%20type:Book&api_key=.. |