Anzeigemodus
Trade API

Error Codes#

Swap API#

CodeHTTP statusMessage
0200Succeeded
50011429Rate limit reached. Please refer to API documentation and throttle requests accordingly
50014400Parameter {param0} cannot be empty
50026500System error. Try again later
50103401Request header "OK-ACCESS-KEY" cannot be empty
50104401Request header "OK-ACCESS-PASSPHRASE" cannot be empty
50105401Request header "OK-ACCESS-PASSPHRASE" incorrect
50106401Request header "OK-ACCESS-SIGN" cannot be empty
50107401Request header "OK-ACCESS-TIMESTAMP" cannot be empty
50111401Invalid OK-ACCESS-KEY
50112401Invalid OK-ACCESS-TIMESTAMP
50113401Invalid signature
51000400Parameter {param0} error
80000200Repeated request
80001200CallData exceeds the maximum limit. Try again in 5 minutes.
80002200Requested token Object count has reached the limit.
80003200Requested native token Object count has reached the limit.
80004200Timeout when querying SUI Object.
80005200Not enough Sui objects under the address for swapping
82000200Insufficient liquidity
82001500The commission service is not available during the upgrade
82003200toTokenReferrerWalletAddress address is not valid
82102200Less than the minimum quantity limit,the minimum amount is {0}
82103200Exceeds than the maximum quantity limit,the maximum amount is {0}
82104200This token is not supported
82105200This chain is not supported
82112200The value difference from this transaction’s quote route is higher than {num}, which may cause asset loss,The default value is 90%. It can be adjusted using the string priceImpactProtectionPercentage.
82116200callData exceeds the maximum limit. Try again in 5 minutes.
82130200The chain does not require authorized transactions and can be exchanged directly.
82004200Commission split for swaps via Four.meme is not supported
82005200Commission split for swaps via aspecta is not supported

RFQ API#

Market makers should return appropriate HTTP status codes along with error messages.

CodeHTTP statusMessage
0200The request was successful, and the endpoint will return a quote.
404404The endpoint will not return a quote for this request (e.g. the pair or the size are not supported).
400400The request sent to the endpoint is malformed (e.g. missing an expected parameter).
401401Authorization failed. For example the X-API-KEY is missing or incorrect.
50x50xThe endpoint is offline or unable to respond. If the status persist, the endpoint will be temporarily suspended and will not receive requests.
82000200Liquidity too low for this quote
82001200The quote does not exceed the minimum size of the maker
82002200The maker is unavailable to handle the quote
82003200The maker rejects to respond to this user
Table of contents