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.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
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.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
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
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
urlstringPage URL.
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
[
{
"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"
}
]Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
DataForSEO | Từ $0.00015 mỗi lần gọi | JSON |
DataForSEO | Từ $0.0102 mỗi lần gọi | JSON |
DataForSEO | Từ $0.000724 mỗi lần gọi | JSON |
DataForSEO | $0.004 mỗi lần gọi | JSON |
DataForSEO | Từ $0.00162 mỗi lần gọi | JSON |
DataForSEO | Từ $0.001105 mỗi lần gọi | JSON |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/dataforseo/v3/on_page/content_parsing/live với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
Từ $0.00015 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
Không có tham số bắt buộc. Tùy chọn: url (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ).
Không. DataForSEO OnPage Content Parsing chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của DataForSEO.