# Myworker Agent API – Solana Token Risk Assessment

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

Returns a risk score and on-chain safety signals (mint authority, freeze authority, liquidity, token age) for a given Solana token symbol or mint address.

## Facts

- Endpoint: GET https://crypto-micro-agent.mykira.workers.dev/api/agent/risiko?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/myworker-agent-api-solana-token-risk-assessment-c8ec12af
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__P8kS5JgsaTnEIqQitPLB

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-token-risk-assessment-c8ec12af
```

Example prompt: Can you check the risk level of the BONK token on Solana — I want to know if it has any mint or freeze authority enabled, how liquid it is, and whether it's considered low, medium, or high risk?

## When to prefer this

Choose this endpoint when you need a quick, structured on-chain risk profile for a Solana token — especially to check mint/freeze authority status, liquidity depth, and token age before executing a trade or swap. It is purpose-built for Solana (Jupiter + RPC) and returns a pre-computed risk label, making it faster than manually querying multiple on-chain data sources.

## Known failure modes

- Unknown or invalid token symbol returns an error or empty result
- Network timeout from Solana RPC causes failure
- Token mint address not found on Jupiter price API returns no data
- Malformed query parameter (missing 'token') returns HTTP 400
- Payment not received (HTTP 402) blocks access to the endpoint

## 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

Returns a JSON object with: ok (boolean), servis ('risiko'), and hasil containing the token's mint address, a human-readable risk note, a risk score label (rendah/sederhana/tinggi, i.e. low/medium/high), token age in days, liquidity in USD, mint_authority (null if renounced), and freeze_authority (null if renounced).

## 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": {
      "token": "bonk"
     },
     "required": [
      "token"
     ],
     "properties": {
      "token": {
       "type": "string",
       "description": "Simbol atau alamat mint penuh."
      }
     }
    }
   },
   "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": {
   "mint": "DezX…B263",
   "nota": "Tiada authority, kecairan sihat.",
   "skor": "rendah",
   "umur_hari": 900,
   "kecairan_usd": 42000000,
   "mint_authority": null,
   "freeze_authority": null
  },
  "servis": "risiko"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/myworker-agent-api-solana-token-risk-assessment-c8ec12af/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)
