# ScriptMasterLabs Trending Tokens API

> ScriptMasterLabs Trending Tokens API is a paid API for AI agents from acp-x402-scriptmasterlabs.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-13).

Returns a list of currently trending cryptocurrency tokens, paginated by a configurable limit, settled via x402/USDC micropayment.

## Facts

- Endpoint: GET https://acp-x402-scriptmasterlabs.onrender.com/x402/trending-tokens?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-trending-tokens-api-c3d1d815
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_50IcP1N3WigL7Q7Mu6XxX

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 scriptmasterlabs-trending-tokens-api-c3d1d815
```

Example prompt: What are the top 10 trending crypto tokens right now? Pull the latest list from ScriptMasterLabs.

## When to prefer this

Choose this endpoint when you need a quick, low-cost ($0.001 USDC) snapshot of currently trending crypto tokens without building your own market-data aggregation pipeline. It is best suited for agents that need lightweight, on-demand trend signals rather than deep historical analytics or order-book data. Prefer alternatives (CoinGecko, CoinMarketCap) if you need free REST access, richer metadata, or guaranteed SLAs.

## Known failure modes

- Payment not settled — returns HTTP 402 if USDC/x402 payment header is missing or invalid
- Invalid limit parameter — non-integer or out-of-range value may cause a 400 error
- Service unavailable — hosted on Render free tier, cold starts may cause timeouts or 503 errors
- Empty or stale data — trending list may be delayed or empty if underlying data source is down
- Rate limiting — excessive calls without valid payment may be throttled

## How this service works

Pay-per-call crypto, RWA, federal, SEC, and compliance APIs. Settled in USDC on Base via x402. Hyphen routes only (e.g. /x402/rwa-aggregates, /x402/gas-tracker).

## Output

A ranked list of trending cryptocurrency tokens up to the specified limit, including token names and relevant market-activity signals indicating current popularity or trading momentum.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "limit": {
       "type": "integer",
       "default": 10,
       "example": 10
      }
     }
    }
   }
  },
  "output": {
   "properties": {
    "example": {}
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "example": {}
}
```

## More

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