SatsAPI

Pay-per-use AI APIs powered by Bitcoin Lightning

No subscriptions. No API keys. Just pay and use.

🔓
No signup required
Instant payments
🌍
Works globally
🔒
Privacy-first

15 APIs Available

💭
Sentiment Analysis
100 sats

Analyze text sentiment: positive/negative/neutral with confidence score.

POST /sentiment
✏️
Grammar Check
150 sats NEW

Fix grammar, spelling, and punctuation errors in any language.

POST /grammar
🌐
Web Scraper
200 sats

Extract clean text content from any webpage. Perfect for AI agents.

POST /scrape
🌍
Translation
200 sats

Translate text between 100+ languages with high accuracy.

POST /translate
🔊
Text-to-Speech
300 sats

Convert text to speech. 6 natural voices, adjustable speed.

POST /tts
📝
Summarize
300 sats

Get concise summaries of long texts. Adjustable length.

POST /summarize
📄
PDF to Text
300 sats NEW

Extract text content from PDF files. Returns plain text.

POST /pdf-to-text
🔍
OCR
400 sats NEW

Extract text from images using GPT-4 Vision. Any language.

POST /ocr
📺
YouTube Transcript
400 sats NEW

Get the full transcript of any YouTube video with captions.

POST /youtube-transcript
🎤
Speech-to-Text
500 sats

Transcribe audio with Whisper. 50+ languages supported.

POST /transcribe
👁️
Vision
500 sats NEW

Analyze images with GPT-4 Vision. Ask questions about any image.

POST /vision
💻
Code Review
600 sats NEW

Review code for bugs, security issues, and performance.

POST /code-review
🎭
Remove Background
800 sats NEW

Remove background from any image. Returns transparent PNG.

POST /remove-bg
🎨
Image Generation
1000 sats

Generate images from text with DALL-E 3. High quality.

POST /generate-image

How It Works

1

Make a Request

Send your API request. You'll get a 402 response with a Lightning invoice.

2

Pay the Invoice

Pay with any Lightning wallet (Phoenix, WoS, Breez, etc.). Takes ~1 second.

3

Get Your Result

Payment confirmed → API processes your request → Result returned instantly.

Quick Start

# 1. Make request (returns 402 + Lightning invoice)
curl -X POST https://satsapi.com/transcribe \
  -F "audio=@recording.mp3"

# 2. Pay the invoice from the WWW-Authenticate header
# 3. Use L402 tools (lnget, Alby, etc.) for automatic payment

# Or check available endpoints:
curl https://satsapi.com/pricing