Loading...
Loading...
Universal scraper for any OpenWeb Ninja API. Scrape jobs, business listings, products, reviews, news, social profiles, finance data, and more. Use for lead generation, market research, competitor analysis, content monitoring, price tracking, or any structured data extraction task.
npx skill4agent add openweb-ninja/openwebninja-skills openwebninjanode --env-file=.env apis/<api_id>/scrape.js [args]open "<url>"touch .env.envRAPIDAPI_KEYOPENWEBNINJA_API_KEY--env-fileapis/{api_id}/README.mdscrape.jslib/utils.js.envtouch .envmeta.jsonopenwebninja_urlrapidapi_urlopen "{openwebninja_url}" # preferred
# or: open "{rapidapi_url}" # if user prefers RapidAPI.envRAPIDAPI_KEY=your_key_here
# or for OpenWeb Ninja keys:
OPENWEBNINJA_API_KEY=ak_your_key_here.envRAPIDAPI_KEYOPENWEBNINJA_API_KEYapis/{api_id}/README.mdmeta.jsonscrape.jsrecipes.md| API ID | What It Does | Best For |
|---|---|---|
| Google Maps businesses with emails, phones, social profiles | Lead gen, competitor research, local market analysis |
| Amazon products, details, reviews by ASIN | Product research, price tracking, review mining |
| Google organic search results with rich snippets | General research, competitor analysis, content discovery |
| News articles by keyword with source/topic/date filters | Content monitoring, trend research, brand monitoring |
| Job listings from Google for Jobs + salary estimates | Job market research, recruitment, salary benchmarking |
| Salary estimates by job title and location | Salary benchmarking (also available via jsearch |
| Emails, phones, social links from domains (batch up to 20) | Contact enrichment, lead enrichment from domain lists |
| Trustpilot company profiles and reviews (~200 max) | Reputation analysis, review mining, brand monitoring |
| Company profiles, employee reviews, salaries | Employer intelligence, comp benchmarking, due diligence |
| Yelp businesses and customer reviews | Local business reviews, reputation monitoring |
| Google Shopping cross-retailer product search | Price comparison, product discovery, deal tracking |
| Walmart products, details, reviews | Retail research, price comparison |
| Costco products (US/Canada) | Retail research |
| Zillow properties for sale, rent, or recently sold | Real estate research, market analysis |
| Reddit, Quora, Stack Overflow discussions | Sentiment analysis, trend research, content ideas |
| Google Events by keyword + location | Event discovery, local activity monitoring |
| Stocks, ETFs, forex, crypto quotes + history | Finance research, market monitoring |
| Google Images with size/color/license filters | Visual research, content sourcing |
| YouTube Shorts, TikTok, Instagram Reels | Short-form video discovery, trend tracking |
| Google Books search | Book research, content discovery |
| Google Lens visual search | Visual product matching, reverse image lookup |
| Google Play apps, top charts | App research, market analysis |
| Social media profiles for any person/brand | Social profile discovery, lead enrichment |
| Email addresses by name + domain | Lead gen, contact discovery |
| Local SEO keyword rankings + grid heatmaps | Local SEO monitoring, competitor rank tracking |
| Google autocomplete suggestions (bulk supported) | Keyword research, search intent discovery |
| Web pages containing a given image | Image provenance, unauthorized usage detection |
| Routes with distance, duration, turn-by-turn steps | Navigation, commute analysis, logistics |
| EV charging stations by location | EV infrastructure research, trip planning |
| Real-time traffic alerts and jams | Traffic monitoring, incident tracking |
| Fetch any URL with JS rendering + anti-bot bypass | Web scraping, page extraction |
| Query ChatGPT and get its response (POST, stateful) | GEO tracking, AI response monitoring, cross-model comparison |
| Query Google Gemini and get its response (POST, stateful) | GEO tracking, AI response monitoring, cross-model comparison |
| Query Microsoft Copilot and get its response (POST, stateful) | GEO tracking, AI response monitoring, cross-model comparison |
| Google AI Overview with cited sources | GEO tracking, AI search monitoring |
| Google AI Mode (Gemini 2.5) structured results | GEO tracking, AI search monitoring |
| Use Case | Primary APIs |
|---|---|
| Lead Generation | |
| Lead Enrichment from Domains | |
| Job Market Research | |
| Employer / Talent Intelligence | |
| Product / Price Research | |
| Retail Review Mining | |
| Brand & Review Monitoring | |
| Competitor Analysis | |
| Content & Trend Research | |
| Search Intent / Keyword Discovery | |
| Real Estate | |
| Real Estate + Commute / Traffic Overlay | |
| Finance / Markets | |
| Social Profile Discovery | |
| Events & Local Activity | |
| App Research | |
| Visual / Image Search | |
| Navigation & Mobility | |
| Traffic / Incident Monitoring | |
| Local SEO & Rank Tracking | |
| Reputation / Trust Analysis | |
| Web Scraping (any website) | |
| GEO / AI Search Monitoring | |
| Workflow | Step 1 | Step 2 |
|---|---|---|
| Domain → contacts pipeline | | |
| Contact → LinkedIn discovery | | |
| Review deep-dive | | |
| Trustpilot reputation analysis | | |
| Product research (multi-store) | | |
| Retail price comparison | | |
| Product + reviews dataset | | |
| Visual product discovery | | |
| Competitor intelligence | | |
| Brand monitoring pipeline | | |
| Content trend discovery | | |
| App market research | | |
| App reputation analysis | | |
| Job market research | | |
| Employer intelligence | | |
| Local SEO rank tracking | | |
| Local market analysis | | |
| Real estate dataset | | |
| Property + traffic insights | | |
| EV trip planning | | |
| Event discovery | | |
| Image provenance discovery | | |
| Web page extraction workflow | | |
| GEO tracking | | |
| AI response comparison | | Same query across models — compare brand mentions, product recommendations, or factual accuracy |
Planned API calls:
• local-business-data /search — 1 call per zip code × 50 zip codes = 50 calls
• local-business-data /business-details (extract_emails_and_contacts=true) — up to 500 calls
Total: ~550 calls./output/scrape.js# Full export to file
node --env-file=.env apis/{api_id}/scrape.js --query "search terms" --count 100 --format csv --output output/results.csv
# Quick answer (display top results in chat, no file saved)
node --env-file=.env apis/{api_id}/scrape.js --query "search terms" --dry-run--dry-run--dry-runapis/{api_id}/recipes.mdnode apis/{api_id}/scrape.js --helpscrape.jsconst { getApiKey, loadMeta, apiCall, fetchAll, toCSV, writeOutput, displayQuickAnswer, sanitizeUntrusted, sleep } = require('lib/utils');lib/utils.js| Function | Purpose |
|---|---|
| Reads |
| Loads |
| Single HTTP call (GET or POST) |
| Paginated fetch → |
| Array of objects → CSV string |
| Write file + |
| Print top N results to chat (no file) |
| Strip prompt-injection patterns from scraped strings |
| Promise-based delay |
| If the User Retrieved | Suggested Next Workflow |
|---|---|
| Product listings | Fetch reviews with |
| Job listings | Enrich compensation with |
| Property listings | Add commute insights with |
| Search keyword ideas | Expand with |
| App listings | Cross-reference with |
local-business-dataextract_emails_and_contacts=true--grid--zipsgmb_categories.jsonus_zipcodes.jsonwebsite-contacts-scraperemail-searchsocial-links-searchrealtime-amazon-datarealtime-walmart-datarealtime-product-searchchatgptgeminicopilotscrape.js| Error | Cause & Fix |
|---|---|
| Follow Missing API Key setup instructions above |
| Key invalid or expired — check subscription |
| Not subscribed — check RapidAPI or OpenWeb Ninja dashboard |
| Rate limit hit — increase |
| Check params against |
| Increase |
.env.env--env-file=.envscrape.js