Skip to content

POST /apiv2/time/add

Add a TRON address to Host Mode for automated energy management.

Endpoint URL

POST https://netts.io/apiv2/time/add

Request Headers

HeaderRequiredDescription
Content-TypeYesapplication/json
X-API-KEYYesYour API key
X-Real-IPYesIP address from whitelist

Request Body

json
{
    "address": "TQn9Y2khEsLJW1ChVWFMSMeRDow5KcbLSE",
    "energy_threshold": 65000,
    "auto_refill": true
}

Parameters

ParameterTypeRequiredDescription
addressstringYesTRON address to add to Host Mode
energy_thresholdintegerYesMinimum energy threshold (when to trigger refill)
auto_refillbooleanNoEnable automatic energy refill (default: true)

Response

Success Response (200 OK)

json
{
    "code": 0,
    "msg": "Address successfully added to Host Mode",
    "data": {
        "address": "TQn9Y2khEsLJW1ChVWFMSMeRDow5KcbLSE",
        "status": "active",
        "energy_threshold": 65000,
        "auto_refill": true,
        "created_at": "2025-08-31T10:30:00Z"
    }
}

Notes

  • Host Mode monitors addresses and automatically provides energy when threshold is reached
  • Maximum 5 addresses per API key in Host Mode
  • Energy thresholds can be between 10,000 and 500,000