TX
TragenX

Trade AI Models Like Stocks on Bitcoin

Own fractions of AI models, earn from every inference, and power autonomous agents with Bitcoin micropayments. Built on Stacks L2 with x402 protocol.

Explore ModelsDeveloper Docs

Four steps to monetization

01

Discover

Browse AI models and check pricing via marketplace API.

02

402 Response

Server returns payment requirements with amount and recipient.

03

Pay & Sign

Agent signs transaction using STX, sBTC, or USDCx wallet.

04

Get Results

Payment verified on-chain, inference results delivered instantly.

Discover AI APIs

View All

Premium AI Models

Real-time BTC predictions, mempool optimization, sBTC yield strategies, and Stacks ecosystem analytics—powered by machine learning with per-inference billing.

Explore All Bitcoin Models →

More AI Capabilities

Multi-Asset Support

â‚¿

sBTC

Bitcoin Wrapped

Native Bitcoin liquidity for high-value AI transactions.

✦

STX

Stacks Native

Primary token with built-in stacking yield integration.

$

USDCx

Stable Pricing

Dollar-pegged payments for predictable AI costs.

Simple integration, powerful results

Deploy x402-stacks middleware to any Express API and start accepting Bitcoin micropayments in STX, sBTC, or USDCx. Zero subscriptions, zero API keys—just pure HTTP payments.

npm install x402-stacks
server.ts
import express from "express";
import { paymentMiddleware } from "x402-stacks";

const app = express();

app.use(paymentMiddleware(
  "SP2J6ZY48GV1EZ5V2V5RB9MP66SW86PYKKNRV9EJ7",
  {
    "/api/summarize": {
      price: "0.005",
      token: "STX",
      network: "stacks-mainnet",
    },
  }
));

app.post("/api/summarize", (req, res) => {
  const result = processText(req.body.text);
  res.json({ summary: result });
});

app.listen(3001);

Ready to build?

Deploy your AI model to the marketplace or integrate existing models with Bitcoin-powered micropayments.

Deploy ModelExplore Marketplace