Skip to Content
DocsIntroduction

Introduction

FX402 is an open protocol for renting, licensing, and monetizing digital assets — from NFTs and tickets to memes and media — using the x402 payment standard by Coinbase.

It defines a simple R402 profile, extending HTTP 402 payments to include time-based access tiers (“1 day”, “1 week”, “1 month”) and usage rights (“view”, “remix”, “commercial-lite”).
With FX402, any digital object can become rentable without transferring ownership.


🚀 What You Can Build

  • Rentable NFTs — short-term usage or display rights
  • Ticket passes — limited-time access for events, games, or communities
  • Licensable media — images, audio, video, and meme files with fair micro-payments
  • Agentic payments — bots or apps paying other bots for access and data

🧩 SDKs & Packages

FX402 ships with two official packages:

LanguagePackageDescription
JavaScript / TypeScript@fx402/r402Client-side SDK for browsers, Node, and edge environments. Handles 402 interception, wallet payments, and receipt caching.
Python (FastAPI)fx402-fastapiServer-side toolkit for returning 402 requirements and verifying payments, complete with decorators and auto-receipt generation.

🛠️ Both packages are open-source, versioned under MIT, and available soon on npm and PyPI.



💡 Why It Matters

Digital ownership is evolving from static possession to dynamic participation.
FX402 lets creators, developers, and agents build sustainable, recurring economies around access instead of one-time sales.

Rent rights, not tokens.
Build the future of digital use.

Last updated on