Bright DataDados da web e SEOSEO/AEO

Scrape URLs into structured records in one call

brightdata.web.scrape.structured

Scrape one or more URLs into structured records and get them back in the same call

Price
$0.0015/resultPelo preço do provedor
Success rate
84,4%Last 30 days · 38 calls
Latency p50
60 sp95 61 s
Last verified
28 de jul. de 2026Verified working
POSThttps://toolswitch.dev/v1/tools/brightdata.web.scrape.structured?format=json&dataset_id=gd_l1vikfch901nx3by4Preview
Try onlineEm breveProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parâmetros

the API reference documents the body as {input: [...]}, while the quickstarts post a bare array [{url: …}] to the same path — both appear in official docs, so treat the array as the payload and the wrapper as optional until verified. HARD 1-minute timeout: past that the call returns HTTP 202 with a snapshot_id and you must collect the rows from brightdata.web.scrape.job.results instead. Use trigger/progress/snapshot for anything beyond a few URLs

ParâmetroTipoObrigatórioDescriçãoExemplo
Parâmetros de consulta
formatstringOpcionaljson (default) | ndjson | csvjson
dataset_idstringObrigatóriowhich managed scraper to run — it decides both the site and the output columns. List them with brightdata.account.datasets.listgd_l1vikfch901nx3by4
include_errorsbooleanoOpcionaladds a per-input error report to the output
custom_output_fieldsstringOpcionalpipe-separated field list to trim the responseurl|about.updated_on
  • Parâmetros de consulta
  • formatstringOpcional

    json (default) | ndjson | csv

    Exemplo: json

  • dataset_idstringObrigatório

    which managed scraper to run — it decides both the site and the output columns. List them with brightdata.account.datasets.list

    Exemplo: gd_l1vikfch901nx3by4

  • include_errorsbooleanoOpcional

    adds a per-input error report to the output

  • custom_output_fieldsstringOpcional

    pipe-separated field list to trim the response

    Exemplo: url|about.updated_on

Exemplos de código

Substitua $TOOLSWITCH_KEY pela chave criada no console.

Preview
curl -X POST 'https://toolswitch.dev/v1/tools/brightdata.web.scrape.structured?format=json&dataset_id=gd_l1vikfch901nx3by4' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
  -H "Content-Type: application/json" \
  --data-raw '[{"url":"https://www.instagram.com/instagram"}]'

Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.0015/result, incluindo a taxa de serviço.