POST https://api.acedata.cloud/webextrator/extract
Извлечение контента на основе /webextrator/render. Помимо всех параметров интерфейса render, дополнительно поддерживаются:
Синхронный ответ
/webextrator/render.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
WebExtrator Web Render & Extract 集成指南 - Ace Data Cloud
POST https://api.acedata.cloud/webextrator/extract
Извлечение контента на основе /webextrator/render. Помимо всех параметров интерфейса render, дополнительно поддерживаются:
| Поле | Тип | Обязательно | По умолчанию | Описание |
|---|---|---|---|---|
expected_type | string | ❌ | markdown | Ожидаемый тип извлечённого результата: markdown / article / text / links / structured |
enable_llm | boolean | ❌ | false | Включить постобработку с помощью LLM (подходит для article / structured) |
instruction | string | ❌ | - | Инструкция для LLM по извлечению, например «извлечь название товара, цену, характеристики» |
{
"success": true,
"task_id": "550e8400-...",
"trace_id": "550e8400-...",
"started_at": "2026-05-02T10:30:00.123Z",
"finished_at": "2026-05-02T10:30:08.789Z",
"elapsed": 8.666,
"data": {
"kind": "extract",
"expected_type": "article",
"url": "https://example.com/post/1",
"title": "Пример статьи",
"author": "Чжан Сан",
"published_at": "2026-05-01",
"content": "# Пример статьи\n\nОсновной текст ...",
"summary": "В этой статье рассказывается ..."
}
}
/webextrator/render.
curl -X POST https://api.acedata.cloud/webextrator/extract \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com/news/1",
"expected_type": "article",
"enable_llm": true
}'
curl -X POST https://api.acedata.cloud/webextrator/extract \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://shop.example.com/item/123",
"expected_type": "structured",
"enable_llm": true,
"instruction": "извлечь название товара, цену, наличие, URL трёх основных изображений",
"callback_url": "https://your-domain.com/wbx-callback"
}'
Была ли эта страница полезной?
