Coinlocally Docs
API Document
API Document
  • Introduction
    • API Basic Information
    • HTTP Error Codes
    • General Information
    • Limits
    • Endpoint Security Type
    • Signature Authentication
    • Timing Security
    • SIGNED Endpoint Example
  • Changelog
  • Spot
    • Public
    • Market
    • Trade
    • Account
  • Futures
    • Public
    • Market
    • Trade
    • Account
  • Margin
  • Withdraw
  • WebSocket
    • Spot
    • Futures
  • Official SDK
  • Enums
  • Error
  • FAQ
Powered by GitBook
On this page
  • HTTP Error Codes
  • Error Response Format
  1. Introduction

HTTP Error Codes

HTTP Error Codes

  • 4XX – Client errors (e.g., malformed requests). The issue lies with the request sent by the client.

  • 410 – Request rate limit exceeded. Indicates a hard rate limit break.

  • 418 – Returned when a client continues making requests after receiving a 429 (Too Many Requests). This will trigger IP blocking, with block durations increasing from 2 minutes up to 3 days for repeated violations.

  • 5XX – Server errors. Indicates an internal issue on the API server.

  • 504 – Gateway timeout. The API forwarded the request successfully, but did not receive a response in time. ⚠️ Do not treat this as a failed operation. The execution status is unknown and may still be successful.


Error Response Format

All endpoints may return an error in the following format:

{
  "code": -1121,
  "msg": "Invalid symbol."
}
PreviousAPI Basic InformationNextGeneral Information

Last updated 18 days ago