API di Web Scraping

Web Scraping Scraping della pagina API

Fai scraping di qualsiasi pagina web e ottieni il suo contenuto principale come Markdown pulito più titolo e metadati.

0,70 USD/1k richieste, paghi a richiesta, nessun abbonamento.

Introducing Example 2.0 - Example Blog
example.com/blog/launch

Introducing Example 2.0

Everything new in the biggest Example release yet.

·

Today we are shipping the biggest release in our history…

Cosa ha restituito l'API
{
"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
}
Disponibilità
99,59%
30d · 598.692 chiamate
Richieste
707.986
30 g · settimanale, ultime 12 sett.
Risposta
2,5s
mediana · 30d

Router di scraping

Mandiamo ogni pagina allo scraper più economico che riesce davvero a estrarla.

  1. Scraper più economicoOgni pagina parte da qui
  2. Scraper successivoSolo se la pagina blocca il precedente
  3. Browser completoSolo per le pagine più difficili

Prezzo ogni 1.000 pagine

  1. AnyAPI98/1001,05 USD
  2. Firecrawl90/1003,97 USDpiano Hobby
  3. Bright Data81/1001,50 USD
  4. Jina Reader55/1000,73 USD
  5. Cloudflare Browser Rendering48/100al massimo 0,10 USD+ piano da 5 USD/mese

100 pagine, un tentativo ciascuna, misurato il 1 ott 2026Vedi tutte le pagine →

Prezzi e provider

Prezzi dell'API Web Scraping Scraping della pagina: una sola API, 5 provider intercambiabili

Serve per primo il provider più economico. Se fallisce, subentra il successivo nella stessa chiamata.

Bloccate è la quota di chiamate in cui il sito web stesso ha rifiutato la pagina. Non conta contro la disponibilità. Ogni provider dopo il primo vede solo le pagine su cui hanno fallito i precedenti, cioè i siti più difficili, quindi queste cifre non sono un confronto diretto.

Paghi
7,00 USD
0,70 USD/1k richieste, solo per ciò che usi. Nessun piano mensile.
Le tue prime 142 richieste sono gratuite con il saldo iniziale di 0,10 USD.

Provalo

Ottieni Web Scraping Scraping della pagina in una sola richiesta

formatsarray
Quali rappresentazioni della pagina restituire. Qualsiasi combinazione di: markdown (contenuto della pagina come Markdown), html (l'HTML della pagina esattamente come l'ha ricevuto il browser, compresi head e tag script). Ogni formato richiesto viene restituito nel campo di output corrispondente. Il valore predefinito è entrambi. rawHtml è un alias deprecato di html, restituito nel campo rawHtml per i chiamanti precedenti al cambio di nome; invia invece html.
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.
Apri in
Risposta di esempio
Le esecuzioni gratuite restituiscono solo i primi 3 risultati. Ricarica una chiave per ottenere la risposta completa.

Questo esempio mostra 6 campi su 11. Vedi tutti i campi

{
  "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…"
  }
}

Riferimento completo di parametri e risposta - ogni campo, tipo ed esempio per questo endpoint.

Riferimento

Una richiesta, una sola forma di risposta.

Ogni campo che invii e ogni campo che ricevi, ciascuno con un esempio reale.

Ultima verifica 2026-11-21 · disponibilità e latenza misurate su 30d

Corpo della richiesta

JSON, inviato a questo endpoint.

  • 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

    Se true (valore predefinito a monte), rimuove gli elementi pubblicitari e di consenso ai cookie prima della cattura. Imposta false per mantenerli.

  • excludeTagsarray

    Selettori CSS da eliminare prima della cattura (per esempio ["nav", "footer", ".ads"]). Applicati dopo includeTags.

  • formatsarray

    Quali rappresentazioni della pagina restituire. Qualsiasi combinazione di: markdown (contenuto della pagina come Markdown), html (l'HTML della pagina esattamente come l'ha ricevuto il browser, compresi head e tag script). Ogni formato richiesto viene restituito nel campo di output corrispondente. Il valore predefinito è entrambi. rawHtml è un alias deprecato di html, restituito nel campo rawHtml per i chiamanti precedenti al cambio di nome; invia invece html.

  • includeTagsarray

    Selettori CSS da mantenere. Se impostato, viene catturato solo il contenuto che corrisponde a questi selettori (per esempio ["article", "main"] o ["#content"]).

  • mobileboolean

    Se true, renderizza la pagina con un viewport e uno user agent mobile invece di quelli desktop. Alcuni siti servono contenuti sostanzialmente diversi ai dispositivi mobili.

  • onlyMainContentboolean

    Se true, restituisce solo il contenuto principale dell'articolo, eliminando navigazione, intestazioni, piè di pagina e altro materiale ripetitivo. Il valore predefinito è false per catturare la pagina intera.

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

