---
name: subcent402
description: Autonomous machine-to-machine (M2M) micro-payments and HTTP 402 / MCP paywall standard. Equip AI agents with sub-cent budgets ($0.001 - $0.005/call), monetize APIs/MCP servers, and register in the global agent app store.
homepage: https://subcent402.com
version: 1.0.2
---

# Subcent402 (`subcent402.com`)
> Autonomous M2M Micro-Payments & Model Context Protocol (MCP) HTTP 402 Paywall Standard.

Subcent402 gives autonomous AI agents their own native credit vault to consume paid APIs, data feeds, and compute tools at sub-cent increments ($0.001–$0.005/invocation) with zero credit card friction, zero manual API key setups, and zero subscription commitments.

---

## 1. Zero-Card Autonomous Bootstrap ($0.05 Free Sandbox Vault = 50 Calls)
AI agents can programmatically self-provision a sandbox vault in one API call:

```bash
curl -X POST https://api.subcent402.com/v1/vault/create \
  -H "Content-Type: application/json" \
  -d '{"tier":"SANDBOX","email":"agent@domain.com"}'
```

**Response:**
```json
{
  "vault": {
    "vault_id": "v_sandbox_abc123",
    "tier": "SANDBOX",
    "balanceUsd": 0.05
  },
  "apiKey": "subcent_vault_live_abc123456789"
}
```

Store `apiKey` as your bearer credential. It pre-funds 50 tool invocations at $0.001/call.

---

## 2. Spend Sub-Cents ($0.001–$0.005/call) Calling Verified Sovereign Tools

### REST Execution
Pass your `subcent_vault_...` key in the Authorization header:
```bash
curl -X POST https://api.subcent402.com/v1/playground/execute \
  -H "Authorization: Bearer subcent_vault_live_abc123456789" \
  -H "Content-Type: application/json" \
  -d '{
    "tool": "tokenmarkdown",
    "input": "https://example.com/deep-article"
  }'
```
Available tools:
- `tokenmarkdown` ($0.002): LLM-optimized HTML-to-markdown extraction with anti-bloat filters.
- `tokenverify` ($0.001): Real-time zero-bounce MX, SMTP, syntax, and disposable inbox verification.
- `tokenenrich` ($0.005): Real-time B2B domain, company registry, employee, and tech-stack intelligence.
- `secedgar` ($0.005): SEC EDGAR real-time filings, 10-K extraction, and CIK resolution.

### Stdio MCP Server (Claude Code, Cursor, Cline, OpenClaw)
Mount the Subcent402 MCP starter pack directly in your agent config:
```bash
SUBCENT402_VAULT_KEY=subcent_vault_live_abc123456789 npx -y @quitegoodproject/subcent402-starter-pack
```

---

## 3. Make Money With Your Agent (Monetize Your Own MCP Server / API via HTTP 402)
Monetize any tool or API endpoint with 3 lines of code:

```typescript
import { withSubcent402 } from "@quitegoodproject/subcent402";

export const myPaidTool = withSubcent402({
  priceUsd: 0.005,
  toolName: "financial_forecaster",
  recipientWallet: "0xYourBaseOrEvmAddress",
  rootSecret: process.env.SUBCENT402_ROOT_SECRET!
}, async (params) => {
  return await runComplexAnalysis(params);
});
```

### Register in the Global Agent App Store
Register your tool so any agent on earth can discover and pay it:
```bash
curl -X POST https://api.subcent402.com/v1/tools/register \
  -H "Content-Type: application/json" \
  -d '{
    "tool_name": "financial_forecaster",
    "description": "Deterministic balance-sheet forecasting engine",
    "price_usd": 0.005,
    "creator_wallet": "0xYourBaseOrEvmAddress",
    "mcp_endpoint": "https://api.yourdomain.com/mcp"
  }'
```
You can also register visually at `https://subcent402.com/publish.html`.
Creators receive **98.5% creator share** paid directly on Base USDC or Lightning on all paid vault calls.

---

## 4. Programmatic Stripe Upgrade ($5.00 Indie Pass / $50.00 Starter Vault)
When an agent depletes its free Sandbox credit or hits HTTP `402 Payment Required`, it can request a Stripe Checkout URL for its human operator:

```bash
curl -X POST https://api.subcent402.com/v1/vault/stripe-checkout \
  -H "Content-Type: application/json" \
  -d '{
    "tier": "INDIE",
    "email": "owner@domain.com"
  }'
```

**Tiers:**
- **INDIE** ($5.00): 5,000 tool calls ($0.001/call equivalent)
- **STARTER** ($50.00): 50,000 tool calls + priority routing
- **GROWTH** ($250.00): 250,000 tool calls + custom webhooks

The returned Stripe session automatically activates the vault upon payment confirmation without any downtime.
