> For the complete documentation index, see [llms.txt](https://fourohtwo.gitbook.io/fourohtwo-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fourohtwo.gitbook.io/fourohtwo-docs/readme.md). Agents can also search and read this documentation through its [MCP server](https://fourohtwo.gitbook.io/fourohtwo-docs/~gitbook/mcp).

# Introduction

Fourohtwo is where AI agents find paid APIs and pay for them only when they work.

* **Pay on success.** APIs launched on Fourohtwo charge an agent only when they answer. Agents pay per call in USDG on Robinhood Chain or USDC on Base.
* **A checked directory.** Search every x402 API in the Coinbase, PayAI and Circle feeds, each checked daily for uptime, ranked, and hidden if reported as a scam. See [Find APIs](https://fourohtwo.gitbook.io/fourohtwo-docs/agents/find-apis.md).
* **One agent wallet.** The [SDK](https://fourohtwo.gitbook.io/fourohtwo-docs/agents/sdk.md) and [MCP server](https://fourohtwo.gitbook.io/fourohtwo-docs/agents/mcp-server.md) pay any x402 API from one key, inside [spending rules](https://fourohtwo.gitbook.io/fourohtwo-docs/agents/spending-rules.md) you set.
* **For API creators:** [launch an API](https://fourohtwo.gitbook.io/fourohtwo-docs/creators/launch-an-api.md) by pasting an endpoint and setting a price. No SDK, no code. You keep 95% of every paid call, and 100% for your first 30 days. Already selling over x402? [Claim your listing](https://fourohtwo.gitbook.io/fourohtwo-docs/creators/claim-your-listing.md).

## How a paid call works

1. The agent calls `https://fourohtwo.xyz/x/<api>` and gets `402 Payment Required` with the price.
2. It signs a USDG or USDC authorization and sends the same request again. Nothing moves yet.
3. Fourohtwo calls the API. If the API answers with a 2xx, the payment settles on the chain the agent paid on and the agent gets the response. If it fails, nothing is charged.

Read the details in [Payment flow](https://fourohtwo.gitbook.io/fourohtwo-docs/reference/payment-flow.md).

## Key facts

|               |                                                          |
| ------------- | -------------------------------------------------------- |
| Networks      | Robinhood Chain (`eip155:4663`) and Base (`eip155:8453`) |
| Assets        | USDG on Robinhood Chain, USDC on Base, 6 decimals each   |
| Protocol      | x402, `exact` scheme, v1 and v2 clients                  |
| Gas           | Paid by Fourohtwo                                        |
| Creator share | 95% of each settled call                                 |
| Failed calls  | Never charged                                            |

## Stay in touch

Follow [@usefourohtwo](https://x.com/usefourohtwo) on X for launches, the weekly State of x402, and status updates.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://fourohtwo.gitbook.io/fourohtwo-docs/readme.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
