{
  "schemaVersion": "1.0",
  "item": {
    "slug": "milaex-crypto-api",
    "name": "Unified crypto market data API and scripts for exchanges, markets, tickers, OHLCV, and orderbooks",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/Kmasterrr/milaex-crypto-api",
    "canonicalUrl": "https://clawhub.ai/Kmasterrr/milaex-crypto-api",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/milaex-crypto-api",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=milaex-crypto-api",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/get_ohlcv.py",
      "scripts/get_orderbook.py",
      "scripts/get_ticker.py",
      "scripts/get_tickers.py",
      "scripts/list_exchanges.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/milaex-crypto-api"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/milaex-crypto-api",
    "agentPageUrl": "https://openagent3.xyz/skills/milaex-crypto-api/agent",
    "manifestUrl": "https://openagent3.xyz/skills/milaex-crypto-api/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/milaex-crypto-api/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Milaex skill (crypto market data)",
        "body": "Use this skill for crypto data-related searches that need real-time or normalized market data across multiple exchanges using the Milaex unified REST API."
      },
      {
        "title": "What this gives an agent",
        "body": "One place to query exchanges, markets/pairs, tickers, OHLCV/candles, and orderbooks.\nNormalized request/response shapes across exchanges.\nConsistent JSON output for piping into other tools.\nFriendly error output (HTTP code + Milaex error payload) and optional rate-limit header printing."
      },
      {
        "title": "Service facts (from milaex.com)",
        "body": "Milaex is a unified crypto market data SaaS with a REST API across many exchanges.\nData types include markets, tickers, OHLCV, and order books.\nAPI access is via an API key from the dashboard.\nMilaex is data-only (no custody, no trade execution).\nDocs: https://api.milaex.com/api-docs/index.html"
      },
      {
        "title": "Setup (get an API key)",
        "body": "Go to https://milaex.com and sign up or log in.\nIn the Milaex dashboard, generate an API key for the market data API."
      },
      {
        "title": "Configuration",
        "body": "Required env vars:\n\nMILAEX_API_KEY (sent as x-api-key)"
      },
      {
        "title": "Recommended (Clawdbot): store the key in openclaw config",
        "body": "This lets Clawdbot inject the env var when running the skill.\n\nEdit ~/.clawdbot/openclaw.json:\n\n{\n  \"skills\": {\n    \"entries\": {\n      \"milaex\": {\n        \"enabled\": true,\n        \"env\": {\n          \"MILAEX_API_KEY\": \"...\"\n        }\n      }\n    }\n  }\n}"
      },
      {
        "title": "Manual shell usage (export env vars)",
        "body": "export MILAEX_API_KEY=\"...\""
      },
      {
        "title": "Endpoints (from public OpenAPI v1)",
        "body": "These scripts map to the following Milaex endpoints:\n\nGET /api/v1/exchange\nGET /api/v1/exchange/markets?exchange=\nGET /api/v1/exchange/ticker?exchange=&base_name=&quote_name=\nGET /api/v1/exchange/tickers?exchange=&symbols=\nGET /api/v1/exchange/ohlcv?exchange=&base_name=&quote_name=\nGET /api/v1/exchange/orderbook?exchange=&base_name=&quote_name=\nGET /api/v1/exchange/orderbook/complete?exchange=&base_name=&quote_name="
      },
      {
        "title": "Mapping common search questions to endpoints",
        "body": "Which exchanges are supported? -> GET /api/v1/exchange\nWhat markets does exchange X support? -> GET /api/v1/exchange/markets?exchange=\nCurrent price for BTC/USDT on exchange X? -> GET /api/v1/exchange/ticker?exchange=&base_name=&quote_name=\nMultiple symbols on exchange X? -> GET /api/v1/exchange/tickers?exchange=&symbols=\nCandle data for a pair? -> GET /api/v1/exchange/ohlcv?exchange=&base_name=&quote_name=\nOrderbook snapshot? -> GET /api/v1/exchange/orderbook?exchange=&base_name=&quote_name="
      },
      {
        "title": "Quick commands",
        "body": "All commands print JSON to stdout. Rate limit headers (when present) print to stderr."
      },
      {
        "title": "List exchanges",
        "body": "python3 skills/milaex/scripts/list_exchanges.py\n# or\nbash skills/milaex/bin/list_exchanges.sh"
      },
      {
        "title": "List markets for an exchange",
        "body": "python3 skills/milaex/scripts/list_markets.py --exchange binance"
      },
      {
        "title": "Get a single ticker",
        "body": "python3 skills/milaex/scripts/get_ticker.py --exchange binance --symbol BTC/USDT"
      },
      {
        "title": "Get tickers (optionally filtered by symbols)",
        "body": "python3 skills/milaex/scripts/get_tickers.py --exchange binance\npython3 skills/milaex/scripts/get_tickers.py --exchange binance --symbols \"BTC/USDT,ETH/USDT\""
      },
      {
        "title": "Get OHLCV",
        "body": "Note: Milaex v1 OpenAPI exposes OHLCV by exchange/base_name/quote_name. The script accepts --timeframe for forward-compat but does not send it (to avoid 400s).\n\npython3 skills/milaex/scripts/get_ohlcv.py --exchange binance --symbol BTC/USDT --limit 200"
      },
      {
        "title": "Get orderbook",
        "body": "python3 skills/milaex/scripts/get_orderbook.py --exchange binance --symbol BTC/USDT --limit 50\npython3 skills/milaex/scripts/get_orderbook.py --exchange binance --symbol BTC/USDT --complete"
      },
      {
        "title": "For traders",
        "body": "Monitor best bid/ask spreads across venues\nBuild simple cross-exchange arb screens\nDetect volatility regime changes via OHLCV\nAlerting: “price moved X% in Y minutes”"
      },
      {
        "title": "For data engineers / analysts",
        "body": "Pull normalized tick data for dashboards\nBuild research datasets (candles + orderbook snapshots)\nRun periodic ETL without maintaining exchange adapters"
      },
      {
        "title": "For product and support teams",
        "body": "Answer coverage questions (exchanges, pairs, availability)\nValidate pricing/latency assumptions with real data"
      },
      {
        "title": "Notes",
        "body": "Keep within endpoint RPM limits (Milaex also returns standard rate-limit headers when enabled for your plan).\nScripts require Python 3 and requests.\n\nInstall dependency if needed:\n\npython3 -m pip install --user requests"
      },
      {
        "title": "Test (expected unauthorized)",
        "body": "This is a small smoke test that verifies unauthorized handling using a dummy key. Some deployments return 401, others return 404 with an \"Api Key not found\" message.\n\nMILAEX_API_KEY=dummy python3 skills/milaex/scripts/test_unauthorized.py"
      }
    ],
    "body": "Milaex skill (crypto market data)\n\nUse this skill for crypto data-related searches that need real-time or normalized market data across multiple exchanges using the Milaex unified REST API.\n\nWhat this gives an agent\nOne place to query exchanges, markets/pairs, tickers, OHLCV/candles, and orderbooks.\nNormalized request/response shapes across exchanges.\nConsistent JSON output for piping into other tools.\nFriendly error output (HTTP code + Milaex error payload) and optional rate-limit header printing.\nService facts (from milaex.com)\nMilaex is a unified crypto market data SaaS with a REST API across many exchanges.\nData types include markets, tickers, OHLCV, and order books.\nAPI access is via an API key from the dashboard.\nMilaex is data-only (no custody, no trade execution).\nDocs: https://api.milaex.com/api-docs/index.html\nSetup (get an API key)\nGo to https://milaex.com and sign up or log in.\nIn the Milaex dashboard, generate an API key for the market data API.\nConfiguration\n\nRequired env vars:\n\nMILAEX_API_KEY (sent as x-api-key)\nRecommended (Clawdbot): store the key in openclaw config\n\nThis lets Clawdbot inject the env var when running the skill.\n\nEdit ~/.clawdbot/openclaw.json:\n\n{\n  \"skills\": {\n    \"entries\": {\n      \"milaex\": {\n        \"enabled\": true,\n        \"env\": {\n          \"MILAEX_API_KEY\": \"...\"\n        }\n      }\n    }\n  }\n}\n\nManual shell usage (export env vars)\nexport MILAEX_API_KEY=\"...\"\n\nEndpoints (from public OpenAPI v1)\n\nThese scripts map to the following Milaex endpoints:\n\nGET /api/v1/exchange\nGET /api/v1/exchange/markets?exchange=\nGET /api/v1/exchange/ticker?exchange=&base_name=&quote_name=\nGET /api/v1/exchange/tickers?exchange=&symbols=\nGET /api/v1/exchange/ohlcv?exchange=&base_name=&quote_name=\nGET /api/v1/exchange/orderbook?exchange=&base_name=&quote_name=\nGET /api/v1/exchange/orderbook/complete?exchange=&base_name=&quote_name=\nMapping common search questions to endpoints\nWhich exchanges are supported? -> GET /api/v1/exchange\nWhat markets does exchange X support? -> GET /api/v1/exchange/markets?exchange=\nCurrent price for BTC/USDT on exchange X? -> GET /api/v1/exchange/ticker?exchange=&base_name=&quote_name=\nMultiple symbols on exchange X? -> GET /api/v1/exchange/tickers?exchange=&symbols=\nCandle data for a pair? -> GET /api/v1/exchange/ohlcv?exchange=&base_name=&quote_name=\nOrderbook snapshot? -> GET /api/v1/exchange/orderbook?exchange=&base_name=&quote_name=\nQuick commands\n\nAll commands print JSON to stdout. Rate limit headers (when present) print to stderr.\n\nList exchanges\npython3 skills/milaex/scripts/list_exchanges.py\n# or\nbash skills/milaex/bin/list_exchanges.sh\n\nList markets for an exchange\npython3 skills/milaex/scripts/list_markets.py --exchange binance\n\nGet a single ticker\npython3 skills/milaex/scripts/get_ticker.py --exchange binance --symbol BTC/USDT\n\nGet tickers (optionally filtered by symbols)\npython3 skills/milaex/scripts/get_tickers.py --exchange binance\npython3 skills/milaex/scripts/get_tickers.py --exchange binance --symbols \"BTC/USDT,ETH/USDT\"\n\nGet OHLCV\n\nNote: Milaex v1 OpenAPI exposes OHLCV by exchange/base_name/quote_name. The script accepts --timeframe for forward-compat but does not send it (to avoid 400s).\n\npython3 skills/milaex/scripts/get_ohlcv.py --exchange binance --symbol BTC/USDT --limit 200\n\nGet orderbook\npython3 skills/milaex/scripts/get_orderbook.py --exchange binance --symbol BTC/USDT --limit 50\npython3 skills/milaex/scripts/get_orderbook.py --exchange binance --symbol BTC/USDT --complete\n\nCommon use cases\nFor traders\nMonitor best bid/ask spreads across venues\nBuild simple cross-exchange arb screens\nDetect volatility regime changes via OHLCV\nAlerting: “price moved X% in Y minutes”\nFor data engineers / analysts\nPull normalized tick data for dashboards\nBuild research datasets (candles + orderbook snapshots)\nRun periodic ETL without maintaining exchange adapters\nFor product and support teams\nAnswer coverage questions (exchanges, pairs, availability)\nValidate pricing/latency assumptions with real data\nNotes\nKeep within endpoint RPM limits (Milaex also returns standard rate-limit headers when enabled for your plan).\nScripts require Python 3 and requests.\n\nInstall dependency if needed:\n\npython3 -m pip install --user requests\n\nTest (expected unauthorized)\n\nThis is a small smoke test that verifies unauthorized handling using a dummy key. Some deployments return 401, others return 404 with an \"Api Key not found\" message.\n\nMILAEX_API_KEY=dummy python3 skills/milaex/scripts/test_unauthorized.py"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Kmasterrr/milaex-crypto-api",
    "publisherUrl": "https://clawhub.ai/Kmasterrr/milaex-crypto-api",
    "owner": "Kmasterrr",
    "version": "1.0.2",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/milaex-crypto-api",
    "downloadUrl": "https://openagent3.xyz/downloads/milaex-crypto-api",
    "agentUrl": "https://openagent3.xyz/skills/milaex-crypto-api/agent",
    "manifestUrl": "https://openagent3.xyz/skills/milaex-crypto-api/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/milaex-crypto-api/agent.md"
  }
}