# Mexc Spot Rest

> MEXC Spot REST workflows for public data, signed account requests, orders, wallet/admin actions, and secure signing without exposing API keys.

- **Type:** Skill
- **Install:** `agentstack add skill-mncrftfrcnm-mexc-agent-trading-skills-mexc-spot-rest`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [mncrftfrcnm](https://agentstack.voostack.com/s/mncrftfrcnm)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** Apache-2.0
- **Upstream author:** [mncrftfrcnm](https://github.com/mncrftfrcnm)
- **Source:** https://github.com/mncrftfrcnm/mexc-agent-trading-skills/tree/main/codex_mexc_skills/skills/mexc-spot-rest

## Install

```sh
agentstack add skill-mncrftfrcnm-mexc-agent-trading-skills-mexc-spot-rest
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# MEXC Spot REST

## Workflow

Use `scripts/mexc_spot_request.py` for request construction and signing. Resolve `scripts/...` relative to this skill folder. Never ask the user to paste API keys into chat, command arguments, source files, logs, or screenshots.

1. Use the quick commands below first for common tasks. Do not open references or run broad text searches until a quick command or lookup slice is insufficient.
2. Use `MEXC_API_KEY` and `MEXC_API_SECRET` env vars only; the helper enforces credential loading, signed-param placement, redacted dry-runs, method/path/base-url validation, and live-write confirmation.
3. MEXC is live-only: use `/api/v3/order/test` before live orders, tiny sizes, and `--execute --confirm-live` only when clearly requested.
4. Prefer `python scripts/lookup.py ` over opening full references; for balance/account questions, start with `python scripts/lookup.py balance`.

## Quick Commands

```bash
python scripts/mexc_spot_request.py GET /api/v3/time
python scripts/mexc_spot_request.py GET /api/v3/account --signed
python scripts/mexc_spot_request.py GET /api/v3/account --signed --execute
```

## Rules

- Use `GET /api/v3/account --signed --execute` for the current Spot balance snapshot.
- Use `python scripts/lookup.py balance` to retrieve compact balance/account commands without loading `references/recipes.md` or `references/endpoints.md`.
- Do not enable withdrawal permission unless explicitly needed; bind API keys to IPs when possible.
- Back off on HTTP 429 and honor `Retry-After` when returned.

## Verification

After helper edits, run `python scripts/mexc_spot_request.py --self-test`.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [mncrftfrcnm](https://github.com/mncrftfrcnm)
- **Source:** [mncrftfrcnm/mexc-agent-trading-skills](https://github.com/mncrftfrcnm/mexc-agent-trading-skills)
- **License:** Apache-2.0

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-mncrftfrcnm-mexc-agent-trading-skills-mexc-spot-rest
- Seller: https://agentstack.voostack.com/s/mncrftfrcnm
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
