spidra-nuxt) brings AI web intelligence directly into Nuxt 3 and Nitro:
- Nuxt 3 Module: Built-in configuration with
runtimeConfigand automatic module registration. - Nitro Server Utility:
useServerSpidra(event)offers zero-boilerplate client access in server route handlers (server/api/*). - HMAC Webhook Handler:
defineSpidraWebhookHandler()verifies asynchronous crawl and batch signatures in Nitro handlers. - Full API Surface: Scrape, Crawl, SERP Search, Batch Scraping, Document Parsing, Domain Mapping, Turnkey Templates, Presets, and Monitors.
Installation
Get your API key from app.spidra.io under API Keys.
Store it in
.env or your runtime configuration.Configuration
Register the module and credentials innuxt.config.ts:
.env file:
Quickstart
1. In a Nitro Server Route
UseuseServerSpidra(event) inside any Nitro server API route:
2. Asynchronous Webhooks
Receive and verify crawl, batch, or monitor webhook events in Nitro:Complete Spidra Features Guide
1. Scraping with Browser Actions & Proxies
Bypass anti-bot mechanisms with residential proxies and interact with dynamic pages before extraction:2. Deep Site Crawling
Initiate recursive domain crawls with depth controls and path filtering:3. Real-Time SERP Web Search
Query web, news, and image indexes to ground AI workflows with fresh search data:4. High-Throughput Batch Scraping
Scrape multiple independent pages in parallel:5. Fast Domain Link Mapping
Discover all discoverable URLs across a domain without downloading full page bodies:6. Document Parsing
Extract clean markdown and tables from remote document URLs:7. Turnkey AI Templates & Scheduled Monitors
Execute pre-tuned extraction templates and automate recurring scrapes:Typed Error Handling
Catch and handle granular Spidra errors in Nitro event handlers:Related Frameworks
Next.js SDK
App Router, Pages Router, and Server Actions integration.
Remix SDK
Spidra loaders and actions for Remix and React Router.

