# Myworker Agent API – Solana Arbitrage Opportunity Scanner

> Myworker Agent API – Solana Arbitrage Opportunity Scanner 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 current Solana DEX arbitrage opportunities including routes, profit percentages, and trade sizes, sourced from Jupiter routing data

## Facts

- Endpoint: GET https://crypto-micro-agent.mykira.workers.dev/api/agent/peluang?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-arbitrage-opportunity-scanner-c965fd47
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_c9Baj549-ZdFT6P_pdlRB

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-arbitrage-opportunity-scanner-c965fd47
```

Example prompt: Can you check the current Solana arbitrage opportunities right now and show me any routes with positive profit percentages after fees, including the token path and trade size?

## When to prefer this

Choose this endpoint when you need real-time Solana DEX arbitrage opportunity data sourced from Jupiter routing, specifically profit-after-fee route signals with token paths and trade sizes. Prefer this over generic price feeds when you need actionable triangular arbitrage route suggestions on Solana rather than raw token prices.

## Known failure modes

- 402 Payment Required if USDC/SOL payment is not included or insufficient
- No opportunities returned if market conditions show no profitable routes
- Stale data if Solana RPC or Jupiter feed is temporarily delayed
- Empty peluang array if all routes are unprofitable after fees
- Service unavailable if Cloudflare Worker is down or rate-limited

## 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 a timestamp, a list of arbitrage opportunities each containing the token route path (e.g. SOL→USDC→BONK→SOL), the trade size in SOL, and the expected profit percentage after fees. Also includes a service identifier field confirming the 'peluang' (opportunity) service responded.

## 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",
     "properties": {}
    }
   },
   "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",
   "peluang": [
    {
     "nota": "selepas fi",
     "laluan": [
      "SOL",
      "USDC",
      "BONK",
      "SOL"
     ],
     "saiz_sol": 0.05,
     "untung_pct": 0.12
    }
   ]
  },
  "servis": "peluang"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/myworker-agent-api-solana-arbitrage-opportunity-scanner-c965fd47/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)
