Getting Started
Sign up, create an API key, and make your first request in under a minute.
First Request
- Sign up at scraper.run
- Create an API key in the dashboard
- Make your first request
curl -X POST https://scraper.run/api/v1/scrape \-H "Authorization: Bearer sc_live_your_key_here" \-H "Content-Type: application/json" \-d '{"url": "https://x.com/LLMJunky/status/2036239240300818751"}'
Node.js Quickstart
The fetch API is built into Node 18+. No packages needed. Create a file called `scrape.mjs` and run it with `node scrape.mjs`.
npm init -y// scrape.mjsconst res = await fetch('https://scraper.run/api/v1/scrape', {method: 'POST',headers: {'Authorization': 'Bearer sc_live_your_key_here','Content-Type': 'application/json',},body: JSON.stringify({url: 'https://x.com/LLMJunky/status/2036239240300818751',}),});const data = await res.json();console.log(data);
Python Quickstart
Install the requests library, then create a file called `scrape.py`. Run it with `python scrape.py`.
pip install requests# scrape.pyimport requestsres = requests.post("https://scraper.run/api/v1/scrape",headers={"Authorization": "Bearer sc_live_your_key_here"},json={"url": "https://x.com/LLMJunky/status/2036239240300818751"},)print(res.json())