Sponsored by Deepsite.site

Satring

Created By
toadlyBroodle6 days ago
The best curated L402 + x402 API directory. Find, rate, and connect to paid APIs via Lightning (L402) or USDC on Base (x402). Discover 200+ reviewed, verified, paid, and live services, curated and tested via https://satring.com
Overview
 ___  __ _| |_ _ __(_)_ __   __ _
/ __|/ _` | __| '__| | '_ \ / _` |
\__ \ (_| | |_| |  | | | | | (_| |
|___/\__,_|\__|_|  |_|_| |_|\__, |
                             |___/  ⚡ L402 + x402

satring satring.com — the best curated L402 + x402 API directory. Find, rate, and connect to paid APIs via Lightning (L402) or USDC on Base (x402).

Satring helps AI agents and developers discover paid API services that accept payments via the L402 protocol (Bitcoin Lightning) or the x402 protocol (USDC on Base). Browse the curated directory, submit your service, and let agents find you.

Why

AI agents can now pay for APIs autonomously using Lightning. But there's no good way to discover what's available. Satring is the best curated directory for L402 and x402 paid APIs.

Features

  • Browse, search, and filter paid APIs by category, status, and protocol
  • Dual-protocol payments: L402 (Bitcoin Lightning) and x402 (USDC on Base) supported side by side
  • Submit services with payment gate (anti-spam), payable via either protocol
  • Ratings and reputation system (also payment-gated)
  • Edit your listing with secure edit tokens
  • Recover lost edit tokens via domain verification (.well-known/satring-verify)
  • Shared edit tokens across same-domain services; one token manages all your listings
  • JSON API for programmatic access and agent queries
  • Premium endpoints (bulk export, analytics, reputation) gated via L402 or x402
  • Per-service health analytics: uptime percentage, average latency, probe history
  • Health probing with automatic protocol detection (L402, x402, or both)
  • Service status tracking (live / confirmed / dead)

Quick Start

git clone https://github.com/toadlyBroodle/satring.git
cd satring
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env  # configure wallet keys, or leave defaults for test mode
uvicorn app.main:app --reload

Open http://localhost:8000

In test mode (AUTH_ROOT_KEY=test-mode), all payment gates are bypassed.

API

Full interactive docs at satring.com/docs.

Free endpoints

# List services (paginated, filterable by category, status, and protocol)
curl "https://satring.com/api/v1/services?category=search&status=live&protocol=L402&page=1&page_size=20"

# Search (also filterable by status and protocol)
curl "https://satring.com/api/v1/search?q=satring&protocol=X402"

# Service details
curl https://satring.com/api/v1/services/my-service

# List ratings
curl https://satring.com/api/v1/services/my-service/ratings

Payment-gated endpoints

These require payment via L402 or x402. Without auth headers, the server returns 402 with challenges for both protocols.

Option A: L402 (Lightning)

# Submit a service via L402
curl -X POST https://satring.com/api/v1/services \
  -H "Authorization: L402 <macaroon>:<preimage>" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "My API",
    "url": "https://api.example.com",
    "pricing_sats": 10,
    "pricing_model": "per-request",
    "protocol": "L402",
    "category_ids": [1, 2]
  }'

Option B: x402 (USDC on Base)

# Submit a service via x402
curl -X POST https://satring.com/api/v1/services \
  -H "PAYMENT-SIGNATURE: <base64-encoded-payment-json>" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "My API",
    "url": "https://api.example.com",
    "pricing_usd": "0.50",
    "pricing_model": "per-request",
    "protocol": "x402",
    "x402_network": "eip155:8453",
    "x402_asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "x402_pay_to": "0xYourWalletAddress",
    "category_ids": [1, 2]
  }'

Other gated operations

# Link to existing service on same domain (L402 or x402 auth)
curl -X POST https://satring.com/api/v1/services \
  -H "Authorization: L402 <macaroon>:<preimage>" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "My Other API",
    "url": "https://api.example.com/v2",
    "existing_edit_token": "your-token-from-first-service"
  }'

# Edit a service
curl -X PATCH https://satring.com/api/v1/services/my-api \
  -H "X-Edit-Token: your-edit-token" \
  -H "Content-Type: application/json" \
  -d '{"description": "Updated description"}'

