API para Web Scraping

API para Web Scraping: Rastrear site

Rastreie um site e receba o conteúdo em texto limpo de até 10 páginas em uma única resposta normalizada, ideal para alimentar LLMs e índices de busca com sites.

US$ 1,25/mil resultados, pague por requisição, sem assinatura.

Example
example.com

Example - Build something great

Example is the platform teams use to ship faster…

Get startedView docs
1
2
3
O que a API retornouitems[0]
{
"url": "https://www.example.com",
"title": "Example - Build something great",
"text": "Example is the platform teams use to ship faster…",
"author": string | null,
"canonicalUrl": string | null,
"contentType": string | null,
"description": string,
"domain": string,
... 9 campos a mais
}
Disponibilidade
95,53%
30d · 1.208 chamadas
Requisições
1.215
30d · semanal, últimas 12 sem.
Resposta
10,4s
mediana · 30d

Preços e provedores

Preços do endpoint Rastrear site da API para Web Scraping: uma API, 3 provedores intercambiáveis

O provedor mais barato atende primeiro. Se ele falhar, o próximo assume na mesma chamada.

Você paga
US$ 12,50
US$ 1,25/mil resultados, só pelo que você usar. Sem plano mensal.
Uma requisição custa no máximo US$ 0,0125 (10 results).
O saldo inicial de US$ 0,10 cobre pelo menos 8 requisições.

Teste

Obtenha Rastrear site do Web Scraping em uma só requisição

requireFieldsarray
Optional; omit it and routing is unchanged. Name the output fields this request must be able to return, for example `language`, 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. Every source charges the same per page, so this never changes your price. A named field can still be empty on a page that genuinely lacks it.
Abrir em
Obter chave grátis
Resposta de exemplo
Execuções grátis retornam só os primeiros 3 resultados. Recarregue uma chave para receber a resposta completa.

Este exemplo mostra 6 de 31 campos. Ver todos os campos

{
  "found": true,
  "data": {
    "items": [
      {
        "url": "https://www.example.com",
        "title": "Example - Build something great",
        "text": "Example is the platform teams use to ship faster…"
      },
      {
        "url": "https://www.example.com/pricing",
        "title": "Pricing - Example",
        "text": "Simple plans for teams of every size…"
      }
    ]
  }
}

Referência completa de parâmetros e resposta - todos os campos, tipos e exemplos deste endpoint.

Referência

Uma requisição, um formato de resposta.

Cada campo que você envia e cada campo que você recebe, cada um com um exemplo real.

Última verificação em 2026-11-14 · disponibilidade e latência medidas em 30d

Corpo da requisição

JSON, enviado via POST para este endpoint.

  • urlstring

    https://www.example.com

    The website URL or domain to crawl. Pages linked from it on the same site are crawled too.

  • limitinteger

    Maximum number of pages to crawl and return (1-10, default 10). You are billed per page returned, so a lower limit costs less.

  • requireFieldsarray

    Optional; omit it and routing is unchanged. Name the output fields this request must be able to return, for example `language`, 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. Every source charges the same per page, so this never changes your price. A named field can still be empty on a page that genuinely lacks it.

Você envia. Um corpo JSON pequeno. Os valores mostrados são exemplos para você trocar pelos seus.

Resposta

JSON, um valor de exemplo por campo.

each issuedata.issues[]

Pages the crawl reported as failed or skipped. They are never in items and never billed. The list holds what the crawl reported, not every page of the site.

  • outcome"failed" | "robots_disallowed" | "skipped"

    failed: the page could not be fetched or answered with an HTTP error. robots_disallowed: the site's robots.txt does not allow crawling it. skipped: the crawl did not fetch it, for example because it is outside the crawled site.

  • statusCodeinteger

    The HTTP status code the page answered with, or null when unknown.

  • urlstring

    The page's URL.

each itemdata.items[]

One record per crawled page: its URL and domain, page title, meta description, language, HTTP status, the page content as Markdown text, and the page metadata the source reports. You are billed for these pages only. Populated whenever the provider has data for the entity.

  • authorstringpode ser exigido

    The author the page declares, or null when unknown.

  • canonicalUrlstringpode ser exigido

    The canonical URL the page declares in its own markup, or null when it declares none or the source does not report it.

  • contentTypestringpode ser exigido

    The content type the page was served with (for example text/html;charset=utf-8), or null when unknown.

  • descriptionstring

    The page's meta description, empty when the page has none.

  • domainstring

    The page's host name, without a leading www. Populated whenever the provider has data for the entity.

  • jsonLdany[]pode ser exigido

    The JSON-LD structured data blocks the page publishes (schema.org Organization, LocalBusiness, BreadcrumbList and so on), as parsed JSON, or null when the source does not report them. They are the publisher's own claims, not verified facts.

  • languagestringpode ser exigido

    The page's declared language code (for example en-US), or null when unknown.

  • modifiedUtcintegerpode ser exigido

    When the page says it was last modified, as a UTC epoch timestamp in seconds (Unix time), or null when unknown. Multiply by 1000 for a JS Date in milliseconds.

  • publishedUtcintegerpode ser exigido

    When the page says it was published, as a UTC epoch timestamp in seconds (Unix time), or null when unknown. Multiply by 1000 for a JS Date in milliseconds.

  • robotsstringpode ser exigido

    The page's robots meta directives (for example noindex, nofollow), or null when it declares none or the source does not report them.

  • siteNamestringpode ser exigido

    The site name the page declares (its og:site_name), or null when unknown.

  • sourceUrlstring

    The URL the crawler requested for this page, before any redirect, or null when unknown.

  • statusCodeinteger

    The HTTP status code the page answered with, or null when unknown.

  • textstring

    Example is the platform teams use to ship faster…

    The page content as Markdown. Populated whenever the provider has data for the entity.

  • titlestring

    Example - Build something great

    The page title, empty when the page has none (a PDF, for example).

  • urlstring

    https://www.example.com

    The crawled page's URL, after any redirect. Populated whenever the provider has data for the entity.

