Web Scraping Скрапинг страницы API
Скрапит любую веб-страницу и возвращает её основное содержимое в виде чистого Markdown вместе с заголовком и метаданными.
0,70 USD/1 тыс. запросов, оплата за запрос, без подписки.
Introducing Example 2.0
Everything new in the biggest Example release yet.
Today we are shipping the biggest release in our history…
{"url": "https://www.example.com/blog/launch","title": "Introducing Example 2.0","description": "Everything new in the biggest Example release yet.","markdown": "# Introducing Example 2.0\n\nToday we are shipping the biggest release in our history…","html": string,"language": string,"rawHtml": string,"statusCode": integer}
Маршрутизатор скрапинга
Мы отправляем каждую страницу самому дешёвому скраперу, который действительно может её получить.
- Самый дешёвый скраперС него начинается каждая страница
- Следующий скраперТолько если страница блокирует предыдущий
- Полноценный браузерТолько для самых сложных страниц
Цена за 1000 страниц
- AnyAPI98/1001,05 USD
Firecrawl90/1003,97 USDтариф Hobby
Bright Data81/1001,50 USD
Jina Reader55/1000,73 USDCloudflare Browser Rendering48/100не более 0,10 USD+ тариф 5 USD/мес.
Страниц: 100, по одной попытке, замер 1 окт. 2026 г.Посмотреть все страницы →
Цены и поставщики
Цена API Web Scraping Скрапинг страницы: один API, поставщиков 5, и любой может заменить другого
Первым обслуживает самый дешёвый поставщик. Если он не отвечает, его заменяет следующий в том же вызове.
Заблокировано это доля вызовов, где сам сайт отказал в странице. В доступность это не засчитывается. Каждый следующий поставщик видит только страницы, на которых сбойнули предыдущие, а это более сложные сайты, поэтому эти цифры не годятся для прямого сравнения.
Попробовать
Получите Web Scraping Скрапинг страницы одним запросом
В этом примере показано полей: 6 из 11. Все поля
{
"found": true,
"data": {
"url": "https://www.example.com/blog/launch",
"title": "Introducing Example 2.0",
"description": "Everything new in the biggest Example release yet.",
"markdown": "# Introducing Example 2.0\n\nToday we are shipping the biggest release in our history…"
}
}Полный справочник по параметрам и ответу: каждое поле, тип и пример для этого эндпоинта.
Справочник
Один запрос, один формат ответа.
Каждое поле, которое вы отправляете, и каждое поле, которое получаете, с реальным примером.
Проверено 2026-11-21 · доступность и задержка измерены за 30d
Тело запроса
JSON, отправляется на этот эндпоинт.
- urlstring
https://www.example.com/blog/launch
The full web address of the page to scrape, including its domain, for example https://example.com. The https:// prefix is optional.
- blockAdsboolean
Если true (по умолчанию у источника), перед снимком убирает рекламу и элементы согласия на cookie. Передайте false, чтобы оставить их.
- excludeTagsarray
CSS-селекторы для удаления перед захватом (например ["nav", "footer", ".ads"]). Применяется после includeTags.
- formatsarray
Какие представления страницы вернуть. Любая комбинация из: markdown (содержимое страницы в виде Markdown), html (HTML страницы ровно в том виде, в каком его получил браузер, включая теги head и script). Каждый запрошенный формат возвращается в соответствующем выходном поле. По умолчанию оба. rawHtml это устаревший псевдоним html, возвращается в поле rawHtml для вызывающих, которые появились до переименования; отправляйте вместо него html.
- includeTagsarray
CSS-селекторы для сохранения. Если задано, захватывается только содержимое, подходящее под эти селекторы (например ["article", "main"] или ["#content"]).
- mobileboolean
Если true, страница рендерится с мобильным viewport и user agent вместо десктопных. Некоторые сайты отдают мобильным устройствам заметно другое содержимое.
- onlyMainContentboolean
Если true, возвращает только основное содержимое статьи, убирая навигацию, шапки, подвалы и прочий шаблонный текст. По умолчанию false, чтобы захватить страницу целиком.
- requireFieldsarray
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `statusCode`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a record that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. A source that reports a field only in some cases, such as only when the website answered with an error, does not count as returning it.
- waitForinteger
Milliseconds to wait for the page to finish rendering before capture. Use this for JavaScript-heavy pages or single-page apps whose content loads after the initial paint. Capped at 15000 to stay within the request timeout. This wait is time you asked us to spend, so your response takes this much longer, and it is excluded from the latency published for this endpoint. If every provider that can wait fails, the page may still be returned, captured without the wait.
Ответ
JSON, по одному примеру значения на поле.
- descriptionstring
Everything new in the biggest Example release yet.
The page meta description.
- htmlstring
The page HTML exactly as the browser received it, head and script tags included. Present when 'html' is among the requested formats (the default).
- languagestring
Two-letter language code the page declares (its html lang attribute or the equivalent metadata).
- markdownstring
# Introducing Example 2.0 Today we are shipping the biggest release in our history…
The page content as clean Markdown. Present when 'markdown' is among the requested formats (the default). Populated whenever the provider has data for the entity.
- rawHtmlstring
The same bytes as 'html'. Deprecated alias returned only when 'rawHtml' is among the requested formats; use 'html'.
- statusCodeintegerможет потребовать
HTTP status code the website answered with, such as 200, 404 or 500. Absent when it could not be determined. Some sources report it only when the website answered with an error; name `statusCode` in requireFields to be served only by a source that always reports it.
- titlestring
Introducing Example 2.0
The page title from its metadata.
- urlstring
https://www.example.com/blog/launch
The canonical source URL of the scraped page. Populated whenever the provider has data for the entity.
- foundboolean
true
- reason"not_found"
Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
Вопросы и ответы
Об API Web Scraping Скрапинг страницы
AnyAPI Web Scraping Скрапинг страницы API возвращает данные Web Scraping в виде нормализованного JSON одним вызовом POST к /v1/run/web.scrape. Скрапит любую веб-страницу и возвращает её основное содержимое в виде чистого Markdown вместе с заголовком и метаданными. AnyAPI направляет каждый запрос по источникам (их 5) и автоматически переключается, если один из них отказывает. Это стоит от 0,70 USD за 1000 запросов, в долларах США, без подписки и без ежемесячного минимума. За последние 30 дней 99,6% вызовов Web Scraping Скрапинг страницы через AnyAPI завершились успешно, медианное время ответа 2,5 с, измерено вызовов: 598 692.