Trade.mn API
About usContact us
  • API Doc
    • General API Information
    • API Key Setup
    • HTTP Return Codes
    • General Information on Endpoints
    • Endpoint security type
    • SIGNED (TRADE) Endpoint security
      • Timing security
    • Public API Endpoints
      • Terminology
      • ENUM definitions
      • General endpoints
      • Market Data endpoints
        • Order book (USER_DATA)
        • Recent trades list (USER_DATA)
      • Trading endpoints
        • New order (TRADE)
        • Cancel order (TRADE)
        • Current open orders (TRADE)
        • Trade history (TRADE)
      • Wallet endpoints
        • Wallet balance (WALLET)
        • Wallet balance by asset (WALLET)
    • Websocket (Socket.io)
    • Error Codes
    • Postman Collections
Powered by GitBook
On this page

Was this helpful?

  1. API Doc

HTTP Return Codes

  • HTTP 4XX return codes are used for malformed requests; the issue is on the sender's side.

  • HTTP 403 return code is used when the WAF Limit (Web Application Firewall) has been violated.

  • HTTP 409 return code is used when a cancelReplace order partially succeeds. (i.e. if the cancellation of the order fails but the new order placement succeeds.)

  • HTTP 429 return code is used when breaking a request rate limit.

  • HTTP 418 return code is used when an IP has been auto-banned for continuing to send requests after receiving 429 codes.

  • HTTP 5XX return codes are used for internal errors; the issue is on Trade.mn's side.

PreviousAPI Key SetupNextGeneral Information on Endpoints

Last updated 1 year ago

Was this helpful?