Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 473 Bytes

File metadata and controls

14 lines (10 loc) · 473 Bytes

cURL request

The synchronous endpoint waits for the Actor run to finish and returns its default Dataset items.

Set APIFY_API_TOKEN, then run:

curl --request POST \
  "https://api.apify.com/v2/acts/datascraperes~google-serp-scraper/run-sync-get-dataset-items?token=$APIFY_API_TOKEN" \
  --header "Content-Type: application/json" \
  --data @data/sample-input.json

Keep the token out of shell history where possible and never commit it to the repository.