Currently there are next api(v2) 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 dumps time interval

Getting dump(s) from specific time interval. For example from 1.1.2018 to 1.2.2018. Time interval can be more than month.
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/timeval/1517141296/1517145296

Response:
{ "time_start": 1517141296, "time_end": 1517145296, "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": "" }

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":"" }

General search

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

Sample:

GET /api/search/test@test.com

Response:
{ "search":"test@test.com", "count":981, "data":[ { "id":"98PAzH84", "time":"2017-12-14 08:36:27", "tags":"email\/pass" }, { "id":"ys3DZfiN", "time":"2017-12-14 09:42:03", "tags":"email\/pass" }] "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 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" }