HTTP 402: PAYMENT REQUIRED

The Native
Payment Layer
for AI Agents.

402gate is a decentralized payment gateway infrastructure that implements the x402 open standard. Monetize your API & Data via HTTP 402 on Base Network.

console.log
> GET /api/v1/premium-data
> Error: 402 Payment Required
x-payment-hash: missing
price: 0.01 USDC

> Initiating Payment...
> Tx: 0x7f...3a2b (Pending)
> Success! Payment Verified.
> Data received: { "status": "ok", "payload": "..." }

The internet
is broken.

AI agents, LLMs, and scrapers are consuming valuable data from websites and APIs for free. Traditional paywalls (credit cards, CAPTCHAs) block bots entirely, destroying potential revenue.

There is no native way for a machine to pay a human for data in real-time.

  • >> Agent-Native (M2M Economy)
  • >> Frictionless USDC Settlement
  • >> Instant Finality (~1s)
user@server:~/project

Protocol Flow

Zero-trust, atomic settlement via x402 standard.

01_REQUEST

Agent Request

Bot requests resource via HTTP GET.

02_402_BLOCK

x402 Invoice

Gateway returns 402 + Crypto Invoice (USDC).

03_PAYMENT

Settlement

~1s on Base L2. Near-zero gas. Access Granted.

The x402 Handshake

Standard APIs rely on Identity (API Keys, Logins). 402gate shifts the paradigm to Value-Based Access. The protocol performs an atomic swap: data is released solely upon cryptographic proof of payment. No accounts, no sign-ups, no friction.

Stateless Architecture

The gateway operates without maintaining user sessions. Every request is treated as an independent transaction. This creates a strictly Zero-Trust environment where neither the bot nor the provider needs to trust each other—they only trust the blockchain state.

Product Ecosystem

TOOL_01

WordPress Plugin

Plug-and-play solution. Just install the .zip, set a wallet address, and start charging AI bots.

TOOL_02

Developer SDKs

Python (FastAPI/Flask) and Node.js (Express) middleware to gate your APIs with x402 protocol.

TOOL_03

Gate Points

Loyalty system. Earn Gate Points for every verified transaction. Incentivizing early adoption.

The 402 Economy

Real-time revenue in USDC. Long-term rewards in Gate Points.

PEER-TO-PEER SETTLEMENT (THE CASH)

Zero-Trust &
Non-Custodial

We never touch your funds. Payments flow directly from the AI Agent's wallet to your wallet via smart contracts on Base.

100% Margin

The Buyer (Bot) pays the gas fee. If you charge 0.01 USDC, you receive exactly 0.010000 USDC.

Instant Finality

No 30-day payouts. Money settles in <1 second.

GATE POINTS PROGRAM (THE INCENTIVE)

Earn Ownership

Gate Points are loyalty rewards for active Data Providers. They track your contribution to the network and reputation for future governance.

METRIC
1 Verified Request = 10 Gate Points
Example: Handle 100 requests/day = Earn $1.00 + 1000 Points.

Path to Decentralization

Gate Points are not just numbers. They are your ticket to the future economy. We plan to transition to a community-owned protocol, where points will determine your eligibility for the future $GATE Token Airdrop (TGE).

bash
# Check your Points Balance
$ curl https://api.402gate.xyz/points/0xYourWalletAddress
Response:
{ "wallet": "0x...", "points": 4500, }

FAQ

Payments are settled instantly in USDC on the Base Network. The money goes directly from the AI Agent's wallet to your wallet. We do not hold your funds (Non-Custodial).
No. On the Base L2 network, gas fees are negligible (typically under $0.001). Since the Buyer (Bot) pays the gas fee, you receive the full amount (e.g., exactly 0.01 USDC) into your wallet.
Gate Points are loyalty rewards for Data Providers. Every time your site handles a paid request from a bot, you earn points. These points track your contribution to the network and may be used for governance or reputation in the future.
Yes. Currently, the 402gate plugin and SDKs are free to use. We do not charge a commission fee at this stage. You keep 100% of your earnings.
No. Our plugin includes a "Smart Whitelist". It allows legitimate search engine crawlers (like Googlebot) to index your site for free, while requiring payment from AI scrapers (like GPTBot).
Yes! We offer SDKs for Python and Node.js. You can install them via pip install x402gate or npm install x402gate to monetize any API or data stream.