Self-sown API
API by Milk · rest
Public and agent-facing endpoints for Self-sown, a permissionless Bitcoin-native marketplace for local food built on Nostr. Programmatic marketplace participation (search, ordering, stall management) is provided by the Model Context Protocol (MCP) server at /api/mcp using JSON-RPC 2.0; the endpoints below cover discovery, feeds, and the MCP entry point.
Verification: observed. Source: crawl.
Capabilities (24)
- Google A2A agent card
- L402 discovery document (facilitator-agnostic HTTP 402 payments)
- MCP discovery document
- RFC 8414 authorization-server metadata
- Universal Commerce Protocol (UCP) discovery profile (catalog + checkout…
- x402 v2 discovery document (exact scheme Bitcoin Lightning lnbtc)
- Agent-auth identity assertion (auth.md flow step 1)
- Model Context Protocol JSON-RPC 2.0 endpoint
- MCP server status
- RFC 7009 token revocation (auth.md flow step 3)
- RFC 7523 jwt-bearer token exchange (auth.md flow step 2)
- UCP product lookup
- UCP catalog search
- List the authenticated key's checkout sessions
- Create a UCP checkout session
- Read one checkout session (creating key only)
- Complete a checkout session (owner-only)
- Retry an escalated checkout session (owner-only)
- JSON Schema for the UCP checkout session create request
- JSON Schema for the UCP checkout session shape
- JSON Schema for the UCP product shape
- Plain-text site description for LLMs
- RSS 2.0 feed of recent product listings
- XML sitemap