scraperapi-nodejs-sdk

scraperapi-nodejs-sdk is a skill for Claude Code from scraperapi/scraperapi-skills. It costs 209 tokens per session (3,288 once invoked), scanned B, original, MIT.

A reference for using ScraperAPI from Node.js or JavaScript. ScraperAPI is a service that retrieves website data, while Node.js is a tool for running JavaScript outside a web browser.

In plain words
What is it for?
Use it when writing, debugging, or reviewing JavaScript or TypeScript code that calls ScraperAPI.
Why use it?
It helps avoid common mistakes when calling the SDK, such as handling API keys, JavaScript-rendered pages, batches of URLs, or supported structured-data endpoints.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: built for openclaw.

Part of the scraperapi plugin — 20 skills, 1 MCP server shipped together

Good fit Use it when writing, debugging, or reviewing JavaScript or TypeScript code that calls ScraperAPI.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/scraperapi/scraperapi-skills/scraperapi-nodejs-sdk
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add scraperapi/scraperapi-skills --skill scraperapi-nodejs-sdk
Clone the repo
git clone --depth 1 https://github.com/scraperapi/scraperapi-skills

Made for: Claude Code.

Or install scraperapi, the plugin that ships this one along with the rest of its 20 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for scraperapi-nodejs-sdk

README.md
[![agentmods](https://agentmods.dev/badge/skills/scraperapi/scraperapi-skills/scraperapi-nodejs-sdk/github.svg)](https://agentmods.dev/skills/scraperapi/scraperapi-skills/scraperapi-nodejs-sdk)
Your own site
<a href="https://agentmods.dev/skills/scraperapi/scraperapi-skills/scraperapi-nodejs-sdk"><img src="https://agentmods.dev/badge/skills/scraperapi/scraperapi-skills/scraperapi-nodejs-sdk/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for scraperapi-nodejs-sdk

Your own site · 80×15
<a href="https://agentmods.dev/skills/scraperapi/scraperapi-skills/scraperapi-nodejs-sdk"><img src="https://agentmods.dev/badge/skills/scraperapi/scraperapi-skills/scraperapi-nodejs-sdk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 209 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,288 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00209 $0.03288
Opus 5.5 $0.00084 $0.01315
Sonnet 5.5 $0.00042 $0.00658
Haiku 4.5 $0.00021 $0.00329

Measured 8d ago against content hash 1f1dc2c32779, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

scraperapi-nodejs-sdk scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

const res = await fetch('https://async.scraperapi.com/jobs', { method: 'POST',

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

const res = await fetch(job.statusUrl);
plugin/skills/scraperapi-nodejs-sdk/SKILL.md · 323 lines

How it starts

The opening of the file, as written. The whole thing — 323 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ScraperAPI — Node.js SDK Best Practices

Requires: Node.js 18+ (the snippets use the global fetch), npm install scraperapi-sdk, a ScraperAPI API key.

Setup

// CommonJS
const scraperapiClient = require('scraperapi-sdk')('YOUR_API_KEY');

// ES Modules / TypeScript — the default export is a factory function, not a class
import scraperapi from 'scraperapi-sdk';
const scraperapiClient = scraperapi('YOUR_API_KEY');

The package ships type definitions in dist/ but doesn't declare them in package.json, so TypeScript reports a missing declaration file. Add declare module 'scraperapi-sdk'; to a .d.ts file in your project, or set noImplicitAny: false.

Replace YOUR_API_KEY with your key from https://dashboard.scraperapi.com. Never commit a real key to source control.

Decision Guide

Situation Pattern
Single URL, result needed now scraperapiClient.get(url)
20+ URLs or batch work Async Jobs API — fetch/axios to async.scraperapi.com/jobs
Supported platform (Amazon, Google, Walmart, eBay, Redfin) Structured Data endpoint — api.scraperapi.com/structured/<vertical>
Page loads content via JavaScript .get(url, { render: true })
Site blocks datacenter proxies .get(url, { premium: true })
Need to POST a form or JSON body to the target .post(url, options)

Basic Usage

// GET — resolves to { body, headers, statusCode }, not a string
const res = await scraperapiClient.get('https://example.com/');
if (res.statusCode === 200) console.log(res.body);

// With parameters
const res = await scraperapiClient.get('https://example.com/', {
  render: true,
  country_code: 'us',
});

// Without async/await (Promise chain)
scraperapiClient.get('https://example.com/')
  .then(res => console.log(res.statusCode, res.body))
  .catch(err => console.error(err)); // network errors only, see Error Handling

Every method (get, post, put) resolves even when ScraperAPI returns 401, 403, 429 or 500, so always check res.statusCode before using res.body.

Read the full file on GitHub · 323 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago Changed 1f1dc2c32779
  2. 13d ago Changed · +35 lines · +22 tokens per session f46fb2d5e9ed
  3. 3mo ago First seen · 288 lines · 187 tokens per session scan B 6207c5060306

Subscribe to this mod's changes

scraperapi-nodejs-sdk is a skill published in the GitHub repository scraperapi/scraperapi-skills (11 stars, last pushed 8d ago), licensed MIT. It adds 209 tokens to every session and 3,288 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

scraperapi-nodejs-sdk compared with skills from other repositories

scraperapi-nodejs-sdk next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scraperapi-nodejs-sdkscraperapi/scraperapi-skillsSkill118d agoMITB209Claude Code
nestjs-patternsaffaan-m/ECCSkill316k2d agoMITA33Claude Code, Kiro
nestjs-expertJeffallan/claude-skillsSkill13ktodayMITA107Claude Code
bun-runtime-expertroedyrustam/vibes-plugSkill132todayMITA51Cursor
js-backend-expertroedyrustam/vibes-plugSkill132todayMITA48Cursor
fluent-developmentserac-labs/seracSkill772d agoApache-2.0A77Claude Code
express-typescriptMindrally/skillsSkill3251mo agoApache-2.0A27Claude Code