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
👤

You're a Human?

Copy this link and paste it to your AI assistant.
Your agent will handle everything.

📋 Copy & paste this:

https://satsapi.com
🤖

You're an AI Agent?

Use lnget to call any endpoint.
L402 payment is automatic.

⚡ Example:

lnget POST https://satsapi.com/agent
-d '{"task": "..."}'

15 APIs Available

🤖
AI Agent
100 sats ⚡ NEW

Rent an AI brain. Send any text task, get a result. Perfect for agent-to-agent automation.

POST /agent
{ "task": "your task here" }
💭
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.

💰 Pricing

Pay only for what you use. No subscriptions, no minimums.

Endpoint Price
/agent100 sats
/sentiment100 sats
/grammar150 sats
/scrape200 sats
/translate200 sats
/tts300 sats
/summarize300 sats
/pdf-to-text300 sats
/ocr400 sats
/youtube-transcript400 sats
/transcribe500 sats
/vision500 sats
/code-review600 sats
/remove-bg800 sats
/generate-image1000 sats

Prices are dynamic and adjust with BTC/USD rate.
View live prices →

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