fstring
Defines the originating search type. (e.g., "8" is a normal search, "3" is from the suggestion list, and "1" is a related search.
qObligatoriostring
Defines the search query, including all Baidu search operators (e.g., `inurl:`, `site:`, `intitle:`, etc.).
bsstring
Defines the previous search query.
ctstring
Defines which language to restrict results. Available options: "1" (All languages), "2" (Simplified Chinese), "3" (Traditional Chinese).
oqstring
Defines the original search query when navigated from a related search.
pninteger
Defines the result offset. It skips the given number of results. It's used for pagination. (e.g., 0 (default) is the first page of results, 10 is the 2nd page of results, 20 is the 3rd page of results, etc.). Must be a non-negative integer.
q5string
Similar to using `inurl:` or `intitle:`. (e.g., "1" to search by page title, "2" to search by web address.).
q6string
Similar to using `site:`. (e.g., `q6=serpapi.com` to search for results only from the domain `serpapi.com`)
rninteger
Parameter defines the maximum number of results to return, limited to 50. (e.g., 10 (default) returns 10 results, 30 returns 30 results, and 50 returns 50 results). This parameter is only available for desktop and tablet searches. Must be between 1 and 50.
gpcstring
Parameter defines the time period for results. (e.g., `stf=1749303572,1749908372|stftype=1` only returns results from the past 7 days. First integer within the parameter, `1749303572` is Unix Timestamp for 7 days ago. Second integer, `1749908372` is Unix Timestamp for now.).
asyncboolean
Parameter defines the way you want to submit your search to SerpApi. It can be set to `false` (default) to open an HTTP connection and keep it open until you got your search results, or `true` to just submit your search to SerpApi and retrieve them later. In this case, you'll ne…
devicestring
Parameter defines the device to use to get the results. It can be set to "desktop" (default) to use a regular browser, "tablet" to use a tablet browser (currently using iPads), or "mobile" to use a mobile browser (currently using iPhones).