Skip to main content
POST
/
api
/
{exchange}
/
submitOrder
import pmxt # Runs locally — never proxied through PMXT servers exchange = pmxt.Polymarket( api_key="YOUR_API_KEY", api_secret="YOUR_API_SECRET", passphrase="YOUR_PASSPHRASE", private_key="YOUR_PRIVATE_KEY", proxy_address="YOUR_PROXY_ADDRESS", signature_type="gnosis-safe", ) built = exchange.build_order(market_id="12345", side="buy", type="limit", amount=10, price=0.55) result = exchange.submit_order(built)
{
  "success": true,
  "error": {
    "message": "<string>"
  },
  "data": {
    "id": "<string>",
    "marketId": "<string>",
    "outcomeId": "<string>",
    "side": "buy",
    "type": "market",
    "amount": 123,
    "status": "pending",
    "filled": 123,
    "remaining": 123,
    "timestamp": 123,
    "price": 123,
    "fee": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://pmxt.dev/docs/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

exchange
enum<string>
required

The prediction market exchange to target.

Available options:
polymarket,
kalshi,
kalshi-demo,
opinion,
smarkets,
polymarket_us

Body

application/json
args
object[]
required
Required array length: 1 element
credentials
object

Optional authentication credentials for exchange operations.

Response

200 - application/json

Submit Order response

success
boolean
Example:

true

error
object
data
object