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 |
url(Required):| Parameters | Name | Role |
|---|---|---|
| url | URL | Used to specify the target webpage link from which content needs to be extracted. |
formats(Select Fill):| Parameters | Name | Role |
|---|---|---|
| formats | Results Format | Output format for setting the body of the web page. Optional values: markdown、raw_html、clean_html、links. Default value is markdown. |
advanced_mode(Select Fill):| Parameters | Name | Role |
|---|---|---|
| advanced_mode | Collection Policy | 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. |
country(Select Fill):| Parameters | Name | Role |
|---|---|---|
| country | Source countries | Use two uppercase ISO country codes for setting up the country or area to which the request for collection is directed, e. g. US (United States), BR (Brazil), RU (Russian). Default value is US. |
BR: BrazilRU: RussiaUS: United StatesPK: PakistanMX: MexicoCO: ColombiaPH: PhilippinesVE: VenezuelaFR: FranceMY: MalaysiaCL: ChileTH: ThailandEC: EcuadorGB: United KingdomNG: NigeriaTN: TunisiaDZ: AlgeriaKZ: KazakhstanUY: UruguayPY: ParaguayEG: EgyptOM: OmanAZ: AzerbaijanDO: DominicaKW: KuwaitSY: SyriaPT: PortugalBF: Burkina FasoNL: NetherlandsCI: Côte d ' IvoireNP: NepalCR: Costa RicaIR: IranAO: AngolaKR: KoreaBE: BelgiumJM: JamaicaUG: UgandaHN: HondurasCD: Democratic Republic of the Congo)SG: SingaporeKG: KyrgyzstanJP: JapanGE: GeorgiaZM: ZambiaAM: ArmeniaNI: NicaraguaGT: GuatemalaMD: MoldovaZW: ZimbabweIN: IndiaAR: ArgentinaVN: Viet NamMA: MoroccoZA: South AfricaSA: Saudi ArabiaID: IndonesiaTR: TurkeyBD: BangladeshES: SpainIQ: IraqUA: UkraineCA: CanadaAE: United Arab EmiratesPE: PeruIT: ItalyDE: GermanyJO: JordanKE: KenyaBO: BoliviaHK: Hong KongIL: IsraelPS: PalestineBY: BelarusUZ: UzbekistanTW: TaiwanET: EthiopiaGH: GhanaSN: SenegalPA: PanamaPL: PolandLB: LebanonTZ: TanzaniaAU: AustraliaBH: BahrainTG: TogoAL: AlbaniaQA: QatarMM: MyanmarIE: IrelandKH: CambodiaRS: SerbiaBG: BulgariaCG: Congo (Bou))LY: LibyaCM: CameroonBJ: BeninGR: GreeceSV: El SalvadorBA: Bosnia and Herzegovinainclude_tags(Select Fill):| Parameters | Name | Role |
|---|---|---|
| include_tags | Keep Tabs | 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 | Role |
|---|---|---|
| exclude_tags | Exclude Tabs | 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 | Role |
|---|---|---|
| only_main_content | Whether to keep the subject only | 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. |
headers(Select Fill):| Parameters | Name | Role |
|---|---|---|
| headers | Request Header | This is used to set the HTTP request header information for the target website to collect data, and is configured in key-value pair format. It must not contain Host or hop-by-hop headers. |
timeout_ms(Select Fill):| Parameters | Name | Role |
|---|---|---|
| timeout_ms | Page Request Limit | 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 | Role |
|---|---|---|
| wait_for_ms | Page Load Limit | 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 | Role |
|---|---|---|
| max_age_ms | Page Cache Limit | 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. |