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
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}
Router di scraping
Mandiamo ogni pagina allo scraper più economico che riesce davvero a estrarla.
- Scraper più economicoOgni pagina parte da qui
- Scraper successivoSolo se la pagina blocca il precedente
- Browser completoSolo per le pagine più difficili
Prezzo ogni 1.000 pagine
- AnyAPI98/1001,05 USD
Firecrawl90/1003,97 USDpiano Hobby
Bright Data81/1001,50 USD
Jina Reader55/1000,73 USDCloudflare 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.
Provalo
Ottieni Web Scraping Scraping della pagina in una sola richiesta
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.
Risposta
JSON, un valore di esempio per campo.
- 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.
- 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.
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.