http://api.kopeechka.store/domain-get-alive?domain=$DOMAIN&type=$TYPE&api=2.0
$DOMAIN- The domain whose lifetime you want to know
$TYPE - Specify in what form to give the answer (JSON (by default) / TEXT )
✅ Answer:
JSON
{"status":"OK","alive":$ALIVE}
TEXT
OK|$ALIVE
$ALIVE - After how many days the domain will log out.
❌ Possible errors:
$DOMAIN invalid
JSON
{"status":"ERROR","value":"BAD_DOMAIN"}
TEXT
ERROR|BAD_DOMAIN
Have you figured it out? Rather try :)