1. Web API
Dataify
English
  • 中文
  • English
  • Introduction
    • Overview
    • Support
  • Data Services
    • Getting Started Guide
    • MCP Setup Guide
    • Dataify cloud delivery tutorial
    • Web Scraper API
      • Introduction
      • Quick Start Guide
      • Send Your First Request
      • API Request Builder
      • Request Parameter Reference
        • Amazon Parameters
        • EBay Parameters
        • Walmart Parameters
    • Video Scraper API
      • Introduction
      • Quick Start Guide
      • Send Your First Request
      • API Request Builder
      • Request Parameter
    • SERP API
      • Overview
      • Quick Start Guide
      • Send your first request
      • Billing Information
      • FAQ
      • Status Code
      • Request Parameter Reference
        • Google
          • Google Search
          • Google Light
          • Google AI Mode
          • Google Map
          • Google Scholar
          • Google News
          • Google Lens
          • Google Jobs
          • Google Videos
          • Google Local
          • Google Trends
          • Google finance
          • Google Flight
          • Google Hotel
          • Google Images
          • Google Patent
          • Google Shopping
          • Google Play
        • Bing
          • Bing Search
          • Bing Map
          • Bing News
          • Bing Videos
          • Bing Images
          • Bing Shopping
        • DuckDuckGo
          • DuckDuckGo
        • Yandex
          • Yandex
      • Response Field Reference
        • Google
          • Google Search
          • Google AI Mode
          • Google Images
          • Google Shopping
          • Google videos
          • Google news
          • Google Map
          • Google Lens
          • Google Flight
          • Google Scholar
          • Google Hotel
          • Google Jobs
          • Google Trends
          • Google Local
          • Google Play
          • Google Finance
        • Bing
          • Bing search
          • Bing Map
          • Bing Shopping
          • Bing Video
          • Bing Images
          • Bing News
        • Yandex
          • Yandex
    • Web API
      • Overview
      • Quick Start
      • Billing Information
      • Send Your First Request
        • Search API
        • Extract API
        • Map API
      • Parameter Reference
        • Search API
        • Export API
        • Map API
        • Response code
    • Web Unlocker API
      • Overview
      • Quick Start
      • Send Your First Request
      • Parameter Reference
      • Billing Information
      • Response code
    • FAQ
      • Frequently Asked Questions
  • Network Infrastructure
    • Dynamic Network Services
      • Dynamic Residential Network
        • Introduction
        • Quick Start
          • Account and Password Authentication
          • Whitelist
          • List of countries/regions
      • High bandwidth network
        • Introduction
        • Quick Start
          • Account Verification
          • Whitelist
    • Static Network Services
      • Static ISP Network
        • Introduction
        • Quick Start
      • Static Data Center
        • Introduction
        • Quick Start
  • Public API
    • Overview
    • Get Token
    • Account
      • Query Credit Balance
      • Query Traffic Balance
      • Query Traffic Usage Records
    • Geolocation
      • Get Country Lists
      • Get State Lists
      • Get City Lists
      • Get ASN Lists
    • Network Service Users
      • Update user information
      • Delete user
      • Daily Traffic Usage Records
      • Hourly Traffic Usage Records
    • Whitelist
      • Query whitelist list
      • Add to Whitelist
      • Remove from Whitelist
    • ISP / Datacenter Proxies
      • Get a list of network nodes
      • Query network nodes expired
    • Dynamic High Bandwidth
      • Get a list of dynamic high-bandwidth servers
      • Restart dynamic high-bandwidth server
      • Renewal for Dynamic High-Bandwidth Servers
      • Dynamic High-Bandwidth Upgrade
      • Whitelist for High-Bandwidth Server Sub-accounts
      • Add sub-accounts to the high-bandwidth server whitelist
      • Remove the sub-account from the high-bandwidth server whitelist.
    • Web Scraper API
      • Usage Statistics
      • Task API
        • Create Task Instructions
        • Task Execution Status Description
        • Task List Retrieval Instructions
        • Task Download Instructions
        • Get Latest Task Instructions
    • SERP API
      • Interface Information
      • Task API
        • Google search API
        • Bing Search API
        • Duckduckgo search API
        • Yandex search API
    • Web API
      • Search API
      • Extract API
      • Map API
    • Web Unlocker API
      • Get Task Interface API
      • Using the statistics API
  • Integrations
    • AdsPower
    • BitBrowser
    • ClonBrowser
    • Hubstudio
    • Puppeteer
    • Playwright
    • Selenium
    • Chrome
  • FAQ
    • Payment Issues
    • Data Services
    • Network Infrastructure
  • SDK
    • Go SDK Guide
    • JavaScript SDK Guide
    • Python SDK Guide
    • TypeScript SDK Guide
  • CLI
    • Overview
    • Installation
    • Commands
    • Usage Examples
    • FAQ
  • MCP Server
    • Overview
    • Tools
    • Usage Examples
    • Output Format
    • FAQ
    • Agent Setup
      • Codex
      • Claude Code
      • Claude Desktop
      • Cursor
      • VS Code / GitHub Copilot
      • Windsurf / Devin Local
      • Cline
      • Google Antigravity
      • Gemini CLI
      • OpenClaw
      • CodeBuddy
      • WorkBuddy
      • Alibaba Qoder / Qoder CN
      • Alibaba Qwen Code
      • Moonshot AI Kimi Code
      • ByteDance Trae
      • ByteDance Coze
    • Remote Mode
      • Quick Start
      • Advanced
  • SKILLS
    • Guide
    • Agent Setup
      • WorkBuddy
  1. Web API

