Bright DataDados da web e SEOSEO/AEO

Start a batch scrape

brightdata.web.scrape.job.start

Start an asynchronous scraping job over a batch of URLs and get a snapshot id back

Preço
$0.0015/resultPelo preço de tabela
Taxa de sucesso
—Ainda não há dados da taxa de sucessoAinda não há dados da taxa de sucesso
Latência p50
——
Última verificação
28 de jul. de 2026Verificado e funcionando
POSThttps://toolswitch.dev/v1/tools/brightdata.web.scrape.job.start?dataset_id=gd_l1vikfch901nx3by4Beta
  • Usa a cota da plataforma
  • Resposta síncrona
  • Lê dados públicos

Parâmetros

returns {snapshot_id: "s_…"} immediately; nothing is billed until records are delivered. Always set limit_per_input on a discovery run — a discover_new job with no cap decides for itself how many records to produce, and each one is billable

ParâmetroTipoObrigatórioDescriçãoExemplo
Parâmetros de consulta
typestringOpcionalset to discover_new to run a discovery crawl instead of scraping the given URLsdiscover_new
formatstringOpcionaljson | ndjson | jsonl | csv
notifybooleanoOpcionalfire a webhook when the job finishes
endpointstringOpcionalwebhook URL used when notify is set
dataset_idstringObrigatóriowhich managed scraper to rungd_l1vikfch901nx3by4
auth_headerstringOpcionalAuthorization header value Bright Data should send to your webhook
discover_bystringOpcionalwith type=discover_new: keyword | best_sellers_url | category_url | location
include_errorsbooleanoOpcionalinclude a per-input error report in the snapshot
limit_per_inputinteiroOpcionalcap records produced per input row — the main guard on discovery spend10
custom_output_fieldsstringOpcionalpipe-separated field list
uncompressed_webhookbooleanoOpcional
limit_multiple_resultsinteiroOpcionalcap total records across the whole job
Corpo (JSON)
inputmatrizObrigatórioone object per target, usually {url: …}. The body is posted as a BARE JSON array of these — `input` is a label for the array here, not a wrapper field to send[{"url":"https://www.instagram.com/instagram"}]
  • Parâmetros de consulta
  • typestringOpcional

    set to discover_new to run a discovery crawl instead of scraping the given URLs

    Exemplo: discover_new

  • formatstringOpcional

    json | ndjson | jsonl | csv

  • notifybooleanoOpcional

    fire a webhook when the job finishes

  • endpointstringOpcional

    webhook URL used when notify is set

  • dataset_idstringObrigatório

    which managed scraper to run

    Exemplo: gd_l1vikfch901nx3by4

  • auth_headerstringOpcional

    Authorization header value Bright Data should send to your webhook

  • discover_bystringOpcional

    with type=discover_new: keyword | best_sellers_url | category_url | location

  • include_errorsbooleanoOpcional

    include a per-input error report in the snapshot

  • limit_per_inputinteiroOpcional

    cap records produced per input row — the main guard on discovery spend

    Exemplo: 10

  • custom_output_fieldsstringOpcional

    pipe-separated field list

  • uncompressed_webhookbooleanoOpcional
  • limit_multiple_resultsinteiroOpcional

    cap total records across the whole job

  • Corpo (JSON)
  • inputmatrizObrigatório

    one object per target, usually {url: …}. The body is posted as a BARE JSON array of these — `input` is a label for the array here, not a wrapper field to send

    Exemplo: [{"url":"https://www.instagram.com/instagram"}]

Resposta de exemplo

JSON
{
  "snapshot_id": "sd_ms4lyair2704eraq24"
}

Exemplos de código

Substitua $TOOLSWITCH_KEY pela chave criada no console.

Beta
curl -X POST 'https://toolswitch.dev/v1/tools/brightdata.web.scrape.job.start?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 Beta; 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.