Hi Stackers! I’m building P.I.M.P. Services, a small experiment in letting programs and AI agents buy access to Bitcoin market data using Lightning and L402.
The first endpoint provides BTC RSI(14) based on hourly candles, using LNMarkets as the market-data source. It returns JSON with the RSI, latest candle timestamp, last close, candle count and snapshot age.
The public testnet flow works:
Request → HTTP 402 + Lightning invoice → payment → authenticated request → HTTP 200 + JSON.
Access costs 25 testnet sats. We also tested reusing the same paid token: one payment, two successful authenticated requests. This is therefore paid access with a reusable token, not a fresh charge for every request. Longer-term access limits are still being documented.
Product page and first-request demo:
https://andyzyklisch.de/pimp
Endpoint:
https://pimp.andyzyklisch.de/v1/btc/rsi14
The button on the product page tests the unpaid request only. Completing the payment flow requires a compatible testnet Lightning setup and a client that can retrieve the payment preimage.
I’m looking for a few developers willing to try the integration and tell me where it breaks or becomes confusing. This is an early beta; the onboarding documentation is still being refined, and I’m happy to help with setup.
Would this fit any of your projects? What would be more useful next: a market snapshot, an indicator bundle, or something else entirely?
Testnet only. No mainnet payments. No uptime guarantee. This is a technical indicator, not financial advice.
Update: P.I.M.P. Services now supports an x402 Lightning testnet endpoint alongside the existing L402 endpoint.
Our public end-to-end test passed: HTTP 402 → Lightning payment → verified BTC RSI14 data (1-hour candles, LNMarkets source).
Price: 25 testnet sats per x402 request, plus routing fees. Our test paid 1.1 sats in routing fees. L402 retains its separate reusable-access model.
I’m looking for independent testers with a Bitcoin testnet LND node and a payable Lightning route. Can you complete a purchase using the published Python client and instructions? Where does the setup get confusing?
Guide and client download:
https://andyzyklisch.de/en/pimp#x402
This is an experimental testnet implementation. Compatibility with arbitrary x402 clients has not been verified. No mainnet payments.
Please share your result or error message, but never credentials, preimages or client state files.