# GET /x402/trends: $0.01 per call

What's growing in the x402 economy: services with the biggest rise in unique buyers over the last N days, from our own daily history of the Bazaar catalogue (history started 2026-09-28 and grows every day). Pass ?days=7. For builders, investors and agents choosing reliable providers.

- **Price:** $0.01 in USDC, the same on Base, Solana, Polygon, Arbitrum. Failed calls are never charged.
- **Free trial:** yes, 20 free calls a day from Claude, Cursor or any MCP client ([set-up](/mcp/setup)).
- **Answers cached for:** 1 hour(s)
- **Data sources:** CDP Bazaar (free), our daily history
- **Lane:** x402 market guide ([OpenAPI](/openapi/x402-guide.json))
- **Live health:** [status page](/status)

## Free sample

See an answer for the demo input first, free (no payment, 10 a minute): [https://aayatai.com/sample/x402-trends](/sample/x402-trends). It is a stored real answer when we have one, otherwise an example marked `"kind": "illustrative"`.

```bash
curl "https://aayatai.com/sample/x402-trends"
```

## 1. See the price (free)

Call it without paying: you get `402 Payment Required` and a `PAYMENT-REQUIRED` header with the exact price and where to pay.

```bash
curl -i "https://aayatai.com/x402/trends?days=7"
```

## 2. Pay and call (TypeScript)

```bash
npm install @x402/fetch @x402/evm viem
```

```ts
import { wrapFetchWithPaymentFromConfig } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm";
import { privateKeyToAccount } from "viem/accounts";

// A wallet used only by your agent, holding a little USDC on Base.
const account = privateKeyToAccount(process.env.WALLET_PRIVATE_KEY as `0x${string}`);
const pay = wrapFetchWithPaymentFromConfig(fetch, {
  schemes: [{ network: "eip155:8453", client: new ExactEvmScheme(account) }],
});

const res = await pay("https://aayatai.com/x402/trends?days=7");
console.log(await res.json());
```

## 3. Or as an MCP tool

```ts
// MCP server: https://aayatai.com/mcp (Streamable HTTP). With the x402 MCP client (see /start):
const result = await client.callTool("x402-trends", {"days":7});
```

## Inputs

- `days` (integer; default `7`): Window in days.
- `limit` (integer; default `25`): Most results.

Bad inputs are rejected with HTTP 400 before any payment is asked for.

## Example answer

```json
{
  "days": 7,
  "historyDays": 7,
  "historyFrom": "2026-09-28",
  "rising": [
    {
      "resource": "https://api.x402node.dev/chain/whale-transfers",
      "description": "Large ERC20 transfers for a token",
      "priceUsd": 0.015,
      "buyersNow": 6,
      "buyersGrowth": 4
    }
  ]
}
```

## Related

- [GET /tools/find](/services/find-best-tool) ($0.002): Find the best tool for a job.
- [GET /x402/find](/services/x402-find) ($0.002): Describe a job in plain English and get the best working x402 services for it, ranked: fit, real buyers (30 days), our uptime and speed checks, and price, with 
- [GET /x402/find/live](/services/x402-find-live) ($0.01): Like /x402/find, but the shortlist is re-checked right now: we send each top candidate one unpaid request and keep only those answering with a valid x402 price 
- [GET /x402/check](/services/x402-check) ($0.002): Live health check of any x402 endpoint before you pay it: is it up and answering 402, is the payment request valid, prices in USD per network, pay-to wallets, x
- [GET /x402/recommend](/services/x402-recommend) ($0.03): Describe a job and get the best x402 services to do it: we search the whole Bazaar catalogue, then an AI compares the candidates on real buyer numbers, recent u

New here? [Getting started in 60 seconds](/start). All services: [Aayat AI](/).