unique_id (Required):| Parameters | Name | Role |
|---|---|---|
| unique_id | API | Tools used for specified use, optional: search_web、search_news、search_shopping、search_scholar、extract、map |
query(Required):| Parameters | Name | Role |
|---|---|---|
| query | Search Words | To specify keywords or queries to search for, with 1 to 256 characters in length.Additionally, (1) search terms are in keyword form and natural language decomposition queries are not currently supported. (2) When source=web, keyword domain restriction is supported. The input format is: site:domain keyword |
source(Select Fill):| Parameters | Name | Role |
|---|---|---|
| source | Type of result | Sets the type of search result. Selective values: web, news, shopping, scholar. Default value is web. |
max_results(Select Fill):| Parameters | Name | Role |
|---|---|---|
| max_results | Number of outcomes | The maximum number of values to be used to set return search results, with values ranging from 1 to 100. The default value is 10. |
time_range(Select Fill):| Parameters | Name | Role |
|---|---|---|
| time_range | Time frame of results | Search results used to filter the specified time range. Optional values: hour (in the last 1 hour), day (in the last 24 hours), week (in the last 1 week), month (in the last 1 month), year (in the last 1 year). Unselected indicates open time. shooping and scholar types do not support this parameter. |
country(Select Fill):| Parameters | Name | Role |
|---|---|---|
| country | Source countries | Use two lowercase country codes for setting countries or areas for search results. Default value is us.scholar type does not support this parameter. |
| value | name |
|---|---|
| ad | Andorra |
| ae | United Arab Emirates |
| af | Afghanistan |
| ag | Antigua and Barbuda |
| ai | Anguilla |
| al | Albania |
| am | Armenia |
| an | Curaçao. |
| ao | Angola |
| aq | Antarctica |
| ar | Argentina |
| as | American Samoa |
| at | Austria |
| au | Australia |
| aw | Aruba |
| az | Azerbaijan |
| ba | Bosnia and Herzegovina |
| bb | Barbados |
| bd | Bangladesh |
| be | Belgium |
| bf | Burkina Faso |
| bg | Bulgaria |
| bh | Bahrain |
| bi | Burundi |
| bj | Benin |
| bm | Bermuda |
| bn | Brunei Darussalam |
| bo | Bolivia |
| br | Brazil |
| bs | Bahamas |
| bt | Bhutan |
| bv | Bwe Island |
| bw | Botswana |
| by | Belarus |
| bz | Belize |
| ca | Canada |
| cc | Cocos (Kirin) Islands |
| cd | Democratic Republic of the Congo) |
| cf | Central African Republic |
| cg | Congo (Bou)) |
| ch | Switzerland |
| ci | Côte d ' Ivoire |
| ck | Cook Islands |
| cl | Chile |
| cm | Cameroon |
| cn | China |
| co | Colombia |
| cr | Costa Rica |
| cu | Cuba |
| cv | Cape Verde |
| cx | Christmas Island. |
| cy | Cyprus |
| cz | Czech Republic |
| de | Germany |
| dj | Djibouti |
| dk | Denmark |
| dm | Dominica |
| do | Dominican Republic |
| dz | Algeria |
| ec | Ecuador |
| ee | Estonia |
| eg | Egypt |
| eh | Western Sahara |
| er | Eritrea |
| es | Spain |
| et | Ethiopia |
| fi | Finland |
| fj | Fiji |
| fk | Falkland Islands |
| fm | Micronesia |
| fo | Faroe Islands |
| fr | France |
| ga | Gabon |
| gb | United Kingdom |
| gd | Grenada |
| ge | Georgia |
| gf | French Guyana |
| gh | Ghana |
| gi | Gibraltar |
| gl | Greenland |
| gm | Gambia |
| gn | Guinea |
| gp | Guadeloupe. |
| gq | Equatorial Guinea |
| gr | Greece |
| gs | South Georgia and South Sandwich Islands |
| gt | Guatemala |
| gu | Guam |
| gw | Guinea-Bissau |
| gy | Guyana |
| hk | Hong Kong Special Administrative Region of China |
| hm | Hud and MacDonald Islands |
| hn | Honduras |
| hr | Croatia |
| ht | Haiti |
| hu | Hungary |
| id | Indonesia |
| ie | Ireland |
| il | Israel |
| in | India |
| io | British Indian Ocean Territory |
| iq | Iraq |
| ir | Iran |
| is | Iceland |
| it | Italy |
| jm | Jamaica |
| jo | Jordan |
| jp | Japan |
| ke | Kenya |
| kg | Kyrgyzstan |
| kh | Cambodia |
| ki | Kiribati |
| km | Comoros |
| kn | Saint Kitts and Nevis |
| kp | Korea |
| kr | Korea |
| kw | Kuwait |
| ky | Cayman Islands |
| kz | Kazakhstan |
| la | Lao |
| lb | Lebanon |
| lc | Saint Lucia |
| li | Liechtenstein |
| lk | Sri Lanka |
| lr | Liberia |
| ls | Lesotho |
| lt | Lithuania |
| lu | Luxembourg |
| lv | Latvia |
| ly | Libya |
| ma | Morocco |
| mc | Monaco |
| md | Moldova |
| mg | Madagascar |
| mh | Marshall Islands |
| mk | Northern Macedonia |
| ml | Mali |
| mm | Myanmar |
| mn | Mongolia |
| mo | Macao Special Administrative Region of China |
| mp | Northern Mariana Islands |
| mq | Martinique. |
| mr | Mauritania |
| ms | Montserrat |
| mt | Malta |
| mu | Mauritius |
| mv | Maldives |
| mw | Malawi |
| mx | Mexico |
| my | Malaysia |
| mz | Mozambique |
| na | Namibia |
| nc | New Caledonia |
| ne | Niger |
| nf | Norfolk Island |
| ng | Nigeria |
| ni | Nicaragua |
| nl | Netherlands |
| no | Norway |
| np | Nepal |
| nr | Nauru |
| nu | Niue |
| nz | New Zealand |
| om | Oman |
| pa | Panama |
| pe | Peru |
| pf | French Polynesia |
| pg | PNG |
| ph | Philippines |
| pk | Pakistan |
| pl | Poland |
| pm | St. Pierre and Miquelon Islands |
| pn | Pitcairn Islands |
| pr | Puerto Rico |
| ps | Palestinian Territory |
| pt | Portugal |
| pw | Palau |
| py | Paraguay |
| qa | Qatar |
| re | Reunion. |
| ro | Romania |
| rs | Serbia |
| ru | Russia |
| rw | Rwanda |
| sa | Saudi Arabia |
| sb | Solomon Islands |
| sc | Seychelles |
| sd | Sudan |
| se | Sweden |
| sg | Singapore |
| sh | Saint Helena |
| si | Slovenia |
| sj | Svalbard and Jan Mayen |
| sk | Slovakia |
| sl | Sierra Leone |
| sm | San Marino |
| sn | Senegal |
| so | Somalia |
| sr | Suriname |
| st | Sao Tome and Principe |
| sv | El Salvador |
| sy | Syria |
| sz | Swaziland |
| tc | Turks and Caicos Islands |
| td | Chad |
| tf | French Southern Territory |
| tg | Togo |
| th | Thailand |
| tj | Tajikistan |
| tk | Tokelau |
| tl | East Timor |
| tm | Turkmenistan |
| tn | Tunisia |
| to | Tonga |
| tr | Turkey |
| tt | Trinidad and Tobago |
| tv | Tuvalu |
| tw | Taiwan |
| tz | Tanzania |
| ua | Ukraine |
| ug | Uganda |
| um | Small islands outside the United States. |
| us | United States |
| uy | Uruguay |
| uz | Uzbekistan |
| va | Vatican |
| vc | Saint Vincent and the Grenadines |
| ve | Venezuela |
| vg | British Virgin Islands |
| vi | United States Virgin Islands |
| vn | Viet Nam |
| vu | Vanuatu |
| wf | Wallis and Futuna. |
| ws | Samoa |
| ye | Yemen |
| yt | Mayotte |
| za | South Africa |
| zm | Zambia |
| zw | Zimbabwe |
language(Select Fill):| Parameters | Name | Role |
|---|---|---|
| language | Result Page Language | The language used to set the search result page, using the corresponding language code. Default value is en. |
| value | name |
|---|---|
| ach | Acholi |
| af | Afrikaans |
| ak | Akan |
| am | Amharic |
| ar | Arabic |
| az | Azerbaijani |
| be | Belarusian |
| bem | Bemba |
| bg | Bulgarian |
| bh | Bojepur |
| bn | Bengali |
| br | Brittany |
| bs | Bosnian |
| ca | Catalan |
| chr | Cherokee |
| ckb | Chinese Kurdish |
| co | Corsica |
| crs | Creole, Seychelles |
| cs | Czech |
| cy | Welsh |
| da | Danish |
| de | German |
| ee | Ethiopian |
| el | Greek |
| en | English |
| eo | Universal languages |
| es | Spanish |
| es-419 | Latin American Spanish |
| et | Estonian |
| eu | Basque |
| fa | Persian |
| fi | Finnish |
| fo | Faro |
| fr | French |
| fy | Sifritian |
| ga | Irish |
| gaa | Bulgarian |
| gd | Scottish Gael |
| gl | Galicia |
| gn | Guaraní |
| gu | Gujarati |
| ha | Hausa |
| haw | Hawaiian |
| hi | Hindi |
| hr | Croatian |
| ht | Haitian Creole |
| hu | Hungarian |
| hy | Armenian |
| ia | International languages |
| id | Indonesian |
| ig | Ibo |
| is | Icelandic |
| it | Italian |
| iw | Hebrew |
| ja | Japanese |
| jw | Javan |
| ka | Georgian |
| kg | Congolese |
| kk | Kazakh |
| km | Khmer |
| kn | Canada |
| ko | Korean |
| kri | kri |
| ku | Kurdish |
| ky | Kyrgyz |
| la | Latin |
| lg | Luganda |
| ln | Lingala |
| lo | Lao |
| loz | Lozi |
| lt | Lithuanian |
| lua | Luba-Lula |
| lv | Latvian |
| mfe | Creole, Mauritius |
| mg | Malagasy |
| mi | Maori |
| mk | Macedonian |
| ml | Marayam |
| mn | Mongolian |
| mo | Romanian |
| mr | Marathi |
| ms | Malay |
| mt | Maltese |
| ne | Nepali |
| nl | Dutch |
| nn | Norwegian Ninosk |
| no | Norwegian |
| nso | North Soto |
| ny | Chichewa |
| nyn | Niankol |
| oc | Ork |
| om | Oromo |
| or | Oriya |
| pa | Punjabi |
| pcm | Pichin, Nigeria |
| pl | Polish |
| ps | Pashto |
| pt | Portuguese |
| pt-br | Brazilian Portuguese |
| pt-pt | Portuguese in Europe |
| qu | Quechua |
| rm | Romansh |
| rn | Lundi |
| ro | Romanian |
| ru | Russian |
| rw | Rwandan |
| sd | German |
| sh | Serbian (Latin)) |
| si | Sinhala |
| sk | Slovak |
| sl | Slovene |
| sn | Shona |
| so | Somali |
| sq | Albanian |
| sr | Serbian |
| sr-ME | Serbian (Montenegro)) |
| st | South Soto |
| su | It's in Chinese. |
| sv | Swedish |
| sw | Swahili |
| ta | Tamil |
| te | Telugu |
| tg | Tajik |
| th | Thai |
| ti | Tigrina |
| tk | Turkmen |
| tl | Filipino |
| tn | Tswana |
| to | Tongan |
| tr | Turkish |
| tt | Tatar |
| tum | Tombuka |
| tw | Akan |
| ug | Uighur |
| uk | Ukrainian |
| ur | Urdu |
| uz | Uzbek |
| vi | Vietnamese |
| wo | Wolof |
| xh | Cosa |
| xx-bork | Swedish cook language |
| xx-elmer | Elmer Ford |
| xx-hacker | Hacking |
| xx-klingon | Klingon |
| xx-pirate | Pirate language |
| yi | Yiddish |
| yo | Yoruba |
| zh-cn | Chinese (China)) |
| zh-tw | Chinese (Taiwan)) |
| zu | Zulu |
extract_content(Select Fill):| Parameters | Name | Role |
|---|---|---|
| extract_content | Extrat API | Sets whether or not to take more details of each information that contains URLs in the search. Selective values: false (no extraction), true (extraction). Default value is false. |
extract_options(Select Fill):extract_content is set to true.| Parameters | Name | parent parameters | Role |
|---|---|---|---|
| extract_options | Content extraction settings | extract_content | Parameters used to configure the extraction of details content. The parameter type is object, and it is only valid when extract_content is true. |
formats(Select Fill):| Parameters | Name | parent parameters | Role |
|---|---|---|---|
| formats | Results Format | extract_content | Output format for setting the body of the web page. Optional values: markdown、raw_html、clean_html、links. Default value is markdown. |
include_tags(Select Fill):| Parameters | Name | parent parameters | Role |
|---|---|---|---|
| include_tags | Keep the labels | extract_content | Used to specify that only content corresponding to a specified HTML tag or CSS Selector should be retained during data collection. Maximum of 50 entries, each with a maximum length of 2048 UTF-8 bytes. For example: ["data-testid=qsp-price1","data-testid=qsp-price2"]. |
exclude_tags(Select Fill):| Parameters | Name | parent parameters | Role |
|---|---|---|---|
| exclude_tags | Exclude labels | extract_content | This is used to specify the HTML tags or CSS selectors to be removed during data collection. A maximum of 50 entries are allowed, each with a maximum length of 2048 UTF-8 bytes. For example: ["data-testid=qsp-price1","data-testid=qsp-price2"]. |
only_main_content(Select Fill):| Parameters | Name | parent parameters | Role |
|---|---|---|---|
| only_main_content | Whether to keep the subject only | extract_content | This setting determines whether to remove navigation, footer, and template content. true means only the cleaned main text is retained; false means more cleaned content is retained. The default value is true. |
advanced_mode(Select Fill):| Parameters | Name | parent parameters | Role |
|---|---|---|---|
| advanced_mode | Collection Strategy | extract_content | This setting configures the webpage scraping method. false indicates using HTTP scraping without rendering; true enables an automatic unlocking strategy, sequentially attempting scraping without rendering, scraping with browser rendering, and scraping with browser rendering combined with a webpage unlocker, only proceeding to the next level after the previous level fails. Different scraping methods have different costs; please refer to the pricing details. The default value is true. |
timeout_ms(Select Fill):| Parameters | Name | parent parameters | Role |
|---|---|---|---|
| timeout_ms | Page Request Limit | extract_content | Maximum time to limit single text page acquisition, rendering and extracting, in milliseconds. Value range 1000-120000. Default value 60000. |
wait_for_ms(Select Fill):| Parameters | Name | parent parameters | Role |
|---|---|---|---|
| wait_for_ms | Page Load Limit | extract_content | This setting determines the system loading time in milliseconds when collecting content pages. The value range is 0 to 30000. The default value is 0. When passed together with timeout_ms, wait_for_ms must not exceed half of timeout_ms. |
max_age_ms(Select Fill):| Parameters | Name | parent parameters | Role |
|---|---|---|---|
| max_age_ms | Page Cache Limit | extract_content | This setting determines the maximum acceptable cache duration when collecting content pages, in milliseconds. The value range is 0 to 172,800,000 (2 days); setting it to 0 forces a cache pull from the origin server. Default values are not specified in the original parameter table. |