PulpMiner Web Scraper - Convert Any Webpage to Realtime JSON API
by @melvin2016
Convert any webpage into structured JSON data using AI. Scrape websites, extract data into custom JSON schemas, and call saved APIs programmatically. Useful for web scraping, data extraction, content monitoring, lead generation, price tracking, and building data pipelines.
clawhub install webscraper-pulpminerπ About This Skill
name: pulpminer description: "Convert any webpage into structured JSON data using AI. Scrape websites, extract data into custom JSON schemas, and call saved APIs programmatically. Useful for web scraping, data extraction, content monitoring, lead generation, price tracking, and building data pipelines." emoji: βοΈ homepage: https://pulpminer.com metadata: {"clawdbot":{"requires":{"env":["PULPMINER_API_KEY"]},"config":["pulpminer_api_key"]}}
PulpMiner β AI Web Scraping & JSON API
PulpMiner converts any webpage into structured JSON using AI. You provide a URL and optionally a JSON template, and PulpMiner scrapes the page, runs it through an LLM, and returns clean structured data.
Authentication
All API calls require the apikey header:
apikey:
Get your API key from https://pulpminer.com/api β click "Regenerate Key" if you don't have one.
Core Workflow
PulpMiner works in two phases:
1. Create a saved API β Configure a URL, scraper, LLM, and optional JSON template via the PulpMiner dashboard at https://pulpminer.com/api 2. Call the saved API β Use the external endpoint with your API key to fetch structured JSON
Calling a Saved API
Static API (fixed URL)
curl -X GET "https://api.pulpminer.com/external/" \
-H "apikey: "
Returns JSON extracted from the configured webpage.
Dynamic API (URL with variables)
For APIs saved with template URLs like https://example.com/search?q={{query}}&page={{page}}:
curl -X POST "https://api.pulpminer.com/external/" \
-H "apikey: " \
-H "Content-Type: application/json" \
-d '{"query": "javascript frameworks", "page": "1"}'
The {{variable}} placeholders in the saved URL get replaced with the values you provide.
Response Format
Successful responses return:
{
"data": { ... },
"errors": null
}
Error responses return:
{
"data": null,
"errors": "Error message describing what went wrong"
}
Caching
Configuration Options (Set in Dashboard)
When creating a saved API at https://pulpminer.com/api, you can configure:
| Option | Description |
|--------|-------------|
| URL | The webpage to scrape |
| JSON Template | Optional JSON structure for the LLM to follow (e.g., {"name": "", "price": ""}) |
| Render JS | Enable for SPAs and JS-heavy pages (uses headless browser) |
| CSS Selector | Extract only a specific part of the page (e.g., .product-list, #main-content) |
| Extra Instructions | Additional guidance for the AI (e.g., "Only extract items with prices above $50") |
| Dynamic URL | Enable template variables in the URL with {{variable}} syntax |
| Cache | Toggle response caching on/off |
Integration with Zapier
For async scraping in Zapier workflows:
# Static API
curl -X POST "https://api.pulpminer.com/external/zapier/get/" \
-H "apikey: " \
-d '{"callbackURL": "https://hooks.zapier.com/..."}'Dynamic API
curl -X POST "https://api.pulpminer.com/external/zapier/post/" \
-H "apikey: " \
-d '{"callbackURL": "https://hooks.zapier.com/...", "query": "value"}'
Returns 201 immediately. Sends scraped data to the callback URL when complete.
Integration with n8n
Verify authentication:
curl -X GET "https://api.pulpminer.com/external/n8n/auth" \
-H "apikey: "
Then use the standard /external/ endpoints for data fetching.