# SolMachina Trending Tokens

> SolMachina Trending Tokens is a paid API for AI agents from api.solmachina.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns the top trending Solana DeFi liquidity pools ranked by recent activity, including liquidity, 24h volume, and price change.

## Facts

- Endpoint: GET https://api.solmachina.com/v1/trending-tokens
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/solmachina-trending-tokens-ba414acb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bec3H6HVsXlZ7ZMKvPXWI

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability solmachina-trending-tokens-ba414acb
```

Example prompt: What are the top 10 trending Solana DeFi pools right now — show me their liquidity, 24-hour volume, and how much the price has moved today?

## When to prefer this

Choose this endpoint when you need a ranked, real-time snapshot of trending Solana DeFi pools without requiring an API key or account — ideal for agents that pay per call via x402 USDC micropayments and need trustworthy, source-cited data rather than fabricated confidence scores.

## Known failure modes

- limit out of range (must be 1-20) returns validation error
- x402 payment failure if USDC balance insufficient on Solana mainnet
- no trending data available returns empty pools array
- network timeout if Solana RPC is congested

## How this service works

Before an AI agent executes on Solana, it asks SolMachina: risk + a decision (EXECUTE/REVIEW/REJECT) + an SMRI score + a signed receipt, paid per call over x402 in USDC. Trust-first — cites every source, says 'unknown' over guessing. No account, no API key.

## Output

Returns a JSON object with a count and an array of trending pool objects, each containing the pool name, base token mint address, liquidity in USD, 24-hour trading volume in USD, and 24-hour price change percentage — all sourced and non-fabricated.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "integer",
   "description": "How many trending pools to return, 1-20 (default 15)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "count": {
   "type": "integer"
  },
  "pools": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "name": {
      "type": "string"
     },
     "baseMint": {
      "type": "string"
     },
     "liquidityUsd": {
      "type": "integer"
     },
     "volume24hUsd": {
      "type": "integer"
     },
     "priceChangePct": {
      "type": "object",
      "properties": {
       "h24": {
        "type": "number"
       }
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/solmachina-trending-tokens-ba414acb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.solmachina.com](https://www.zero.xyz/host/api.solmachina.com/llms.txt)
