# x402 API Directory: Paid Agent APIs, Prices & Reliability (`thomasjacks/x402-api-directory`) Actor

Find paid x402 APIs that AI agents can call per request: endpoint, price in USDC, chains, reliability score and payment verification. Open CC-BY registry data, no key.

- **URL**: https://apify.com/thomasjacks/x402-api-directory.md
- **Developed by:** [Thomas Jacks](https://apify.com/thomasjacks) (community)
- **Categories:** AI, Agents, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## x402 API Directory: Paid Agent APIs, Prices and Reliability

Get a clean table of **x402 APIs**: paid endpoints that an AI agent can call and pay for per request, usually in USDC on Base or Solana. Each row has the endpoint URL, what it does, the price per call, the chains it accepts, whether it is currently answering, a reliability score and whether a real paid call has been verified.

The data comes from the open registry at [nohumans.directory](https://nohumans.directory), which indexes more than 10,000 x402 endpoints, probes them every few minutes and publishes everything for machines under CC-BY-4.0. This Actor adds filtering, sorting and export. No login, no API key, no wallet.

### What you can do with it

- **Find an API for your agent**: search by need (`weather forecast`, `token price`, `web scrape`) and get ranked, working endpoints with prices.
- **Price your own x402 endpoint**: export a category and compare price per call, latency and reliability.
- **Watch the x402 market**: schedule a weekly run with `addedWithinDays` to see what is new, or list endpoints that have started failing.
- **Check before you pay**: keep only paid-verified listings, where the registry sent real USDC and got a valid response.
- **Research**: count listings by category, chain and price to size the agent payments market.

### Input

| Field | Meaning | Default |
|---|---|---|
| `query` | Describe what you need. Uses the registry's ranked search (up to 50 results) | none (browse all) |
| `categories` | Category prefixes such as `data.weather`, `data.crypto`, `compute.llm`, `commerce` | all |
| `statuses` | `verified`, `unverified`, `failing` | verified |
| `paidVerifiedOnly` | Only listings with a verified paid call | off |
| `maxPrice` | Highest price per call, for example `0.01` | none |
| `minScorePct` | Lowest reliability score, 0 to 100 | none |
| `chains` | For example `base`, `solana`, `polygon` | all |
| `addedWithinDays` | Only listings added in the last N days | none |
| `excludeTestListings` | Hide entries in the test category | on |
| `sortBy` | `newest`, `score`, `cheapest`, `most_payers` | newest |
| `maxListings` | Stop after this many rows | 200 |

Example: cheap, paid-verified LLM endpoints, most reliable first.

```json
{ "categories": ["compute.llm"], "paidVerifiedOnly": true, "maxPrice": "0.01", "sortBy": "score", "maxListings": 100 }
```

### Output

One row per listing:

- `name`, `description`, `endpointUrl`, `host`, `category`, `kind`
- `price`, `priceCurrency`, `chains`, `x402Version`
- `status`, `evidenceTier` (unproven, probe_verified or paid_verified), `paidVerified`, `paidVerifiedAt`
- `score` (0 to 1), `probePassRatePct`, `probeCount`, `probesPassed`, `probesFailed`, `p50LatencyMs`
- `distinctPayers`, `walletUniquePayers30d`, `walletSharedByListings`, `latestPurchaseAt`, `latestPurchaseDelivered`, `reportScore`, `reportCount`
- `origin`, `createdAt`, `statusChangedAt`, `lastProbedAt`
- `listingUrl`, `apiUrl`, `source`, `scrapedAt`

Two things to read carefully. `walletUniquePayers30d` counts on-chain payers to the seller's wallet, and one wallet is often shared by many listings (`walletSharedByListings`), so it is a seller-level figure, not a per-endpoint one. And a `failing` status means the registry's checks stopped passing, which is not always the same as the endpoint being down.

### What is x402?

x402 is an open payment standard that uses the HTTP 402 "Payment Required" status: a server answers with a price, the client pays in stablecoin and repeats the request. It lets AI agents buy data and compute per call without accounts or API keys. This registry is the easiest way to see the listed endpoints in one place.

### Behaviour and limits

- Reads only the registry's free public endpoints (`/v1/listings` and `/v1/discover`). It never calls the paid routes and never calls the listed endpoints themselves.
- Newest-first browsing reads from the latest page backwards and stops when it has enough rows. The other sort orders read the whole registry (about 40 to 55 requests) so the ordering is correct. Search makes one request and returns at most 50 results, which is the registry's limit.
- If the registry cannot be reached the run fails with a clear message rather than returning partial data.
- Data licence: CC-BY-4.0. If you republish the data, credit "nohumans.directory" with a link to https://nohumans.directory. Each row carries a `source` field for that purpose.
- Listings are submitted by third parties. A good score shows that an endpoint answers and takes payment. It is not a guarantee of data quality. Not affiliated with nohumans.directory.

### FAQ

**Do I need a crypto wallet?** No. The Actor only reads the directory. You need a wallet later, if you decide to call a paid endpoint.

**How often does the data change?** The registry re-probes listings every few minutes and adds new ones daily. Run the Actor on a schedule to track changes.

**Can I use it from an AI agent?** Yes. Call it through the Apify API or Apify's MCP server and pass a `query`.

Built by Thomas Jacks with Claude Code.

# Actor input Schema

## `query` (type: `string`):

Describe what you need, for example 'weather forecast' or 'token price'. Uses the registry's ranked search and returns the best matches first. Leave empty to browse the whole registry.

## `categories` (type: `array`):

Keep only listings whose category starts with one of these, for example data.weather, data.crypto, compute.llm or commerce. Leave empty for all.

## `statuses` (type: `array`):

verified: the endpoint answered the registry's checks. unverified: listed but not yet confirmed. failing: recently stopped answering.

## `paidVerifiedOnly` (type: `boolean`):

Keep only listings where the registry paid the endpoint real USDC and received a valid response.

## `maxPrice` (type: `string`):

Keep only listings priced at or below this amount per call, for example 0.01. Prices are almost always in USDC.

## `minScorePct` (type: `integer`):

Keep only listings whose reliability score is at least this value.

## `chains` (type: `array`):

Keep only listings that accept payment on one of these chains, for example base, solana or polygon. Leave empty for all.

## `addedWithinDays` (type: `integer`):

Keep only listings added to the registry in the last N days. Useful for a weekly run that shows what is new.

## `excludeTestListings` (type: `boolean`):

Drop entries filed under the test category.

## `sortBy` (type: `string`):

Order of the rows when browsing. Search results keep the registry's own ranking.

## `maxListings` (type: `integer`):

Stop after this many listings.

## Actor input object example

```json
{
  "query": "",
  "categories": [],
  "statuses": [
    "verified"
  ],
  "paidVerifiedOnly": false,
  "maxPrice": "",
  "chains": [],
  "excludeTestListings": true,
  "sortBy": "newest",
  "maxListings": 200
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "statuses": [
        "verified"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("thomasjacks/x402-api-directory").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "statuses": ["verified"] }

# Run the Actor and wait for it to finish
run = client.actor("thomasjacks/x402-api-directory").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "statuses": [
    "verified"
  ]
}' |
apify call thomasjacks/x402-api-directory --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,thomasjacks/x402-api-directory"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/gunazGYkTkAMIjL3a/builds/djpRVUTxuqfcfFWG9/openapi.json
