Integrations
Add x402 paywalls to your stack
Keep your own URLs. Humans pay in the browser with USDC. Bots and AI agents pay via HTTP 402 on your domain — adapters call smidgen; the gate is not the public URL you hand out.
How it fits together
Humans (browser)
snippet.js collects USDC via MetaMask or Phantom. On WordPress, unpaid post HTML is withheld server-side (teaser only) — not just blurred in the browser.
Bots & agents
Adapters on your domain return HTTP 402 with x402 payment instructions — no JavaScript required. Direct gate URLs are agents/advanced only.
Any website
Drop a single script tag on any site for human paywalls. Add nginx/Caddy/Apache (or another adapter) so bots get HTTP 402 on your domain.
WordPress
Mark posts as paid in the editor — the plugin withholds content, syncs the smidgen rule, and returns HTTP 402 to bots on your post URL.
Next.js
Middleware returns HTTP 402 for agents while browsers use the same snippet paywall UI as static sites.
PHP / Laravel
Composer package enforces payment on your routes before serving premium content.
Cloudflare Worker
Deploy the worker on your Cloudflare zone so bots hit your domain. Hosted edge.smidgen.io is demo-only.
Origin servers
Enforce HTTP 402 on your own domain with a reverse proxy — best fit for static HTML, Webflow exports, and custom hosts.
nginx
Hybrid proxy so unpaid bots get HTTP 402 on your domain — recommended for static HTML.
Caddy
Forward premium paths through the smidgen gate with unlock cookies — same hybrid pattern as nginx.
Apache
Origin enforcement for Apache hosts — same unlock-cookie hybrid pattern as nginx.