ZapAPI Docs
Get StartedConceptsAI GatewayGuidesPayment GatewaySDKAPI ReferenceResources

Introduction

ZapAPI is the Lightning platform for everyone — a payment gateway for developers, monetization tools for creators, and an AI gateway paid per query in sats.

ZapAPI is the Lightning platform for everyone. Three product surfaces on one payment core: a merchant payment gateway for developers, creator monetization tools, and an AI gateway with 500+ models paid per query in Bitcoin sats. Non-custodial by design — no subscriptions required anywhere.

Get started in minutes

The three surfaces

Why ZapAPI

  • Built for developers. Idempotency keys, cursor pagination, deterministic errors, typed SDKs, sandboxed test mode, and signed webhooks that behave like the payment APIs you already know.
  • Lightning-native, end to end. BOLT-11 invoices, LNURL-pay, NIP-57 zaps, NWC (NIP-47) subscriptions and on-chain swaps — all in one platform.
  • Self-custody friendly. Connect your own node or NWC wallet; withdraw anytime. We never hold keys you don't give us.
  • Pay per use, everywhere. Payments settle directly, AI is billed per query in sats, and the platform itself is priced in sats — no forced subscriptions.

Generated from a live OpenAPI spec

The API reference under API Reference is generated from the same OpenAPI spec that runs in production, so the docs always match the live API.

Where to go next

On this page