mocop
Browse · Docs · Guide · Analyze

bitSimp API

API by bitSimp · rest

bitSimp is a Bitcoin-only anonymous peer-to-peer content marketplace. Creators post content behind a price wall denominated in satoshis; buyers pay with the Lightning Network. This document describes the public HTTP API of bitsimp.com. Authentication bitSimp is passwordless. Authentication is performed by proving ownership of a secp256k1 key pair, using one of two methods: 1. LNURL-auth (Lightning) — ECDSA over secp256k1, DER-encoded signatures, 33-byte compressed public keys. See /api/auth/lightning/lnurl-auth/*. 2. NIP-07 (Nostr) — BIP-340 Schnorr signatures over secp256k1 (NIP-01/NIP-42), 32-byte x-only public keys. See /api/auth/nostr/nip-07/*. Both methods share the same challenge flow: 1. GET .../challenge — obtain a fresh random 64-char hex challenge (5-minute TTL, single-use). 2. Sign the challenge with your private key (LNURL: ECDSA DER; Nostr: Schnorr event with the challenge in content or a ["challenge", …] tag). 3. POST .../login — one call…

Endpoint: https://bitsimp.com/

Verification: observed. Source: crawl.

Capabilities (31)

  • NextAuth lightning provider callback (two-phase flow)
  • Get CSRF token
  • Issue an LNURL-auth challenge
  • LNURL-auth single-call login (headless / LLM agents)
  • LNURL-auth wallet callback (LUD-04)
  • Verify an LNURL-auth signature (two-phase flow)
  • Unlink a sign-in method from the authenticated Account
  • Issue a link challenge and LNURL for a Lightning key
  • Link a Lightning key to the authenticated Account
  • Lightning link wallet callback (LUD-04)
  • Issue a link challenge for a Nostr key
  • Link a Nostr key to the authenticated Account
  • Issue a NIP-07 auth challenge
  • NIP-07 single-call login (headless / LLM agents)
  • Verify a signed Nostr event (NIP-01/NIP-42)
  • Get current session
  • Sign in via NextAuth provider
  • Sign out
  • List comments for a post
  • Current user account id alias and balance
  • OpenNode withdrawal webhook (LNURL-withdraw)
  • List posts (feed)
  • Create a post
  • Get a single post
  • Edit your post
About · Contact · Privacy