each headingdata.items[].headings[]

The page's headings in document order, each with its level (1 for an h1) and text, or null when the source does not report them.

  • levelinteger

    The heading level, 1 to 6.

  • textstring

    The heading text.

summarydata.summary

Counts for this crawl. They describe the pages this crawl visited and reported, not the whole website, and are not added together into a total.

  • pagesReturnedinteger

    The number of pages in items, which is the number you are billed for.

  • reportedFailedinteger

    The number of pages the crawl reported as failed, or null when the source does not report a complete count.

  • reportedSkippedinteger

    The number of pages the crawl reported as skipped, including those robots.txt disallows, or null when the source does not report a complete count.

top level
  • 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.

Você recebe. Campos nomeados e tipados, no mesmo formato, seja qual for a fonte que responder.

Dúvidas frequentes

Sobre o endpoint Rastrear site da API para Web Scraping

O endpoint Rastrear site da AnyAPI para Web Scraping retorna dados de Web Scraping em JSON normalizado com uma chamada POST para /v1/run/web.crawl. Rastreie um site e receba o conteúdo em texto limpo de até 10 páginas em uma única resposta normalizada, ideal para alimentar LLMs e índices de busca com sites. A AnyAPI distribui cada requisição entre 3 fontes, com failover automático quando uma falha. Custa US$ 1,25 por mil resultados, e nunca mais de US$ 0,0125 por requisição, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 95,5% das chamadas ao endpoint Rastrear site da API para Web Scraping feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 10,4 segundos, em 1.208 chamadas medidas.

Custa US$ 1,25 por mil resultados, e nunca mais de US$ 0,0125 por requisição, em dólares, sem assinatura e sem mínimo mensal. Você recarrega uma carteira em dólares e cada chamada desconta dela. Algumas requisições pagas pela carteira que falham geram cobranças de processamento, que repassamos pelo custo, sem margem; a resposta de erro mostra o valor cobrado.

Rastreie um site e receba o conteúdo em texto limpo de até 10 páginas em uma única resposta normalizada, ideal para alimentar LLMs e índices de busca com sites. A resposta é JSON normalizado, com o mesmo envelope que todo endpoint da AnyAPI retorna, então processar um segundo endpoint é só trocar a URL, e nada mais.

Nos últimos 30 dias, 95,5% das chamadas ao endpoint Rastrear site da API para Web Scraping feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 10,4 segundos, em 1.208 chamadas medidas. Estas são medições da própria AnyAPI sobre o tráfego que passa pelo gateway, recalculadas continuamente, e não uma meta de nível de serviço publicada.

Sim. Uma conta nova da AnyAPI começa com US$ 0,10 de saldo grátis, sem cartão, o que cobre pelo menos 8 chamadas de Rastrear site do Web Scraping a no máximo US$ 0,0125 cada.

A AnyAPI consulta a próxima das suas 3 fontes na mesma requisição, começando pela mais barata, então a queda de uma fonte não derruba sua chamada.

Envie uma requisição POST para https://api.getanyapi.com/v1/run/web.crawl com sua chave da AnyAPI em um cabeçalho "Authorization: Bearer" e a entrada como corpo JSON. A mesma chave e a mesma carteira funcionam em todos os endpoints da AnyAPI.

Não. Você adiciona dólares a um único saldo pré-pago da AnyAPI e cada requisição desconta dele. Não há plano mensal nem mínimo, e o mesmo saldo paga todos os endpoints da AnyAPI.

Sim. Instale @getanyapi/sdk pelo npm para TypeScript ou getanyapi pelo pip para Python. Os dois chamam todos os endpoints da AnyAPI com a mesma chave, e qualquer cliente HTTP também funciona.

Sim. Um agente pode se conectar ao servidor MCP da AnyAPI em https://api.getanyapi.com/mcp, ou criar a própria chave de teste grátis com um único POST sem autenticação para https://api.getanyapi.com/agent/signup e chamar este endpoint por HTTP.