First request with cURL¶
List your own copiers to check connectivity and identity without creating a terminal or placing a trade.
1. Install¶
Requires cURL 7.76+ and Bash, or PowerShell 5.1+. These instructions build from source; they do not assume a registry release exists.
2. Set your owner key¶
Use the real owner API key, not a broker password, terminal ID or TRIAL. Read authentication if access is refused.
3. Run¶
Source: examples/quickstart.sh.
#!/usr/bin/env bash
set -euo pipefail
: "${MRPC_API_KEY:?Set MRPC_API_KEY to your real MetaRPC owner API key}"
case "${MRPC_API_KEY}" in
[Tt][Rr][Ii][Aa][Ll]) echo "TRIAL is not a copier owner key" >&2; exit 1 ;;
esac
# Read-only. No accounts are created and no trades are placed.
curl --fail-with-body --silent --show-error --max-time 30 \
-H "ApiKey: ${MRPC_API_KEY}" \
--get --data-urlencode "userKey=${MRPC_API_KEY}" \
"https://copy.mrpc.pro/UserCopiers"
A successful empty list means this owner has no copiers. Treat failed requests as errors, not empty accounts.
4. Prepare a demo workflow¶
Read the lifecycle guide, then choose sizing. Existing replication examples under examples/ are advanced integration examples: they may provision accounts and trade. Inspect them and their cleanup before running with disposable demos. List is the default starting point.