# Myworker Agent API – Solana Trending Tokens

> Myworker Agent API – Solana Trending Tokens is a paid API for AI agents from crypto-micro-agent.mykira.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-19).

Returns a ranked list of trending Solana tokens from Jupiter, filtered by organic score or recency, with price, market cap, liquidity, and holder data.

## Facts

- Endpoint: GET https://crypto-micro-agent.mykira.workers.dev/api/agent/trending?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/myworker-agent-api-solana-trending-tokens-dc84fb00
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2KGv21Boo0t3nYpEVWTLq

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 myworker-agent-api-solana-trending-tokens-dc84fb00
```

Example prompt: Show me the top 15 trending Solana tokens right now sorted by organic score over the last 24 hours — include their prices, market caps, and liquidity.

## When to prefer this

Choose this endpoint when you need real-time Solana token trending data sourced directly from Jupiter's organic ranking algorithm. Prefer it over generic crypto market APIs when you specifically want Solana ecosystem data, organic vs. new token differentiation, and per-call micropayment pricing without a subscription.

## Known failure modes

- Payment required (402) if USDC/SOL payment not included in request
- Invalid 'jenis' enum value returns error
- Invalid 'tempoh' enum value returns error
- 'had' out of range (1-50) may return error or default
- Jupiter API upstream outage may cause empty or error response
- Rate limiting if called too frequently without payment

## How this service works

Servis berbayar untuk bot/agen (x402): data pasaran Solana via Jupiter + RPC, dan servis AI via Workers AI. Bayar per panggilan dengan USDC di Solana, USDC di Base, atau SOL.

## Output

A JSON object containing a timestamped list of ranked Solana tokens, each with mint address, name, symbol, rank, verification status, market cap in USD, price in USD, token age in days, liquidity in USD, organic score, organic label, holder count, and 24-hour price change percentage. Metadata includes source (jupiter-tokens-v2), query type (organic or new), and time period.

## 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": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "example": {
      "had": 10,
      "jenis": "organik",
      "tempoh": "24h"
     },
     "properties": {
      "had": {
       "type": "integer",
       "description": "Bilangan token (1-50), lalai 10"
      },
      "jenis": {
       "enum": [
        "organik",
        "baharu"
       ],
       "type": "string",
       "description": "organik (skor organik Jupiter) atau baharu (token terbaru)"
      },
      "tempoh": {
       "enum": [
        "5m",
        "1h",
        "6h",
        "24h"
       ],
       "type": "string",
       "description": "Tempoh untuk jenis organik"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "hasil": {
   "masa": "2026-10-18T06:00:00Z",
   "jenis": "organik",
   "token": [
    {
     "tag": [],
     "mint": "So111…112",
     "nama": "Wrapped SOL",
     "simbol": "SOL",
     "pangkat": 1,
     "disahkan": true,
     "mcap_usd": 58000000000,
     "harga_usd": 103.25,
     "umur_hari": 1600,
     "kecairan_usd": 927000000,
     "skor_organik": 98.5,
     "label_organik": "high",
     "bilangan_pemegang": 1200000,
     "perubahan_24j_pct": -1.2
    }
   ],
   "sumber": "jupiter-tokens-v2",
   "tempoh": "24h"
  },
  "servis": "trending"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/myworker-agent-api-solana-trending-tokens-dc84fb00/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from crypto-micro-agent.mykira.workers.dev](https://www.zero.xyz/host/crypto-micro-agent.mykira.workers.dev/llms.txt)
