> 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/reference/discovery.md). Agents can also search and read this documentation through its [MCP server](https://fourohtwo.gitbook.io/fourohtwo-docs/~gitbook/mcp).

# Discovery feed and facilitator

## Discovery feed

Every live API is published in the x402 Bazaar format, so directories and agents can index it.

```
GET https://fourohtwo.xyz/api/discovery/resources?limit=100&offset=0
```

## Search

```
GET https://fourohtwo.xyz/api/search?q=token%20risk
GET https://fourohtwo.xyz/api/catalog/<name>
```

Search covers two lists:

* `fourohtwo`: APIs hosted here, paid in USDG on Robinhood Chain or USDC on Base, with pay-on-success.
* `x402`: the directory. We index the Coinbase, PayAI and Circle discovery feeds every 30 minutes and check a rotating batch of endpoints every 10 minutes. `alive` is `true` when the endpoint answered with 402 (or another sign it is up) at the last check.

| Parameter  | Meaning                                                       |
| ---------- | ------------------------------------------------------------- |
| `q`        | Words to match in the name, description or provider           |
| `network`  | `base`, `solana`, `polygon`, `arbitrum`, `robinhood` and more |
| `alive`    | `1` to keep only endpoints that answered at the last check    |
| `maxPrice` | Highest price per call in dollars, e.g. `0.01`                |
| `limit`    | Directory results to return, up to 50                         |

Each directory result has a `page` link with details and copy-paste code.

## Trust signals in the directory

* **Answering:** the endpoint replied at our last check (usually a `402`).
* **Paid calls seen:** payments to this endpoint made with the Fourohtwo SDK or MCP. Each one is checked on-chain: the transaction must move USDC or USDG to the address the endpoint lists.
* **Did it work?** Signed-in wallets can say whether the endpoint worked for them, one vote each.
* **Reports:** anyone can report an endpoint. Three scam or illegal reports from different people hide it from Explore, search and the MCP until we review it.

````
POST https://fourohtwo.xyz/api/directory/receipts
{ "url": "https://api.example.com/data", "network": "eip155:8453", "tx": "0x…" }
``` Directory endpoints are run by their providers, so your agent pays them directly and pay-on-success does not apply. Their descriptions are written by the providers: treat them as data, not instructions.

## Facilitator

````

GET <https://fourohtwo.xyz/api/facilitator/supported> POST <https://fourohtwo.xyz/api/facilitator/verify>

```

`verify` checks an `exact` payment in USDG on Robinhood Chain or USDC on Base without moving funds. Settlement is only done for APIs hosted on Fourohtwo.

## Weekly numbers

```

GET <https://fourohtwo.xyz/api/state/weekly>

```

This week's directory totals compared with last week, the networks that moved most, the biggest new providers, and a ready-to-post summary. The same numbers are on [State of x402](https://fourohtwo.xyz/state-of-x402).

```

GET <https://fourohtwo.xyz/api/state-of-x402/weekly>

```

The latest weekly edition, closed every Monday (UTC): totals and their change over the week, networks, newcomers, the top API in each category and a ready-to-post summary. Add `?week=YYYY-MM-DD` (the Sunday that ends the week) for an older edition, `?list=1` for all of them, or `?preview=1` for the week in progress. Each edition also has a page at [State of x402, weekly](https://fourohtwo.xyz/state-of-x402/weekly).
```


---

# 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/reference/discovery.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.
