| Send this parameter | Key | Value | Description |
|---|---|---|---|
|
Authorization
|
|||
| api_keyrequired |
|
SearchApi.io API key; alternatively send 'Authorization: Bearer <key>'. This is the author's own SearchApi key, left here on purpose so you can run this page for real without signing up. Replace it with yours to run against your own account — whichever key is in this row is the one Run live spends credits on, and the one the address above and every code sample carry, so a key pasted here also travels in a link you share. Run, beside it, answers from a recording and spends nothing. |
|
| api_key_preset |
default
|
Which demo key to send. The working key resolves the recorded sample; the other two resolve the recorded 401 and 429 envelopes, so the path to an error state is the caller's real path. |
|
|
Required
|
|||
| qrequired |
|
Search query; most engines accept native operators and advanced filters. |
|
|
Targeting
Only what you set is sent. Sending the API its own defaults back would ship a dozen parameters you never chose and bury the ones you did.
|
|||
|
|
google_domain |
default
|
Google domain to query, e.g. google.com, google.de. |
|
|
gl |
|
Country of the search (two-letter country code). |
|
|
hl |
default
|
Interface language of the search (two-letter language code). |
|
|
location |
|
Geographic origin of the search; canonical names come from the Locations API. |
|
|
device |
default
|
Device to emulate for the search. |
|
Filters
|
|||
|
|
safe |
|
Adult content filtering level. |
|
|
filter |
default
|
Duplicate/omitted results filter (1 = on, 0 = off). |
|
|
nfpr |
default
|
Exclude auto-corrected query results (1 = no fixed spelling). |
|
Time
|
|||
|
|
time_period |
|
Restricts results by recency; custom uses time_period_min/max. |
|
|
time_period_min |
|
Start date for time_period=custom (MM/DD/YYYY). |
|
|
time_period_max |
|
End date for time_period=custom (MM/DD/YYYY). |
|
Pagination
|
|||
|
|
page |
default
|
Page number of the results. |
|
|
num |
|
Number of results per page. |
|
More
Everything else this engine accepts, in the catalog's order.
|
|||
|
|
uule |
|
Encoded location cookie; alternative to `location` (do not use both). |
|
|
cr |
|
Restricts results to documents from listed countries, e.g. countryUS. |
|
|
lr |
|
Restricts results to documents in a language, e.g. lang_en. |