List of all service domains

http://api.kopeechka.store/mailbox-zones?token=$TOKEN&zones=$ZONES&popular=$POPULAR&type=$TYPE&api=2.0

$ZONES - Set 1 if you want to get all our zones with prices

$POPULAR - Set 1 to get popular mail services (yandex.ru,mail.ru).

$TOKEN - Your API key from kopeechka.store

$TYPE - Specify in what form to give the answer (JSON (by default) / TEXT )

Answer:

JSON

{"status":"OK","zones":[{"name":"host","cost":5},{"name":"icu","cost":5}],"popular":[{"name":"mail.ru","cost":"10"},{"name":"list.ru","cost":"10"}]}

TEXT

mail.ru,list.ru,inbox.ru,bk.ru,yahoo.com

Possible errors:

  • Invalid token

JSON

{"status":"ERROR","value":"BAD_TOKEN"}

TEXT

ERROR|BAD_TOKEN

Have you figured it out? Rather try :)