FeaturesAI ModelsSDKPricing

Legal

The Lightning platform for everyone

Bitcoin Lightning, for users & builders

Claim your lightning address and get paid like email. Integrate payments with one API. And use 500+ AI models paid per query in sats. Non-custodial by design.

charge.ts
@zapapi/sdk
$npm install @zapapi/sdk
import { ZapAPI } from '@zapapi/sdk';
const zap = new ZapAPI(process.env.ZAPAPI_KEY);
// Create a Lightning invoice — fully typed
// Settles to your project’s settlement wallet
const invoice = await zap.invoices.create({
amount: 21000, description: 'Pro plan',
}, 'order-4821');
console.log(invoice.paymentRequest); // lnbc210n1…
Zero dependencies · Node 18+ · browsers · TypeScript-native
No credit card required
Free tier available
npm i @zapapi/sdk
Features

Everything on one platform

Payments, creator monetization, and the AI gateway — every feature, priced in sats

Lightning Invoices

BOLT-11 invoices with expiry, metadata, fiat pricing and idempotent settlement. Paid from any wallet.

Payment Links & Checkout

Reusable shareable checkout URLs with hosted pages, QR codes, and webhook-driven fulfillment.

Signed Webhooks

Stripe-style HMAC-signed events with automatic retries, replay and full delivery logs.

AI Chat — 500+ Models

GPT, Claude, Gemini, Grok, DeepSeek and more through one OpenAI-compatible API. Streaming built in.

AI Vision & Image Gen

Attach screenshots to vision models, generate images, and use thinking levels on reasoning models.

Sats Pricing — AI & Platform

Every AI query and every plan priced in sats. Live prices, per-component itemization, no hidden fees.

Lightning Addresses

Claim you@zapapi.app — receive from any wallet, with NIP-05 identity and zaps built in.

Bio Pages & Tipping

Link-in-bio pages with tip jars, subscriptions, paywalls and a supporter CRM for creators.

Wallets, Swaps & NWC

Multi-wallet management, NWC connections, submarine swaps and one-click withdrawals.

NWC Auto-Topup

Never run out of AI credit — auto-refill from your Nostr-connected wallet with daily caps.

AI Tools — Pay Per Call

Image & video generation, 600+ language TTS, translation and OCR — quoted in sats upfront.

Secure by Default

Hashed API keys, AES-256-encrypted credentials, scoped permissions, RBAC and audit trails.

Typed SDK & OpenAI-Compat

@zapapi/sdk covers every API — and any OpenAI tool works against the AI gateway base URL.

New — AI Gateway

Every AI model, paid in sats

500+ models from OpenAI, Anthropic, Google, xAI, DeepSeek and more — one OpenAI-compatible API, pay-per-query with Lightning. No subscriptions, no markups you can't see.

  • Live prices in sats — see exactly what every query costs
  • Vision, image-gen, thinking levels & web search built in
  • Top up from 100 sats · NWC auto-topup · +5% Lightning bonus
Live model pricessats / 1M tokens
DeepSeek V4 Flashcheap
~56 sats
Claude Sonnet 5.5popular
~2.6k sats
Gemini 3.1 Flash Imagevision
~470 sats
NVIDIA Nemotron (free)free
2 sats/query
See the full live catalog →

Built-in AI tools — models that do things, not just say things

Web search
Real-time results in any model
Web fetch
Pull any URL into context
Function calling
Models call YOUR code, typed
Image generation
Images from any model
Shell & code exec
Sandboxed hosted shell
Subagents
Delegate to faster models
Multi-model fusion
Models deliberate together
Tool search
Models discover tools on demand
New — AI Tools

AI that does things. Priced per call.

Beyond chat: generate images and video, speak 600+ languages, translate, extract text with OCR, and more — every call quoted in sats upfront, confirmed by you, and itemized in your usage history.

  • Live quote in sats before every call — never a surprise charge
  • Destructive actions (SMS, calls, email) need your explicit confirmation
  • Same AI credit balance — no second wallet, no subscriptions
Image generation
from ~50 sats
Video & 3D
per second
Voice & TTS
600+ languages
Translation
per 1M chars
OCR & extract
per page
Music & audio
per track
Official TypeScript SDK

Ship payments with three lines of code

