Currently there are next api call's available:

Get dump

Getting dump(s) by its id
Response will contains dump id, data and creation time. If all ok "error" field will be 0 (and no "error_info").

Sample:

GET /api/dump/get/P6e5NZH1

Response:
{ "id":"P6e5NZH1", "data":"...", "time":"2015-09-22 10:08:16", "error":0, "error_info":"" }

Possible errors:

{ "error":1, "error_info":"key not valid" }

Get daily dumps

Get current daily dumps.
Response will contains dump id If all ok "error" field will be 0 (and no "error_info").

Sample:

GET /api/dump/daily

Response:
{ "data":[ { "id":"zDNxZK5Q" }, { "id":"yCXY07cG" }, { "id":"xrFhjm68" }, { "id":"xqTKhRKx" }, { "id":"vy9TAjZC" }, { "id":"uRH4bL9r" }, { "id":"trcCy4ws" }, { "id":"tBApy4v3" }, { "id":"suTqEfwE" }, { "id":"sVzSmUKa" }, { "id":"sKkhuw9m" }, { "id":"qsMmKePF" }, { "id":"mTaKK5Qj" }, { "id":"kC94tF1a" }, { "id":"jeNgXdBR" }, { "id":"jNafiQq7" } ], "error":0, "error_info":"" }

Search by email

Getting dump(s) by email.
Response will be dumps id and date added. If all ok "error" field will be 0 (and no "error_info").

Sample:

GET /api/search/email/test@test.com

Response:
{ "search": "test@test.com", "count": 28, "data": [{ "id": "VxdmVLrV", "time": "2015-02-08 03:55:20" }, { "id": "NzdipnSJ", "time": "2015-03-05 17:32:03" } ], "error": 0, "error_info": "" }

If error then the response will be:

{ "search": "tes@", "count": 0, "data": [], "error": 1, "error_info": "not a valid email" }

Search by domain

Getting dump(s) by domain.
Response will be dumps id and date added. If all ok "error" field will be 0 (and no "error_info").

Sample:

GET api/search/domain/test.com

Response:
{ "search": "test.com", "count": 375, "data": [{ "id": "za8V7z41", "time": "2015-02-16 08:50:37" }, { "id": "sk79RECa", "time": "2015-02-16 08:51:09" }, { "id": "sj8v1Kix", "time": "2015-02-14 00:27:18" }, { "id": "BX698V7M", "time": "2015-02-14 14:30:45" }, { "id": "BwrhH6ME", "time": "2015-02-12 08:34:17" }, { "id": "BT0Xmbud", "time": "2015-02-10 12:11:07" }], "error": 0, "error_info": "" }

If error then the response will be:

{ "search": "tes@", "count": 0, "data": [], "error": 1, "error_info": "not a valid domain" }