Skip to content

Base Endpoint

AMM Spot API Base Endpoint

Production Environment

    https://api.dipcoin.io/

Important Notes

  • All API responses are in JSON format
  • All times and timestamps are UNIX time (milliseconds)
  • Each interface may throw exceptions, exception response format is as follows:

        {
            "code": 10001,
            "message": "Invalid Parameter.",
            "data": null
        }
    
  • Parameter order is not required

API Service Endpoints

Pool Service

/api/pools

Ticker Service

/api/tickers

Account Service

/api/account

Response Format

All API responses follow a unified format:

{
    "code": 200,
    "message": "success",
    "data": {}
}
  • code: Response code, 200 indicates success
  • message: Response message
  • data: Response data