L402 Protocol · Lightning Network

๐Ÿฆ–โšก

Velocibot Agent Services

Data APIs and tools for AI agents.
Pay per request with Lightning. No accounts needed.

Try it โ€” get a Lightning invoice
# Make a request, receive a 402 + Lightning invoice
$ curl -s https://nautdev.com/api/v1/sanctions/check?name=John+Doe

# Response: HTTP 402 Payment Required
{
  "invoice": "lnbc1000n1p...",
  "amount": 100,
  "description": "Sanctions check: 100 sats"
}

Services

Production-grade data APIs purpose-built for autonomous agents

L402 Data APIs pay-per-request via Lightning

Endpoint: https://nautdev.com โœ… live

๐Ÿ›ก๏ธ

Sanctions Screening

100 sats ~$0.001

Check names against the OFAC SDN list (18,706+ entries). Real-time screening for agent financial transactions.

GET /api/v1/sanctions/check?name=<name>&country=<country>
Example
$ curl -H "Authorization: L402 <macaroon>:<preimage>" \
  "https://nautdev.com/api/v1/sanctions/check?name=John+Doe"

{
  "matches": [],
  "checked": 18706,
  "status": "clear"
}
๐ŸŒŠ

Marine Weather

50 sats ~$0.0005

NOAA marine forecasts for US coastal locations. Wind, waves, temperature, extended outlook.

GET /api/v1/weather/marine?lat=<lat>&lon=<lon>
Example
$ curl -H "Authorization: L402 <macaroon>:<preimage>" \
  "https://nautdev.com/api/v1/weather/marine?lat=18.4&lon=-64.6"

{
  "location": "Virgin Islands Waters",
  "wind": "E 15-20kt",
  "seas": "4-6ft",
  "outlook": "Moderate trades continuing"
}
๐Ÿข

Company Search

75 sats ~$0.0008

Business entity registration search across US states. Delaware, California, New York โ€” more states coming.

GET /api/v1/company/search?state=<state>&name=<name>
Example
$ curl -H "Authorization: L402 <macaroon>:<preimage>" \
  "https://nautdev.com/api/v1/company/search?state=DE&name=Acme"

{
  "results": [
    { "name": "ACME CORP", "state": "DE", "status": "Active" }
  ],
  "count": 1
}
โœˆ๏ธ

Aviation Weather

5 sats ~$0.00005

METAR and TAF reports for any airport worldwide. Real-time conditions and forecasts for flight planning.

GET /api/v1/weather/aviation/metar?station=<ICAO>
๐Ÿ“Š

Crypto Market Data

5 sats ~$0.00005

Live cryptocurrency prices, market data, and exchange rates. Bitcoin, Ethereum, and major altcoins.

GET /api/v1/crypto/price?symbol=<symbol>
๐Ÿ”

Domain Intelligence

10 sats ~$0.0001

WHOIS lookups, domain availability, registrar info, expiration dates. Essential for due diligence.

GET /api/v1/domain/lookup?domain=<domain>
๐Ÿง 

LLM Inference

50 sats ~$0.0005

Access 6 local LLM models โ€” Llama, Qwen, DeepSeek, Mistral, Command-R, Devstral. Your prompts never leave our hardware.

POST /api/v1/llm/chat
๐ŸŽฏ

Prediction Markets

5 sats ~$0.00005

Prediction market data and probabilities. Track real-time sentiment on events and outcomes.

GET /api/v1/predictions

MCP Skills install locally

Model Context Protocol tools your agent can use directly

@vbotholemu/mcp-sanctions-check โœ… on npm
@vbotholemu/mcp-marine-weather โœ… on npm
@vbotholemu/mcp-charter-planner โœ… on npm BVI sailing expertise! ๐Ÿ๏ธ
@vbotholemu/mcp-aviation-weather โœ… on npm
@vbotholemu/mcp-company-search โœ… on npm
@vbotholemu/mcp-crypto-data โœ… on npm
@vbotholemu/mcp-domain-intel โœ… on npm
@vbotholemu/mcp-llm-inference โœ… on npm

Install any package: npm i @vbotholemu/mcp-sanctions-check

How It Works

The L402 protocol in 5 steps โ€” no signup, no API keys, just Lightning

1

Discover

Agent discovers the API endpoint and available services via OpenAPI spec.

2

Request

Agent makes a request โ†’ receives HTTP 402 Payment Required with a Lightning invoice.

3

Pay

Agent pays the Lightning invoice (50โ€“100 sats, ~$0.0005โ€“$0.001). Instant settlement.

4

Authenticate

Agent receives an L402 macaroon โ€” a cryptographic access token tied to the payment.

5

Access

Agent re-sends the request with the macaroon โ†’ receives the data. Done.

Full agent integration flow
# Step 1-2: Make initial request
$ curl -si https://nautdev.com/api/v1/sanctions/check?name=John+Doe
# โ†’ HTTP/1.1 402 Payment Required
# โ†’ Www-Authenticate: L402 macaroon="...", invoice="lnbc1000n1p..."

# Step 3: Pay the invoice with any Lightning wallet/node
$ lncli payinvoice lnbc1000n1p...
# โ†’ Payment preimage: abc123def456...

# Step 4-5: Re-send with L402 credentials
$ curl -H "Authorization: L402 <macaroon>:<preimage>" \
  https://nautdev.com/api/v1/sanctions/check?name=John+Doe
# โ†’ HTTP/1.1 200 OK
# โ†’ { "matches": [], "status": "clear" }

Pricing

Simple per-request pricing. No subscriptions. No minimums. Pay exactly for what you use.

Endpoint Price (sats) ~USD Description
/api/v1/sanctions/check 100 โšก $0.001 OFAC SDN sanctions screening
/api/v1/weather/marine 50 โšก $0.0005 NOAA marine forecasts
/api/v1/company/search 75 โšก $0.0008 US business entity search
/api/v1/weather/aviation 5 โšก $0.00005 METAR/TAF aviation weather
/api/v1/crypto/price 5 โšก $0.00005 Cryptocurrency market data
/api/v1/domain/lookup 10 โšก $0.0001 Domain WHOIS intelligence
/api/v1/llm/chat 50 โšก $0.0005 LLM inference (6 models)
/api/v1/predictions 5 โšก $0.00005 Prediction market data

Prices in satoshis (1 sat = 0.00000001 BTC). USD estimates based on current exchange rates. Lightning payments settle instantly with near-zero fees.

Technical Details

Everything you need to integrate

Protocol
L402 (formerly LSAT)
Payment
Bitcoin Lightning Network
Authentication
Macaroon-based No API keys, no accounts
Response Format
JSON
Rate Limits
100 requests / 15 min / IP
OpenAPI Spec
/openapi.json
Python agent integration
import httpx
from l402 import L402Client

# L402-aware HTTP client handles 402 โ†’ pay โ†’ retry automatically
client = L402Client(
    lnd_host="localhost:10009",
    macaroon_path="~/.lnd/data/chain/bitcoin/mainnet/admin.macaroon"
)

# Just make the request โ€” payment is handled transparently
response = client.get(
    "https://nautdev.com/api/v1/sanctions/check",
    params={"name": "John Doe", "country": "US"}
)

print(response.json())
# โ†’ {"matches": [], "checked": 18706, "status": "clear"}