Search API

Basic information

Interface description: Create a Search API collection task via the API to obtain real-time web page search results, and collect the corresponding web page text as needed.

Request address: https://aiwebapi.dataify.com/search

Request method: POST

Request format: application/json or application/x-www-form-urlencoded

Request parameters

Headers:

Parameter NameParameter TypeRequiredDescription
AuthorizationstringYesFixed format: Authorization: Bearer <Your YOUR_API_TOKEN>. Your_API_TOKEN can be obtained in Dashboard → Settings → Token Management. Custom Token request headers are not supported.

Body:

Parameter NameParameter TypeRequiredDescription
unique_idstringYesUsed to specify the tool to use, fixed parameters: search_web(Search API), search_news(News Search), search_shopping(Shopping Search), search_scholar(Scholar Search)
querystringYesThe search terms used for querying should be 1 to 256 characters long after removing leading and trailing spaces. Additionally, (1) search terms are in keyword form and natural language decomposition queries are not currently supported. (2) When source=web, keyword restriction is supported; the input format is: site:domain keyword
sourceenumNoType used to set the results collected. Optional value: web, news, shopping, scholar, Default value is web.
max_resultsintegerNoSets the maximum number of search results to return, ranging from 1 to 100, the default value is 10.
time_rangeenumNoTime frame for setting search results. Optional Value: hour(Last 1 hour), day(The past 24 hours), week(Last 1 week), month(Last month), year(Over the past 1 year. Not passing a value indicates that there is no time limit.shopping and scholar Type does not support this parameter.
countrystringNoUsed to set the country or region for search results, using a two-letter lowercase country code. The default value is us. This parameter is not supported by the scholar type.
languagestringNoThe interface language used to set search results, the default value is en.
extract_contentbooleanNoUsed to set whether to further collect the webpage content corresponding to each URL in the search results. Possible values: false, true; default value is false.
extract_optionsobjectNoUsed to configure parameters for webpage content collection. This parameter can only be passed if extract_content is true.
extract_options.formatsarray of stringNoOutput format for setting the main text of the web page. Optional Value: markdown, raw_html, clean_html, links, Default value is markdown.
extract_options.include_tagsarray of stringNoUsed 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"].
extract_options.exclude_tagsarray of stringNoThis 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"].
extract_options.only_main_contentbooleanNoThis setting determines whether to retain only the cleaned main content. true means retaining only the cleaned main content; false means retaining more of the cleaned page content. The default value is true.
extract_options.advanced_modebooleanNoThis 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.
extract_options.timeout_msintegerNoThe maximum processing time used to set the body of a single web page to be collected, covering the acquisition, rendering and extraction process, in milliseconds. range 1000~120000, Default value is 60000.
extract_options.wait_for_msintegerNoThis 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.
extract_options.max_age_msintegerNoThis 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.

Response Example

{
    "markdown": "# News"
}

Response parameters

Parameter NameParameter TypeDescription
titlestringTitle of the search result.
urlstringThe URL address corresponding to the search results.
snippetstringSummary of Search Results.
datestringThe date of the news article corresponding to the search results.
extractobjectThe webpage content and page information corresponding to the search result URL.
修改于 2026-11-20 09:02:38
上一页
Yandex search API
下一页
Extract API
Built with