Saltar al contenido principal
POST
/
augment
/
scrape
/api/v1/augment/scrape
curl --request POST \
  --url https://api.venice.ai/api/v1/augment/scrape \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "https://example.com"
}
'
{
  "url": "https://example.com",
  "content": "<string>",
  "format": "markdown"
}
Esta es una API experimental. El formato de la solicitud y de la respuesta puede cambiar sin previo aviso.
Envía una URL accesible públicamente en el campo url. La API devuelve el contenido de la página como markdown. El scraper primero intenta usar el soporte nativo de markdown del sitio de destino (mediante Cloudflare Markdown for Agents) y, si no, recurre a una extracción con navegador headless. Algunos sitios que bloquean el acceso automatizado (p. ej. X/Twitter, Reddit) se rechazan inmediatamente con un error 400. Precio: 0,01 $ por solicitud.

Ejemplo (cURL)

curl -X POST https://api.venice.ai/api/v1/augment/scrape \
  -H "Authorization: Bearer $VENICE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com"}'

Autorizaciones

Authorization
string
header
requerido

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Cuerpo

application/json
url
string<uri>
requerido

The URL to scrape

Ejemplo:

"https://example.com"

Respuesta

Successfully scraped the URL

url
string
requerido

The URL that was scraped

Ejemplo:

"https://example.com"

content
string
requerido

The scraped content in markdown format

format
enum<string>
requerido

The format of the scraped content

Opciones disponibles:
markdown