urlstring
Page URL.
https://api.sandbase.ai/v1/api/dataforseo/v3/on_page/content_parsing/liveParses and returns structured on-page content directly from a specified webpage URL. Inspect page elements, headings, text blocks, and page layout details for SEO analysis.
您的输出将显示在这里
完成输入,然后点击运行。
Parses structured content elements directly from a target webpage. Useful for auditing on-page text, headings, and structure.
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/on_page/content_parsing/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://www.python.org/"}'
The JSON body is forwarded to the upstream endpoint (one task per call). Fields used above:
| Name | Description |
|---|---|
url | Page URL. |
Billed at the actual cost of each call, about $0.00015 for the request above. The cost grows with the number of rows, targets or pages a call returns. Failed calls are not charged. Searches with no results are billed at their actual cost.
开始构建
具备统一身份验证和使用情况跟踪的平台 API 端点。
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/on_page/content_parsing/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://static.sandbase.ai/examples/dc72bbe8-ff8a-43f6-a42a-a3161c329d91/input/fad85338-69fb-47a8-b4aa-2440d6455215.bin",
"disable_cookie_popup": true,
"enable_javascript": true,
"markdown_view": true
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
urlstringPage URL.
这是该 API 保存的示例响应;查看时不会发起实时请求。
[
{
"cost": 0.0015,
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"cost": 0.0015,
"data": {
"api": "on_page",
"disable_cookie_popup": true,
"enable_javascript": true,
"function": "content_parsing",
"markdown_view": true,
"url": "https://sandbase.ai/"
},
"id": "08090626-2190-0495-0000-40fdd89e139f",
"path": [
"v3",
"on_page",
"content_parsing",
"… 1 more items in the full response"
],
"result": [
{
"crawl_progress": "finished",
"crawl_status": null,
"items": [
{
"fetch_time": "2026-08-09 06:26:25 +00:00",
"page_as_markdown": "# Connect your Agent\nto the real world.\n## Use in your local AI tools\n\n[Use in your local AI tools](https://www.sandbase.ai/)\n\n[Pick useful capabilities from SandBase, run setup once, and use them in Codex, Claude, Cursor, or Kiro.](https://www.sandbase.ai/)\n## Call an API\n\n[Call an API](https://www.sandbase.ai/apis)\n\n[Copy a working request for a Model, search, scraping, data, or SaaS API.](https://www.sandbase.ai/apis)\n## Build an Agent\n\n[Build an Agent](https://www.sandbase.ai/)\n\n[Define the job, give it tools, test it, then publish or schedule it.](https://www.sandbase.ai/)\n\nFind capabilit…",
"page_content": {
"comments": null,
"contacts": null,
"footer": {
"primary_content": [
{
"text": "Build your Agent, give it real-world tools, and run it inside your AI app, product, or schedule.",
"url": null,
"urls": null
},
{
"text": "© 2026 SandBase. Built for agent builders.",
"url": null,
"urls": null
}
],
"secondary_content": [
{
"text": "How it works",
"url": "https://www.sandbase.ai/",
"urls": [
"…"
]
},
{
"text": "Get Started",
"url": "https://www.sandbase.ai/console/setup",
"urls": [
"…"
]
},
{
"text": "Build Agent",
"url": "https://www.sandbase.ai/console/agents",
"urls": [
"…"
]
},
"… 1 more items in the full response"
],
"table_content": null
},
"header": {
"primary_content": [
{
"text": "Agent-native delivery platform for builders and FDEs",
"url": null,
"urls": null
}
],
"secondary_content": null,
"table_content": null
},
"main_topic": [
{
"author": "SandBase",
"h_title": "Connect your Agent\nto the real world.",
"language": "en",
"level": 1,
"main_title": "Connect your Agent\nto the real world.",
"primary_content": [
{
"text": "Find capabilities. Build workflows. Deliver real work.",
"url": null,
"urls": null
},
{
"text": "Three ways to use SandBase",
"url": null,
"urls": null
},
{
"text": "Use it in your local AI tools, call it from your app, or build a reusable Agent.",
"url": null,
"urls": null
}
],
"secondary_content": [
{
"text": "A deliverable workflow",
"url": null,
"urls": null
},
{
"text": "Build Agent",
"url": null,
"urls": null
},
{
"text": "Why SandBase",
"url": null,
"urls": null
}
],
"table_content": null
},
{
"author": "SandBase",
"h_title": "Use SandBase inside your AI tool.",
"language": "en",
"level": 2,
"main_title": "Connect your Agent\nto the real world.",
"primary_content": [
{
"text": "Choose the Models, APIs, and Agents you need. Setup makes them available in the local AI tools you already use.",
"url": null,
"urls": null
}
],
"secondary_content": null,
"table_content": null
},
{
"author": "SandBase",
"h_title": "Build your Agent before you connect it.",
"language": "en",
"level": 2,
"main_title": "Connect your Agent\nto the real world.",
"primary_content": [
{
"text": "Define the job, give it the right capabilities, and see the result before delivery.",
"url": null,
"urls": null
}
],
"secondary_content": null,
"table_content": null
},
"… 3 more items in the full response"
],
"offers": [
{
"name": null,
"price": 0,
"price_currency": "USD",
"price_valid_until": null
},
{
"name": null,
"price": 0,
"price_currency": "USD",
"price_valid_until": null
}
],
"ratings": null,
"secondary_topic": [
{
"author": "SandBase",
"h_title": "Use in your local AI tools",
"language": "en",
"level": 2,
"main_title": "Connect your Agent\nto the real world.",
"primary_content": null,
"secondary_content": [
{
"text": "Use in your local AI tools",
"url": "https://www.sandbase.ai/",
"urls": "… 1 items in the full response"
},
{
"text": "Pick useful capabilities from SandBase, run setup once, and use them in Codex, Claude, Cursor, or Kiro.",
"url": "https://www.sandbase.ai/",
"urls": "… 1 items in the full response"
}
],
"table_content": null
},
{
"author": "SandBase",
"h_title": "Call an API",
"language": "en",
"level": 2,
"main_title": "Connect your Agent\nto the real world.",
"primary_content": null,
"secondary_content": [
{
"text": "Call an API",
"url": "https://www.sandbase.ai/apis",
"urls": "… 1 items in the full response"
},
{
"text": "Copy a working request for a Model, search, scraping, data, or SaaS API.",
"url": "https://www.sandbase.ai/apis",
"urls": "… 1 items in the full response"
}
],
"table_content": null
},
{
"author": "SandBase",
"h_title": "Build an Agent",
"language": "en",
"level": 2,
"main_title": "Connect your Agent\nto the real world.",
"primary_content": null,
"secondary_content": [
{
"text": "Build an Agent",
"url": "https://www.sandbase.ai/",
"urls": "… 1 items in the full response"
},
{
"text": "Define the job, give it tools, test it, then publish or schedule it.",
"url": "https://www.sandbase.ai/",
"urls": "… 1 items in the full response"
}
],
"table_content": null
},
"… 4 more items in the full response"
]
},
"status_code": 200,
"type": "content_parsing_element"
}
],
"items_count": 1
}
],
"result_count": 1,
"status_code": 20000,
"status_message": "Ok.",
"time": "7.4235 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "7.4969 sec.",
"version": "0.1.20260806"
}
]探索更多
| API | 价格 | 响应 |
|---|---|---|
DataForSEO | 每次调用从 $0.00015 起 | JSON |
DataForSEO | 每次调用从 $0.0102 起 | JSON |
DataForSEO | 每次调用从 $0.000724 起 | JSON |
DataForSEO | $0.004 每次调用 | JSON |
DataForSEO | 每次调用从 $0.00162 起 | JSON |
DataForSEO | 每次调用从 $0.001105 起 | JSON |
问题
向 https://api.sandbase.ai/v1/api/dataforseo/v3/on_page/content_parsing/live 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
起价每次调用 $0.00015,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
无需参数。 可选:url (string)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。
不需要。DataForSEO OnPage Content Parsing 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 DataForSEO API 访问权限。