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:

  • No dump with such id

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

Get dumps by date

Getting dump(s) from specific date. For example from 1.1.2018 to 1.2.2018.
Response will contains dump id, data and creation time. If all ok "error" field will be 0 (and no "error_info").

Sample:

POST /api/dump/getbydate
...
from=12.01.2018&to=13.01.2018

Response:
{ "data": [{ "id": "r9AciL6y", "tags": "user\/pass", "date": "1515711729" }, { "id": "NsY08uLu", "tags": "conn. str.", "date": "1515711976" }, { "id": "G4PrewA4", "tags": "email regex:85", "date": "1515712452" }, { "id": "91K8KqUL", "tags": "email regex:696", "date": "1515712929" }, { "id": "vPxA413G", "tags": "user\/pass", "date": "1515712931" }, { "id": "DqAnJthy", "tags": "user\/pass", "date": "1515713530" }, { "id": "iMUQ32CQ", "tags": "user\/pass", "date": "1515713649" }], "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" }