/scraperapi:scraperapi-datapipelinefrom ScraperAPI
Reference for ScraperAPI's DataPipeline — managed scheduled scraping projects that deliver results to webhooks or dashboard downloads. Covers project types, input methods, scheduling, output delivery, API usage, job management, and credit costs.
Ships in ScraperAPI. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
DataPipeline is a managed scraping product. You define a project (what to scrape, how often, where to send results), and ScraperAPI runs it on your schedule without you managing proxies, retries, or infrastructure.
Use DataPipeline when: scraping runs on a schedule, the input list is large (up to 100,000 items per project), results should flow to a webhook automatically, or you want email notifications about job runs.
Base URL: https://datapipeline.scraperapi.com/api
Auth: ?api_key=YOUR_KEY (query parameter on every request)
Set projectType in the create request to choose what to scrape. If you omit it, the project
type is urls.
| Type | Input |
|---|---|
urls | Any URLs (raw HTML). For JavaScript-heavy pages, add "render": true in apiParams |
google_search, google_news, google_jobs, google_shopping, google_maps_search | Search queries |
google_ai_mode, google_gemini, chatgpt, perplexity | See the endpoints reference |
amazon_product, amazon_offer | ASINs |
amazon_search | Search queries |
walmart_product, walmart_review | Product IDs |
walmart_search | Search queries |
walmart_category | Category IDs |
ebay_product | Product IDs |
ebay_search | Search queries |
homedepot_product, homedepot_search, homedepot_reviews | See the endpoints reference |
redfin_forsale, redfin_search, redfin_agent | Redfin URLs |
The docs spell the Redfin rentals type as refin_forrent; if the API rejects it, contact support
rather than guessing. An unknown type fails with a 400:
/projectType: must be equal to one of the allowed values.
import requests
API_KEY = "YOUR_API_KEY"
BASE = "https://datapipeline.scraperapi.com/api"
resp = requests.post(
f"{BASE}/projects",
params={"api_key": API_KEY},
json={
"name": "Weekly Amazon price monitor",
"projectType": "amazon_product",
"schedulingEnabled": True,
"scrapingInterval": "weekly",
"scheduledAt": "now",
"projectInput": {
"type": "list",
"list": ["B09V3KXJPB", "B08N5WRWNW"] # ASINs
},
"apiParams": {
"outputFormat": "csv"
},
"webhookOutput": {
"url": "https://yourapp.com/pipeline-results"
},
"notificationConfig": {
"notifyOnSuccess": "never",
"notifyOnFailure": "with_every_run"
}
}
)
resp.raise_for_status() # a 400 body names the field that failed validation
project = resp.json()
print(f"Project created: id={project['id']}")
The smallest valid project is just an input list; everything else has a default:
{"projectInput": {"type": "list", "list": ["https://example.com/"]}}
| Field | Description |
|---|---|
projectInput | What to scrape (see input methods below) |
projectType | What kind of data (see table above); defaults to urls |
name | Human-readable project name |
schedulingEnabled | true / false |
scrapingInterval | How often to run (see scheduling below) |
scheduledAt | ISO 8601 timestamp of the next run, or "now" |
apiParams | Scraping parameters (see below) |
webhookOutput | Webhook delivery config |
notificationConfig | Email notification settings |
id and createdAt are set by ScraperAPI.
{
"projectInput": {
"type": "list",
"list": ["query one", "query two"]
}
}
Items are URLs, queries, ASINs or IDs, depending on the project type.
In the dashboard you can upload a CSV of up to 100,000 items, one per line, with no header row and no commas. The dashboard's text field takes up to 500 items.
{
"projectInput": {
"type": "webhook_input",
"url": "https://yourapp.com/input-items"
}
}
On every run, ScraperAPI downloads the item list from that URL. Return one item per line, with no commas. Useful for dynamically generated lists (e.g., new ASINs added since the last run).
scrapingInterval | Description |
|---|---|
| (omitted) | Scrape once (the default) |
"hourly" | Every hour |
"daily" | Once per day |
"weekly" | Once per week |
"monthly" | Once per month |
a cron expression, e.g. "0 0 * * 1" | Custom schedule (five fields: minute, hour, day of month, month, day of week) |
Set "scheduledAt": "now" to trigger a run immediately, on create or later via PATCH.
{
"webhookOutput": {
"url": "https://yourapp.com/results"
}
}
Add "webhookEncoding": "multipart_form_data_encoding" if your receiver expects multipart form
data. Set "webhookOutput": null to stop webhook delivery.
Results are always available for download on the project's page in the
DataPipeline dashboard, and through each job's
resultUrl. Results are delivered as a zipped file and kept for 30 days, then deleted
permanently.
Output formats:
urls projects → HTML, wrapped in JSONL"apiParams": {"outputFormat": "csv"} or "json".apiParamsThe DataPipeline examples use these, written as shown:
| Parameter | Purpose |
|---|---|
outputFormat | "json" or "csv", structured project types only |
render | JavaScript rendering |
premium | Premium residential proxies |
The docs point to the Async API parameter list for the rest, but don't confirm that every one works in a project. If you need another parameter, check the endpoints reference and read the 400 message if the API rejects it.
# List all projects
projects = requests.get(f"{BASE}/projects", params={"api_key": API_KEY}).json()
# Get a single project
project = requests.get(f"{BASE}/projects/{project_id}", params={"api_key": API_KEY}).json()
# Update: send only the fields that change
requests.patch(
f"{BASE}/projects/{project_id}",
params={"api_key": API_KEY},
json={
"scrapingInterval": "daily",
"apiParams": {"premium": True},
# both keys are required whenever notificationConfig is sent
"notificationConfig": {"notifyOnSuccess": "weekly", "notifyOnFailure": "weekly"}
}
)
# Archive (restoring it needs ScraperAPI support)
requests.delete(f"{BASE}/projects/{project_id}", params={"api_key": API_KEY})
# List jobs for a project
jobs = requests.get(
f"{BASE}/projects/{project_id}/jobs",
params={"api_key": API_KEY}
).json()
# Cancel a running job
requests.delete(
f"{BASE}/projects/{project_id}/jobs/{job_id}",
params={"api_key": API_KEY}
)
# Running requests within the job finish first; then the job's status becomes cancelled
Each job reports status, successfulTasks, failedTasks, inProgressTasks, cancelledTasks,
credits, resultUrl and errorReportUrl. A job is marked as an error when more than half of
its requests fail.
A new job can only start if no other job for that project is currently running.
{
"notificationConfig": {
"notifyOnSuccess": "never",
"notifyOnFailure": "with_every_run"
}
}
Notifications are emails. Send both keys whenever you send notificationConfig:
notifyOnSuccess: "never", "with_every_run", "daily", "weekly"notifyOnFailure: "with_every_run", "daily", "weekly" (no "never")DataPipeline jobs cost the same as standard API requests: 1 credit per normal request, 5 for
e-commerce sites (Amazon, Walmart, eBay), 25 for search engines (Google), and more with
render or premium. See the DataPipeline credit costs
page for the full table. A job's cost is the sum of its requests, so it depends on how many
succeed; each job reports its total in credits.
| Limit | Value |
|---|---|
| Max input items | 100,000 per project |
| Dashboard text field | 500 items |
| Concurrent jobs per project | 1 |
| Result retention | 30 days |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub scraperapi/scraperapi-skills --plugin scraperapi20 skills in this plugin
/scraperapi-agent-onboardingEntry point for agents and developers new to ScraperAPI. Read first when integrating ScraperAPI into an agent or app, setting up the MCP server for Claude Code or other LLM tools, choosing the right ScraperAPI product, or getting an API key. Trigger on: "how do I use ScraperAPI", "set up ScraperAPI", "connect ScraperAPI to Claude", "which ScraperAPI product should I use", "get web data for my agent", "add web scraping to my project", "ScraperAPI getting started". After reading, route to the narrower skill that owns the chosen path. If the user already named a language or SDK, n8n, Zapier, or the sapi CLI, use that skill directly instead.
Note: Transmits user-supplied queries, URLs, and content to ScraperAPI.
/scraperapi-asyncReference for ScraperAPI's Async Jobs REST API: submit scraping jobs in the background and get results by polling or webhook, including batch jobs. Consult when the user is scraping many URLs, needs non-blocking requests, or wants webhook delivery. Use when user asks: "how do I scrape 1000 URLs with ScraperAPI", "ScraperAPI async jobs", "batch scraping with ScraperAPI", "submit a scraping job and poll for results", "ScraperAPI webhook callback", "ScraperAPI batchjobs endpoint". Covers single and batch jobs, webhook callbacks, apiParams, async-only parameters, binary responses, retention, and error handling. It is language-agnostic: for SDK client code, use the language's SDK skill; to crawl a whole site by following links, use scraperapi-crawler.
Note: Transmits user-supplied queries, URLs, and content to ScraperAPI.
Other plugins' skills for the same job