API Version

Update on 04.10.2020

➠➠Get pastes by date. FRESH ONLY

Sample:
GET /api/getbydate

Response:

{"error":0,"data":{"current_page":1,"data":[{"title":"Pine cone crafts for kids","syntax":"markup","slug":"0iP6CvYzao","created_at":"2020-09-28 11:59:12","expire_time":null,"encrypted":"1","password_protected":false,"url":"https://didri.com/0iP6CvYzao"},{"title":"EarthTronics rolls out smart LED lighting line","syntax":"none","slug":"BQClUBCkFn","created_at":"2020-09-28 11:43:35","expire_time":null,"encrypted":"1","password_protected":false,"url":"https://didri.com/BQClUBCkFn"},{"title":"Five top tips for a perfect kitchen refurb","syntax":"none","slug":"Of79GtpK25","created_at":"2020-09-28 11:39:24","expire_time":null,"encrypted":"1","password_protected":false,"url":"https://didri.com/Of79GtpK25"},{"title":"A man found 9.07-carat diamond","syntax":"none","slug":"5cIFocTPga","created_at":"2020-09-28 11:32:47","expire_time":null,"encrypted":"1","password_protected":false,"url":"https://didri.com/5cIFocTPga"},{"title":"free bitcoins every hour","syntax":"none","slug":"j32sbqWbal","created_at":"2020-09-28 02:00:32","expire_time":"2020-10-12 02:00:32","encrypted":"0","password_protected":false,"url":"https://didri.com/j32sbqWbal"}],"first_page_url":"https://didri.com/api/getbydate?page=1","from":1,"next_page_url":null,"path":"https://didri.com/api/getbydate","per_page":50,"prev_page_url":null,"to":5}}

If error/whatever then the response will be:

{"error":0,"data":{"current_page":1,"data":[],"first_page_url":"https://didri.com/api/getbydate?page=1","from":null,"next_page_url":null,"path":"https://didri.com/api/getbydate","per_page":50,"prev_page_url":null,"to":null}}

➠➠Searching by some word.

Sample:
GET /api/search?keyword=wedding

Response:

{"error":0,"data":{"current_page":1,"data":[{"title":"15 Minimalist Wedding Invitations...","syntax":"none","slug":"TbVAPT1Fkc","created_at":"2020-09-27 22:40:01","expire_time":null,"encrypted":"1","password_protected":false,"url":"https://didri.com/TbVAPT1Fkc"},{"title":"NEXT CAPTHA  1","syntax":"none","slug":"67abaWTQjl","created_at":"2020-06-04 07:40:12","expire_time":null,"encrypted":"0","password_protected":false,"url":"https://didri.com/67abaWTQjl"},{"title":"jumbo","syntax":"none","slug":"WhE4W4Zlfp","created_at":"2020-03-06 23:12:27","expire_time":null,"encrypted":"0","password_protected":false,"url":"https://didri.com/WhE4W4Zlfp"},{"title":null,"syntax":"none","slug":"4UU2c0zqhf","created_at":"2019-08-27 11:22:10","expire_time":null,"encrypted":"0","password_protected":false,"url":"https://didri.com/4UU2c0zqhf"}],"first_page_url":"https://didri.com/api/search?page=1","from":1,"next_page_url":null,"path":"https://didri.com/api/search","per_page":"50","prev_page_url":null,"to":4}}

If error/whatever then the response will be:

{"error":0,"data":{"current_page":1,"data":[],"first_page_url":"https://didri.com/api/search?page=1","from":null,"next_page_url":null,"path":"https://didri.com/api/search","per_page":"50","prev_page_url":null,"to":null}}