I am scraping jobs from careers pages. Using an Apify node - Run Actor and Get Dataset. The scraper I'm using is returning too many results (so costing too much money). I want to limit the number of results. You can do this if you run the scraper from the Apify console (max results returned), but it doesn't give the parameter details to do program this in JSON in your n8n node. Any ideas?
What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
I’ve tried adding the parameter to the json limit/maxresults/etc etc but nothing works. To be honest I don’t think it’s possible with this actor, you can do it from the console but there’s nothing about it in the input…
Alright, you need an HTTP node for this, you can copy mine:
Make sure to replace your ACTOR_ID in the URL, you can take it from Apify → Actors in the side menu → Your actor → copy from url, looks like N5bHfOymnV2adadyf.
Set maxItems as needed to control cost.
Also, replace the body JSON (which is Input in Apify) with your sites to scrape.
You can construct similar requests by checking the API documentation here: