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

Extract API

Basic information

Interface description: Get the main text of the specified URL and page information by creating Extrac API collection task.

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

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: extract
urlstringYesTarget URL address to collect.
formatsarray of stringNoOutput format for setting the body of the web page. Optional values: markdown、raw_html、clean_html、links. Default value is markdown.
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.
countrystringNoFor setting up the country or area for collecting requests, use two uppercase ISO country codes.
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"].
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"].
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.
headersobjectNoThis 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_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.
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.
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": "# Article",
    "raw_html": "<main>Article</main>",
    "clean_html": "<main>Article</main>",
    "links": [
      "https://example.com/about"
    ]
}

Response parameters

Parameter NameParameter TypeDescription
markdownstringThe body of the page in Markdown format. Returns only if formats contains markdown; may be null if generation fails or no content is available.
raw_htmlstringThe original HTML of the page. Returns only if formats contains raw_html; may be null if generation fails or no content is available.
clean_htmlstringThe cleaned HTML of the page. Returns only if formats contains clean_html; may be null if generation fails or no content is available.
linksarray of stringThe absolute HTTP(S) links extracted from the page. Returns only if formats contains links; may be an empty array if no links are found.
修改于 2026-11-20 09:03:42
上一页
Search API
下一页
Map API
Built with