ScrapeGraphAIDatos web y SEOSEO/AEO

Extract structured data from one page

scrapegraphai.web.extract

Fetch one public HTML page and use a natural-language prompt to return structured JSON.

Price
$0.02/successAl precio del proveedor
Success rate
95,1 %Last 30 days · 164 calls
Latency p50
6.6 sp95 17 s
Last verified
24 sept 2026Verified working
POSThttps://toolswitch.dev/v1/tools/scrapegraphai.web.extractPreview
Try onlinePróximamenteProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parámetros

Raw HTML/Markdown sources, custom fetch configuration and PDFs remain available through a team's raw BYOK tool.

Esta herramienta no tiene parámetros. Consulta la documentación del proveedor ↗ Provider docs

Ejemplos de código

Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.

Preview
curl -X POST 'https://toolswitch.dev/v1/tools/scrapegraphai.web.extract' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
  -H "Content-Type: application/json" \
  --data-raw '{"url":"https://example.com","prompt":"Extract the page title and purpose.","schema":{"type":"object","required":["title"],"properties":{"title":{"type":"string"},"purpose":{"type":"string"}}},"allowedTypes":["text/html"]}'

La API de la pasarela está en versión preliminar; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a $0.02/success, incluida la tarifa de servicio.