The @zapapi/sdk package wraps the whole API with full TypeScript types, automatic retries via idempotency keys, and built-in webhook signature verification. Zero runtime dependencies — works in Node 18+, Deno, Bun, and the browser.

  • Invoices, refunds, payment links, customers & webhooks
  • Typed errors: isRateLimited, isForbidden, isConflict
  • Stripe-style webhook verification out of the box
webhook.ts
// Verify webhook signatures (Express)
import { ZapAPI } from '@zapapi/sdk';
app.post('/hooks/zapapi', express.raw({ type: 'application/json' }),
(req, res) => {
const ok = ZapAPI.webhooks.verify(
req.body.toString(),
req.headers['x-zapapi-signature'],
process.env.ZAPAPI_WEBHOOK_SECRET,
);
if (!ok) return res.sendStatus(400);
// …handle invoice.paid
res.json({ received: true });
});
npm i @zapapi/sdk
One platform

Three products. One Lightning core.

Everything settles over Lightning — payments, creator earnings, and AI queries.

For developers & merchants

Payments

The merchant gateway: invoices, payment links, refunds, customers and hosted checkout — with signed webhooks and a typed SDK.

  • BOLT-11 invoices & payment links
  • Projects, scoped API keys, test mode
  • HMAC webhooks with retries & replay
  • Refunds, customers, analytics
For influencers & builders

Creator

Everything a creator needs to get paid: bio pages, tip jars, subscriptions, paywalls, and a lightning address everyone can zap.

  • Free you@zapapi.app address
  • Bio pages, tips & subscriptions
  • Paywalls & address marketplace
  • App directory with zap ranking
For everyone using AI

AI Gateway

500+ models through one OpenAI-compatible API — chat, vision, image generation, thinking levels and web search, paid per query in sats.

  • Live sats pricing per 1M tokens
  • Vision, image-gen & thinking levels
  • Web search & routing preferences
  • Lightning topups + NWC auto-topup
New — Address Marketplace

Get your name@domain lightning address

One search across every lightning address provider. Claim free on zapapi.app or buy a premium domain — paid straight to the provider over Lightning. Works with every wallet, resolves for payments and nostr identity.

  • Free address on zapapi.app with every account
  • Real prices across all registered providers
  • Providers get paid directly — 100%, no custody
alice
alice@zapapi.app first-party
FREE
alice@ln.nostrfeed.com
2,100 sats/yr
alice@getzap.me
10,000 sats/yr
Live results on the marketplace →
How It Works

Start Accepting Payments in Minutes

Four simple steps to integrate Lightning payments into your application

01

Create Account

Sign up and create your first project in seconds.

02

Connect Provider

Link your Lightning node or LNbits wallet securely.

03

Create Invoice

Generate Lightning invoices with a single API call.

04

Receive Webhooks

Get notified when payments are confirmed.

Pricing

Simple pricing, paid in sats

One plan covers the whole platform — API, addresses, directory, wallet. Annual = 2 months free. No hidden fees, no custody, no tx-fee cuts ever.

Free

Free

Get started, stay forever

  • 1,000 API calls/mo · 1 project · 1 connection
  • 1 free address on zapapi.app
  • 1 app listing in the directory
  • 1 wallet · 5 payment links · 1 bio page
  • Marketplace fee: 5%
Start Free

Zap

2,100sats/mo

The consumer upgrade

  • 3 first-party addresses
  • 3 app listings + 1 free boost/mo
  • 3 wallets · 25 payment links · 3 bio pages
  • Zap badge on listings + bio
  • Marketplace fee: 4%
Get Zap
Most Popular

Pro

21,000sats/mo

The builder tier

  • 100k API calls/mo · 10 projects · 5 connections
  • 30-day logs · webhook replay · advanced analytics
  • 10 first-party addresses
  • 10 listings + 1 free 5k boost/mo + fast-lane review
  • 10 wallets · unlimited links
  • Marketplace fee: 2%
Get Pro

Business

69,000sats/mo

Teams & high volume

  • 1M API calls/mo · unlimited projects & connections
  • 90-day logs · audit logs · 5 team seats · SLA
  • Unlimited addresses · premium names 50% off
  • Unlimited listings + 1 free 20k boost/mo
  • 25 wallets · 24/7 support
  • Marketplace fee: 1%
Get Business

Lightning in your inbox

Product updates, engineering deep-dives, and Lightning Network guides — once in a while, never spam.

🔒 We respect your privacy. Unsubscribe anytime with one click.

Ready to Accept Lightning Payments?

Join developers building the future of Bitcoin payments. Start integrating in minutes.