Tu invii. Un piccolo corpo JSON. I valori mostrati sono esempi da sostituire con i tuoi.

Risposta

JSON, un valore di esempio per campo.

datadata
  • 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'.

  • statusCodeintegerpuò richiedere

    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.

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.

Tu ricevi. Campi con nome e tipo nella stessa struttura, qualunque fonte risponda.

FAQ

Sull'API Web Scraping Scraping della pagina

L'API Web Scraping Scraping della pagina di AnyAPI restituisce dati Web Scraping come JSON normalizzato da una sola chiamata POST a /v1/run/web.scrape. Fai scraping di qualsiasi pagina web e ottieni il suo contenuto principale come Markdown pulito più titolo e metadati. AnyAPI instrada ogni richiesta su 5 fonti e passa automaticamente a un'altra quando una fallisce. Costa da 0,70 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Negli ultimi 30 giorni, il 99,6% delle chiamate Web Scraping Scraping della pagina tramite AnyAPI è riuscito, con un tempo di risposta mediano di 2,5 secondi su 598.692 chiamate misurate.

Costa da 0,70 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Ricarichi un portafoglio in USD e ogni chiamata lo scala. Alcune richieste fallite finanziate dal portafoglio comportano costi di elaborazione che trasferiamo al costo, senza ricarico; la risposta di errore mostra l'importo addebitato.

Fai scraping di qualsiasi pagina web e ottieni il suo contenuto principale come Markdown pulito più titolo e metadati. La risposta è JSON normalizzato con la stessa busta che restituisce ogni endpoint AnyAPI, quindi analizzare un secondo endpoint significa cambiare l'URL e nient'altro.

Negli ultimi 30 giorni, il 99,6% delle chiamate Web Scraping Scraping della pagina tramite AnyAPI è riuscito, con un tempo di risposta mediano di 2,5 secondi su 598.692 chiamate misurate. Sono misurazioni di AnyAPI sul traffico che passa dal gateway, ricalcolate di continuo, non un obiettivo di livello di servizio pubblicato.

Sì. Un nuovo account AnyAPI parte con 0,10 USD di saldo gratuito e senza bisogno di carta, che copre 142 chiamate Web Scraping Scraping della pagina a 0,0007 USD ciascuna.

AnyAPI interroga la successiva delle sue 5 fonti nella stessa richiesta, partendo dalla più economica, quindi una fonte che cade non fa fallire la tua chiamata.

Invia una richiesta POST a https://api.getanyapi.com/v1/run/web.scrape con la tua chiave AnyAPI in un header "Authorization: Bearer" e l'input come corpo JSON. La stessa chiave e lo stesso portafoglio funzionano su ogni endpoint AnyAPI.

No. Aggiungi dollari statunitensi a un unico saldo prepagato AnyAPI e ogni richiesta lo scala. Non c'è un piano mensile né un minimo, e lo stesso saldo paga ogni endpoint AnyAPI.

Sì. Installa @getanyapi/sdk da npm per TypeScript o getanyapi da pip per Python. Entrambi chiamano ogni endpoint AnyAPI con la stessa chiave, e funziona anche qualsiasi client HTTP.

Sì. Un agente può collegarsi al server MCP di AnyAPI su https://api.getanyapi.com/mcp, oppure creare da solo la propria chiave di prova gratuita con un POST non autenticato a https://api.getanyapi.com/agent/signup e chiamare questo endpoint via HTTP.