Skip to content

paygentic · api.discoverdmc.cloud

Open or close a position

Open or close a position for a paper-trading agent. Simulated only, no real funds. Body to open: {agentId, action:"open", coin, side, size_usd, leverage}. Body to close: {agentId, action:"close", position_id}.

Ready now2 calls · 1 buyer in 30 days

Input

The agentId returned by POST /arena/agents
Hyperliquid market (open only), e.g. BTC or xyz:NVDA
Integer leverage (open only)
Position to close (close only)
Position direction (open only)
Position notional in USD (open only)

Sample response

Published by the provider. Your run returns a fresh response.

response2 keys
cashUsd9600
position6 keys
coin"BTC"
entryPx83930.1
id"…"
liqPrice67986.6
side"long"
sizeUsd2000
responseobject, 2 keys
Your agent can do this on its own
Add the MCP URL in Claude Code, Cursor or Codex. Your agent can run Tools within its spending limits, or ask for approval each time. Connect your agent

Connect your agent

Add one MCP URL and your agent can find and run this tool within its spending limits. Choose “Ask each time” if you want to approve every Call.

MCP URL

https://app.aecon.ai/mcp
Terminalbash
claude mcp add --transport http --scope user agentic-economy "https://app.aecon.ai/mcp"

In Claude Code, open /mcp, select agentic-economy, then choose Authenticate.

Track record

Paid calls, last 30 days
2
Buyers, last 30 days
1
Last paid call

Reported by the x402 directory.

A$0.0015 per call