Saltar al contenido principal
Piloterr
Volver a la biblioteca

API de Website Rendering

Render JavaScript-heavy pages in a headless browser and return post-render HTML. Use when Crawler returns empty DOM; escalate to WebUnlocker if bot protection blocks the session.

Activo2 créditos = 1 solicitudGET/v2/website/rendering

Resumen del Endpoint

Documentación detallada, precios y ejemplos de uso.

Choosing the right endpointLink to Choosing the right endpoint

Piloterr exposes three complementary ways to fetch a public web page. Pick the lightest engine that works for your target site.

Endpoint Engine Credits Use when
Website Crawler HTTP request (no JavaScript) 1 The HTML you need is already in the first response: blogs, docs, server-rendered catalog pages, sitemaps.
Website Rendering Headless browser (JavaScript executed) 2 Content appears only after JS runs: React/Vue/Angular SPAs, lazy-loaded listings, pages that need wait_for or POST browser_instructions.
Website WebUnlocker Browser + unlock stack 3 Website Rendering or Website Crawler hit bot walls (Cloudflare, DataDome, Akamai, PerimeterX) and the domain is on Piloterr's approved whitelist.

Decision flow

  1. Try Crawler first if you do not need client-side rendering. It is the fastest and cheapest option.
  2. Switch to Rendering when the DOM is empty, prices load asynchronously, or you must wait for a selector / run browser steps.
  3. Escalate to WebUnlocker only for hardened retail or marketplace domains that block normal browser traffic. Whitelist approval is required before production use.

See also: Website Scraping guide.

OverviewLink to Overview

Website Rendering loads the URL in a managed headless browser, executes JavaScript, waits for the DOM to settle, and returns the fully rendered HTML. Use it when Website Crawler returns a shell page or missing prices because content is injected client-side.

Rendering handles most dynamic sites and light anti-bot friction. When Cloudflare Enterprise, DataDome, or Akamai still block the session, escalate to Website WebUnlocker (whitelist required).

Costs 2 credits per successful call.

QuickstartLink to Quickstart

GET https://api.piloterr.com/v2/website/rendering?query=https://example.com&wait_in_seconds=3

POST is supported when you need browser_instructions (scroll, click, fill forms before extraction).

ParametersLink to Parameters

Parameter Type Required Description
query string yes Public URL with http:// or https://
wait_in_seconds integer no Extra wait after load (0–30 seconds)
wait_for string no CSS/XPath selector to wait for before returning HTML
block_ads boolean no Block ad requests during render. Default false
timeout integer no Max seconds to wait for page load. Default 30
browser_instructions array no POST only: automation steps before capture

ResponseLink to Response

Field Description
Response body HTML after JavaScript execution
Situation Endpoint
Static HTML, no JS needed Website Crawler (1 credit, faster)
Bot wall on whitelisted retail domain Website WebUnlocker
PNG capture instead of HTML Website Screenshot

NotesLink to Notes

  • Domain filtering may apply. Contact Piloterr support to whitelist production targets when needed.
  • Combine wait_for with timeout on slow SPAs and infinite-scroll listings.
  • Prefer Crawler when a quick test shows complete HTML without JS.

Main use casesLink to Main use cases

  • Scrape React, Vue, or Angular marketplaces and dashboards
  • Wait for lazy-loaded product grids or search results
  • Run multi-step flows (accept cookies, open tab, scroll) via POST instructions
  • Collect HTML from pages that fail with plain HTTP crawling

APIs relacionadas

Amplía tus capacidades de datos con estas herramientas complementarias.

Website Antibot/v2/website/antibot

Detecte qué protección anti-bot protege un sitio antes de scrapear. Vendor, confianza e indicios en una sola consulta.

GET1 crédito = 1 solicitudActivo
Website Crawler (POST)/v2/website/crawler

Rastree sitios web y endpoints API por URL y obtenga respuestas JSON estructuradas via POST.

POST1 crédito = 1 solicitudActivo
Website Crawler/v2/website/crawler

Fetch public pages with fast HTTP crawling (no JavaScript). Best first choice for static or server-rendered HTML; use Rendering or WebUnlocker when JS or anti-bot blocks you.

GET1 crédito = 1 solicitudActivo
Website Email Phone Extractor/v2/website/email_phone_extractor

Extrae correos electrónicos y números de teléfono de sitios web para obtener información de contacto completa, incluyendo perfiles en más de 12 plataformas sociales.

GET1 crédito = 1 solicitudActivo
Website Rendering Instructions (POST)/v2/website/rendering

Ejecuta instrucciones de automatización del navegador (scroll, scroll_to_bottom) durante el renderizado headless para activar contenido en lazy loading, eludir la detección de bots y extraer páginas cargadas dinámicamente.

POST2 créditos = 1 solicitudActivo
Website Screenshot/v2/website/screenshot

Screenshot API con renderizado tipo navegador: captura páginas web en PNG/JPEG/WebP o PDF para previews, QA, reporting, monitoreo y archivado, sin infraestructura headless.

GET2 créditos = 1 solicitudActivo
Website Technology/v2/website/technology

Identifica las tecnologías detrás de cualquier sitio web CMS, frameworks, analytics, CDN, hosting: para análisis de mercado competitivo e insights tecnológicos.

GET1 crédito = 1 solicitudActivo
Website WebUnlocker/v2/website/webunlocker

Bypass advanced anti-bot systems (Cloudflare, DataDome, Akamai, PerimeterX) on whitelisted domains. Combines browser rendering and unlock tooling; use after Crawler and Rendering fail.

GET3 créditos = 1 solicitudActivo
Website WebUnlocker (POST)/v2/website/webunlocker

Envíe peticiones POST a sitios web o APIs en lista blanca a través de WebUnlocker para eludir la protección anti-bot avanzada y obtener la respuesta upstream.

POST3 créditos = 1 solicitudActivo

¿Listo para empezar?

Tu API de web scraping está a un clic. Comienza con +500 créditos, sin infraestructura que configurar, sin proxies que gestionar y sin necesidad de tarjeta de crédito.

  • +500 créditos
  • Sin tarjeta de crédito
  • Todos los endpoints incluidos