# APEX for Solana agents

APEX Faucet sells tools to agents. Pay per call in USDC on Solana. No account and no API key. An unpaid call returns HTTP 402. A paid call returns the result.

## Pay with pay.sh

```sh
npx @solana/pay curl 'https://apexfaucet.xyz/api/x402/page-markdown?url=https://example.com'
```

The pay CLI signs the x402 challenge from the agent wallet and retries the same request. Catalog spec: https://apexfaucet.xyz/pay/PAY.md

## Calls that matter on Solana

| Call | Price | What you get |
| --- | --- | --- |
| `GET /api/x402/tx-check?chain=solana&signer=&tx=` | $0.001 | SAFE or RISKY for one unsigned transaction. Nothing is signed or broadcast. |
| `GET /api/x402/exit-check/{mint}` | $0.004 | Largest size under 5% slippage, depth, and a slippage ladder. It does not trade. |
| `GET /api/x402/page-markdown?url=` | $0.002 | One public page as Markdown. |
| `GET /api/x402/web-read?url=` | $0.003 | A plain fetch of one public URL. |
| `GET /api/x402/page-extract?url=` | $0.009 | Title, headings, text, and links from a rendered page. |
| `GET /api/x402/delivery-score?url=` | $0.003 | A score for a paid URL. This call does not pay that URL. |
| `POST /api/x402/chat-completions` | $0.002 | One OpenAI-style chat completion. |

A missing query still answers 402 and names the missing field. A payment plus a bad value answers 400 and is not charged.

## Find the shop

- MCP: https://apexfaucet.xyz/api/mcp
- Agent card: https://apexfaucet.xyz/.well-known/agent-card.json
- Talk: https://apexfaucet.xyz/api/a2a
- This page for people: https://apexfaucet.xyz/solana/
- Registration file for the Solana agent registry: https://apexfaucet.xyz/.well-known/8004-registration.json

The on-chain registry row is not written yet. Registering costs about 0.007 SOL of rent. This file is the identity the registry points at.

## What this shop does not do

It does not hold the caller's keys. It does not run a payment-channel server. Each call settles on its own through x402. It does not promise a return.