# Bulk export (use -i to see payment challenges in headers)
curl -i https://satring.com/api/v1/services/bulk

# Directory analytics (totals, health overview, pricing stats by protocol, growth, leaderboards, route usage)
curl -i https://satring.com/api/v1/analytics

# Per-service health analytics (uptime %, avg latency, probe history)
curl -i https://satring.com/api/v1/services/my-service/analytics

# Service reputation (rating distribution, monthly trends, peer comparison, review activity)
curl -i https://satring.com/api/v1/services/my-service/reputation

Token recovery

If you lose your edit token, or want to edit a pre-seeded endpoint, prove domain ownership to get a new one:

# 1. Generate a challenge
curl -X POST https://satring.com/api/v1/services/my-service/recover/generate

# 2. Place the challenge code at your-domain.com/.well-known/satring-verify

# 3. Verify — new token is applied to ALL services on the same domain
curl -X POST https://satring.com/api/v1/services/my-service/recover/verify

Configuration

Environment variables (see .env):

VariableDefaultDescription
DATABASE_URLsqlite+aiosqlite:///./db/sr.dbDatabase connection string
PAYMENT_URLWallet instance URL
PAYMENT_KEYWallet invoice/read key
AUTH_ROOT_KEYtest-modeSet to wallet key for production; test-mode bypasses payments
AUTH_SUBMIT_PRICE_SATS1000Cost to submit a service
AUTH_REVIEW_PRICE_SATS10Cost to submit a review
AUTH_BULK_PRICE_SATS5000Cost for bulk export
AUTH_ANALYTICS_PRICE_SATS500Cost for directory analytics
AUTH_SERVICE_ANALYTICS_PRICE_SATS50Cost for per-service health analytics
AUTH_REPUTATION_PRICE_SATS100Cost for reputation lookup
AUTH_PRICE_SATS100Default price for premium endpoints
X402_FACILITATOR_URLhttps://facilitator.xpay.shx402 facilitator endpoint
X402_PAY_TOUSDC wallet address (empty = x402 disabled)
X402_NETWORKeip155:8453Chain ID (default: Base mainnet)
X402_ASSET0x8335...2913USDC contract address on Base
AUTH_SUBMIT_PRICE_USD0.50x402 cost to submit a service
AUTH_REVIEW_PRICE_USD0.01x402 cost to submit a review
AUTH_BULK_PRICE_USD2.50x402 cost for bulk export
AUTH_ANALYTICS_PRICE_USD0.25x402 cost for directory analytics
AUTH_SERVICE_ANALYTICS_PRICE_USD0.025x402 cost for per-service health analytics
AUTH_REPUTATION_PRICE_USD0.05x402 cost for reputation lookup

MCP Server

The satring-mcp package lets AI agents discover and compare services from the directory programmatically via the Model Context Protocol.

pipx install satring-mcp
# or
pip install satring-mcp

Then add to your Claude Desktop claude_desktop_config.json or Claude Code .claude/settings.json:

{
  "mcpServers": {
    "satring": {
      "command": "satring-mcp"
    }
  }
}

Tools: discover_services, list_services, get_service, get_ratings, list_categories, compare_services, find_best_service. See mcp/README.md for full docs.

PyPI

Tech Stack

  • FastAPI + Jinja2 + HTMX: server-rendered with progressive enhancement
  • SQLAlchemy (async) + SQLite: simple, no external DB needed
  • L402 / Macaroons: Lightning-native authentication via pymacaroons
  • x402 / USDC on Base: stablecoin payments via xpay.sh facilitator
  • Tailwind CSS (browser CDN): terminal-themed green-on-black UI

Contributing

All contributions welcome!

License

MIT

Server Config

{
  "mcpServers": {
    "satring": {
      "command": "satring-mcp"
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
CursorThe AI Code Editor
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Serper MCP ServerA Serper MCP Server
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Tavily Mcp
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
WindsurfThe new purpose-built IDE to harness magic
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright McpPlaywright MCP server
ChatWiseThe second fastest AI chatbot™
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Amap Maps高德地图官方 MCP Server
DeepChatYour AI Partner on Desktop