Scrapivore
Docs menuRequest templates
Scraping

Request templates

GET/api/tpl/<slug>-<secret>/

Copy a request from your browser's network tab as cURL, paste it on the Templates page, and mark the values that change per call as {{variables}}. You get a URL you can call from anywhere: a script, a spreadsheet, n8n, a cron job.

  • The secret in the URL is the credential, so no Authorization header is needed. Treat the URL like a password.
  • Variables come from the query string, or from a JSON body if you POST.
  • A variable without a default that is missing from the call returns a 400 with {"missing": [...]}.
  • Headers, cookies and body from the pasted request are kept. Race width, rounds, timeout, tags and selection saved on the template apply to every call.
  • The response is the same JSON as /api/scrape/.

Parse a snippet from code

POST/api/tpl/parse/

Turns a cURL or python-requests snippet into template fields without saving anything. Uses token auth.