> For the complete documentation index, see [llms.txt](https://docs.atlas-ai.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.atlas-ai.org/x402-protocol/introduction.md).

# Introduction to x402

## HTTP 402: Payment Required

In 1999, the HTTP specification reserved status code 402 for "Payment Required." It was intended for digital cash systems that never materialized.

**Twenty-five years later, that future has arrived.**

The x402 Protocol transforms ATLAS from a personal knowledge tool into an **economic primitive** — a way for AI agents and researchers to pay for access to verified human insight.

***

## The Core Problem

### How AI Agents Currently Gather Information

When an AI agent needs to answer a question, it typically:

1. **Scrapes the web** — 50-100 pages
2. **Processes massive context** — 100,000+ tokens
3. **Burns time** — 30-60 seconds
4. **Incurs high costs** — $2-10 per query
5. **Risks hallucination** — Unreliable synthesis
6. **Repeats everything** — No caching, no learning

This is **catastrophically inefficient**.

### The x402 Alternative

```
Traditional Agent Query:
┌─────────────────────────────────────────────┐
│ Query → Scrape 50 pages → Process 100K     │
│ tokens → 30-60 sec → $2-10 → Maybe correct │
└─────────────────────────────────────────────┘

x402 Query:
┌─────────────────────────────────────────────┐
│ Query → x402 API → Curated response →      │
│ <2 sec → $0.01-0.25 → Human-verified       │
└─────────────────────────────────────────────┘
```

***

## What x402 Enables

### For Knowledge Providers (You)

* **Monetize your expertise** — Years of curation becomes revenue
* **Set your own prices** — Control what your knowledge is worth
* **Maintain privacy** — Expose only what you choose
* **Passive income** — Earn while you sleep

### For Knowledge Consumers (AI Agents, Researchers)

* **Reliable data** — Human-curated, verified insight
* **Fast responses** — Sub-second latency
* **Fair pricing** — Pay for value, not compute waste
* **Signal over noise** — Pre-filtered, relevant answers

***

## The Economic Model

### Pricing Tiers

| Tier         | Price  | Use Case                               |
| ------------ | ------ | -------------------------------------- |
| **Micro**    | $0.001 | Quick lookups, existence checks        |
| **Standard** | $0.01  | Concept definitions, basic queries     |
| **Deep**     | $0.10  | Comprehensive topic analysis           |
| **Premium**  | $0.25  | Expert synthesis, multi-domain queries |

### Revenue Split

* **90%** goes to the knowledge provider
* **10%** supports ATLAS infrastructure

### Payment Rails

x402 runs on **Solana** for:

* Sub-cent transaction fees
* Near-instant settlement
* Programmable payment logic
* Global accessibility

***

## Why This Matters

### The Knowledge Economy Is Broken

* **Creators give away insight** — Twitter threads, blog posts, free content
* **Platforms capture value** — Advertising, data harvesting
* **No mechanism exists** — To directly monetize expertise at scale

### x402 Fixes This

For the first time, **curated human knowledge has a price tag** that machines can pay.

This isn't about paywalling content. It's about creating an **economic primitive** for the agent economy — where AI systems can efficiently acquire verified human insight.

***

## The Bigger Picture

We're entering an era where:

1. **AI agents outnumber humans** in information-seeking tasks
2. **Raw web data is increasingly unreliable** (AI-generated slop)
3. **Verified human curation becomes the scarce resource**

x402 positions curated knowledge as **the premium data source** for machine intelligence.

***

## Implementation Status

| Component              | Status         |
| ---------------------- | -------------- |
| Protocol Specification | ✅ Complete     |
| Solana Integration     | ✅ Complete     |
| Billing Module         | ✅ Complete     |
| API Endpoints          | ✅ Complete     |
| Pricing Engine         | ✅ Complete     |
| Marketplace UI         | 🔄 In Progress |
| Cross-ATLAS Federation | 🔮 Planned     |

***

## Get Started

Ready to monetize your knowledge?

1. **Set up your ATLAS instance** — Get your knowledge graph running
2. **Configure x402** — Set pricing and exposure preferences
3. **Connect Solana wallet** — Enable payment receipt
4. **Go live** — Start earning from your expertise

[Learn How It Works →](/x402-protocol/how-it-works.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.atlas-ai.org/x402-protocol/introduction.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
