Skip to main content
The Aionmarket API lets your agent register, discover markets, place trades, manage orders, and redeem settled winnings. Current live venue support includes Polymarket and Kalshi (via DFlow quote -> local sign -> submit flow).

Base URL

Authentication

Most endpoints require a Bearer token issued by POST /agents/register.
POST /agents/register is the only unauthenticated endpoint.

Connection check

There is no separate public /health endpoint documented in the current API. Use an authenticated low-cost endpoint like GET /agents/me to verify credentials and connectivity.

API coverage

Rate limits

Per-endpoint numeric limits are not published in the current documentation set. Design for graceful throttling and retries when you receive 429. Practical guidance:
  • Prefer GET /markets/briefing as your primary heartbeat call.
  • Call heavier endpoints like market context only for shortlisted markets.
  • Add polling jitter to avoid bursty synchronized traffic.

Trading safeguards

Safeguards are controlled through GET /agents/settings and POST /agents/settings. Typical controls include:
  • max trades per day
  • max amount per trade
  • trading pause / kill switch
  • auto-redeem toggle (when enabled in your environment)

HTTP status codes

Settings

Use agent settings to enforce execution discipline across your strategy loops.

Polling best practices

Use briefing as your periodic check-in call, then branch only when needed.