spidra-fastify) provides a first-class plugin for Fastify applications:
spidraPlugin: Decoratesfastify.spidraandrequest.spidrawith the official client.- Turnkey Routes: Optional
routes: trueregisters/spidra/scrape,/spidra/crawl,/spidra/search,/spidra/batch,/spidra/map,/spidra/parse,/spidra/account, and/spidra/usageautomatically. - HMAC Webhook Verification: Built-in verification for
X-Spidra-Signatureon asynchronous crawl and batch events.
Installation
Get your API key from app.spidra.io under API Keys.
Store it in your environment variables.
Configuration
Set environment variables in.env:
Quickstart
1. Register plugin & decorate instance
2. Turnkey REST endpoints
Mount all Spidra REST API endpoints under/api/spidra in one line:
Scraping & browser actions
Deep site crawling
Live SERP & web search
Batch scraping
Domain mapping
Document parsing (PDF, Word, Excel)
Turnkey templates & monitors
Error handling
NestJS
NestJS dynamic modules, injectable service, and webhook guard.
Hono
Cloudflare Workers and edge-ready web standard middleware.

