{"info":{"_postman_id":"07136e78-ad49-4586-8c96-1fc31c6be575","name":"API Tasks","description":"<html><head></head><body><p>This API allow you to add and controll your tasks (video and popups) advertisment.</p>\n<p>To launch tasks you have to top up your account on <a href=\"https://surfe.be/payin\">https://surfe.be/payin</a></p>\n<p><strong>Authorization</strong><br>Use your API key with each request as additional <code>api_key</code> POST parameter.</p>\n<p>You can find it on <a href=\"https://surfe.be/apikeys\">https://surfe.be/apikeys</a></p>\n<p><strong>General Exceptions</strong></p>\n<p>To prevent high load every request has rate limit. In case of excess limits return status code 429 with content <code>{\"status\": \"fail\", \"error\": \"Too many requests\"}</code></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"15225023","collectionId":"07136e78-ad49-4586-8c96-1fc31c6be575","publishedId":"2s93z5A54p","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-06-22T15:03:47.000Z"},"item":[{"name":"default","item":[{"name":"service-list","id":"f56216c8-38c9-4fa8-be1e-8bd1eeececb8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://surfe.be/api-v1/default/service-list","description":"<p>This method return the service list</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"07136e78-ad49-4586-8c96-1fc31c6be575","id":"07136e78-ad49-4586-8c96-1fc31c6be575","name":"API Tasks","type":"collection"}},"urlObject":{"path":["default","service-list"],"host":["https://surfe.be/api-v1"],"query":[],"variable":[]}},"response":[{"id":"de8cf9c9-1869-4943-a2d5-16a7895d4992","name":"success","originalRequest":{"method":"GET","header":[],"url":"https://surfe.be/api-v1/default/service-list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 01 Mar 2024 15:11:50 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"X-Debug-Tag","value":"65e1f0363d7dd"},{"key":"X-Debug-Duration","value":"1,212"},{"key":"X-Debug-Link","value":"/debug/default/view?tag=65e1f0363d7dd"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"The-Rule","value":"main"},{"key":"node-sb","value":"sprod"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"service\": 1,\n        \"name\": \"Website visit\"\n    },\n    {\n        \"service\": 2,\n        \"name\": \"Video watch\"\n    }\n]"}],"_postman_id":"f56216c8-38c9-4fa8-be1e-8bd1eeececb8"}],"id":"590e1d0e-cfd8-49af-a68c-53aef55c14d2","_postman_id":"590e1d0e-cfd8-49af-a68c-53aef55c14d2","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"07136e78-ad49-4586-8c96-1fc31c6be575","id":"07136e78-ad49-4586-8c96-1fc31c6be575","name":"API Tasks","type":"collection"}}},{"name":"video","item":[{"name":"create","id":"239c2a76-824a-4604-a248-174df81d713a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"video_link","value":"https://youtu.be/p6C-cYCrxxY","type":"text","description":"<p><strong>Required</strong>\n<em>Link to the video YouTube, TikTok, Vimeo, Rumble, Twitch, VK, OK, Rutube, Telegram, dzen.ru</em></p>\n"},{"key":"duration","value":"20","type":"text","description":"<p><strong>Required</strong>\nDuration of watching in seconds. If video shorter, it will be looped.\nmin - 20, max - 600</p>\n"},{"key":"views_count","value":"0","description":"<p>Values: 10-9999999999\n<em>If more than 9 task will be launched immediately</em></p>\n","type":"text"},{"key":"embedded","value":"true","type":"text","description":"<p>Values: \"false\"|\"true\"\nDefault: \"false\"\n<em>If 'true' video will be shown on surfe.be site and app.\nIf 'false' video will be shown directly on <code>video_link</code> page via browser extension.</em></p>\n","disabled":true},{"key":"link","value":"https://www.youtube.com/@HughJeffreys","type":"text","description":"<p><strong>Only for embedded</strong>\nDefault: same as <code>video_link</code>\n<em>Link of a page to follow after video been viewed.</em></p>\n","disabled":true},{"key":"btn_text","value":"See all my videos","type":"text","description":"<p><strong>Only for embedded</strong>\nDefault: \"More detailed\"\n<em>Text on button, that invites user to go after video been viewed.</em></p>\n","disabled":true},{"key":"device","value":"desktop","type":"text","description":"<p>Values: \"all\"|\"mobile\"|\"desktop\"\nDefault: \"all\"\n<em>Filter by device type</em></p>\n","disabled":true},{"key":"lang","value":"en","type":"text","description":"<p>Values: \"<em>\"|\"en\"|\"ru\"\nDefault: \"</em>\" - any\n<em>Filter by language that user set in surfe.be interface</em></p>\n","disabled":true},{"key":"captcha","value":"true","type":"text","description":"<p>Values: \"false\"|\"true\"\nDefault: \"false\"\n<em>Every user should solve captcha. By default captcha is required only for users with low humanity score</em></p>\n","disabled":true},{"key":"limit_score","value":"true","type":"text","description":"<p>Values: \"false\"|\"true\"\nDefault: \"false\"\n<em>This task will be offered to users with humanity score more than 70%</em></p>\n","disabled":true},{"key":"limit_series","value":"4","type":"text","description":"<p>Values: integer 0-10\nDefault: 0\n<em>Total count of view per single user</em></p>\n","disabled":true},{"key":"limit_timeout","value":"500","type":"text","description":"<p>Values: integer 0-1000\nDefault: 0\n<em>Limit of views per last 60 minutes.</em></p>\n","disabled":true}]},"url":"https://surfe.be/api-v1/video/create","description":"<p>Creates video advert and runs task to perform.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"07136e78-ad49-4586-8c96-1fc31c6be575","id":"07136e78-ad49-4586-8c96-1fc31c6be575","name":"API Tasks","type":"collection"}},"urlObject":{"path":["video","create"],"host":["https://surfe.be/api-v1"],"query":[],"variable":[]}},"response":[{"id":"b1cca876-24b6-4b9d-b211-b38e9144ac45","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"video_link","value":"https://www.youtube.com/watch?v=vx-Lggf2TXc","type":"text","description":"**Required**\n*Link to the video YouTube, TikTok, Vimeo, Rumble, Twitch, VK, OK, Rutube, Telegram, dzen.ru*"},{"key":"duration","value":"20","type":"text","description":"**Required**\nDuration of watching in seconds. If video shorter, it will be looped.\nmin - 20, max - 600"},{"key":"embedded","value":"true","type":"text","description":"Values: \"false\"|\"true\"\nDefault: \"false\"\n*If 'true' video will be shown on surfe.be site and app.\nIf 'false' video will be shown directly on `video_link` page via browser extension.*"},{"key":"link","value":"https://www.youtube.com/@HughJeffreys","type":"text","description":"**Only for embedded**\nDefault: same as `video_link`\n*Link of a page to follow after video been viewed.*"},{"key":"btn_text","value":"See all my videos","type":"text","description":"**Only for embedded**\nDefault: \"More detailed\"\n*Text on button, that invites user to go after video been viewed.*"},{"key":"device","value":"desktop","type":"text","description":"Values: \"all\"|\"mobile\"|\"desktop\"\nDefault: \"all\"\n*Filter by device type*"},{"key":"lang","value":"en","type":"text","description":"Values: \"*\"|\"en\"|\"ru\"\nDefault: \"*\" - any\n*Filter by language that user set in surfe.be interface*"},{"key":"captcha","value":"true","type":"text","description":"Values: \"false\"|\"true\"\nDefault: \"false\"\n*Every user should solve captcha. By default captcha is required only for users with low humanity score*"},{"key":"limit_score","value":"true","type":"text","description":"Values: \"false\"|\"true\"\nDefault: \"false\"\n*This task will be offered to users with humanity score more than 70%*"},{"key":"limit_series","value":"4","type":"text","description":"Values: integer 0-10\nDefault: 0\n*Total count of view per single user*"},{"key":"limit_timeout","value":"500","type":"text","description":"Values: integer 0-1000\nDefault: 0\n*Limit of views per last 60 minutes.*"}]},"url":"https://surfe.be/api-v1/video/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sun, 25 Jun 2023 11:25:00 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"The-Rule","value":"main"},{"key":"node-sb","value":"sprod"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"video\": 785569\n}"},{"id":"1144a4e4-fc0f-4103-bc1e-d396dbbb501d","name":"Error - embedded","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"video_link","value":"https://rumble.com/v2vdp9e-oh-la-la-dance.html","description":"**Required**\n*Link to the video YouTube, TikTok, Vimeo, Rumble, Twitch, VK, OK, Rutube, Telegram, dzen.ru*","type":"text"},{"key":"duration","value":"30","description":"**Required**\nDuration of watching in seconds. If video shorter, it will be looped.\nmin - 20, max - 600","type":"text"},{"key":"embedded","value":"true","description":"Values: \"false\"|\"true\"\nDefault: \"false\"\n*If 'true' video will be shown on surfe.be site and app.\nIf 'false' video will be shown directly on `video_link` page via browser extension.*","type":"text"},{"key":"link","value":"https://rumble.com/user/ohlalario","description":"**Only for embedded**\nDefault: same as `video_link`\n*Link of a page to follow after video been viewed.*","type":"text"},{"key":"btn_text","value":"See all my videos","description":"**Only for embedded**\nDefault: \"More detailed\"\n*Text on button, that invites user to go after video been viewed.*","type":"text"},{"key":"device","value":"desktop","description":"Values: \"all\"|\"mobile\"|\"desktop\"\nDefault: \"all\"\n*Filter by device type*","type":"text"},{"key":"lang","value":"en","description":"Values: \"*\"|\"en\"|\"ru\"\nDefault: \"*\"\n*Filter by language that users set in surfe.be interface*","type":"text"}]},"url":"https://surfe.be/api-v1/video/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 22 Jun 2023 13:33:52 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"The-Rule","value":"main"},{"key":"node-sb","value":"sprod"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"video_link\": [\n            \"Only Youtube, Twitch or Rutube can be embedded\"\n        ]\n    }\n}"},{"id":"44188638-e8d0-4174-9181-79116a01b199","name":"Error - duration","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"video_link","value":"https://www.youtube.com/watch?v=vx-Lggf2TXc","description":"**Required**\n*Link to the video YouTube, TikTok, Vimeo, Rumble, Twitch, VK, OK, Rutube, Telegram, dzen.ru*","type":"text"},{"key":"duration","value":"19","description":"**Required**\nDuration of watching in seconds. If video shorter, it will be looped.\nmin - 20, max - 600","type":"text"},{"key":"embedded","value":"true","description":"Values: \"false\"|\"true\"\nDefault: \"false\"\n*If 'true' video will be shown on surfe.be site and app.\nIf 'false' video will be shown directly on `video_link` page via browser extension.*","type":"text","disabled":true},{"key":"link","value":"https://www.youtube.com/@HughJeffreys","description":"**Only for embedded**\nDefault: same as `video_link`\n*Link of a page to follow after video been viewed.*","type":"text","disabled":true},{"key":"btn_text","value":"See all my videos","description":"**Only for embedded**\nDefault: \"More detailed\"\n*Text on button, that invites user to go after video been viewed.*","type":"text","disabled":true},{"key":"device","value":"desktop","description":"Values: \"all\"|\"mobile\"|\"desktop\"\nDefault: \"all\"\n*Filter by device type*","type":"text","disabled":true},{"key":"lang","value":"en","description":"Values: \"*\"|\"en\"|\"ru\"\nDefault: \"*\"\n*Filter by language that users set in surfe.be interface*","type":"text","disabled":true}]},"url":"https://surfe.be/api-v1/video/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 22 Jun 2023 13:35:59 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"The-Rule","value":"main"},{"key":"node-sb","value":"sprod"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": {\n        \"duration\": [\n            \"Minimal duration is 20 seconds\"\n        ]\n    }\n}"},{"id":"7f336669-6188-47af-9044-0d0d1b4f275e","name":"Autostart","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"video_link","value":"https://www.youtube.com/watch?v=vx-Lggf2TXc","type":"text","description":"**Required**\n*Link to the video YouTube, TikTok, Vimeo, Rumble, Twitch, VK, OK, Rutube, Telegram, dzen.ru*"},{"key":"duration","value":"20","type":"text","description":"**Required**\nDuration of watching in seconds. If video shorter, it will be looped.\nmin - 20, max - 600"},{"key":"views_count","value":"255","description":"Values: 0-9999999999","type":"text"},{"key":"embedded","value":"true","type":"text","description":"Values: \"false\"|\"true\"\nDefault: \"false\"\n*If 'true' video will be shown on surfe.be site and app.\nIf 'false' video will be shown directly on `video_link` page via browser extension.*","disabled":true},{"key":"link","value":"https://www.youtube.com/@HughJeffreys","type":"text","description":"**Only for embedded**\nDefault: same as `video_link`\n*Link of a page to follow after video been viewed.*","disabled":true},{"key":"btn_text","value":"See all my videos","type":"text","description":"**Only for embedded**\nDefault: \"More detailed\"\n*Text on button, that invites user to go after video been viewed.*","disabled":true},{"key":"device","value":"desktop","type":"text","description":"Values: \"all\"|\"mobile\"|\"desktop\"\nDefault: \"all\"\n*Filter by device type*","disabled":true},{"key":"lang","value":"en","type":"text","description":"Values: \"*\"|\"en\"|\"ru\"\nDefault: \"*\" - any\n*Filter by language that user set in surfe.be interface*","disabled":true},{"key":"captcha","value":"true","type":"text","description":"Values: \"false\"|\"true\"\nDefault: \"false\"\n*Every user should solve captcha. By default captcha is required only for users with low humanity score*","disabled":true},{"key":"limit_score","value":"true","type":"text","description":"Values: \"false\"|\"true\"\nDefault: \"false\"\n*This task will be offered to users with humanity score more than 70%*","disabled":true},{"key":"limit_series","value":"4","type":"text","description":"Values: integer 0-10\nDefault: 0\n*Total count of view per single user*","disabled":true},{"key":"limit_timeout","value":"500","type":"text","description":"Values: integer 0-1000\nDefault: 0\n*Limit of views per last 60 minutes.*","disabled":true}]},"url":"https://surfe.be/api-v1/video/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 29 Jun 2023 09:45:15 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"X-Debug-Tag","value":"649d52a54f4a5"},{"key":"X-Debug-Duration","value":"6,326"},{"key":"X-Debug-Link","value":"/debug/default/view?tag=649d52a54f4a5"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"The-Rule","value":"main"},{"key":"node-sb","value":"sprod"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"video\": 786448\n}"}],"_postman_id":"239c2a76-824a-4604-a248-174df81d713a"},{"name":"edit","id":"57929e63-0d76-46dc-bea0-60b5921b4155","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"video_link","value":"https://www.youtube.com/watch?v=vx-Lggf2TXc","type":"text","disabled":true},{"key":"duration","value":"19","type":"text","description":"<p>in sec, min 20</p>\n","disabled":true},{"key":"embedded","value":"false","type":"text","description":"<p>[false]|true</p>\n","disabled":true},{"key":"link","value":"https://www.youtube.com/@HughJeffreys","type":"text","description":"<p>[More detailed]</p>\n","disabled":true},{"key":"btn_text","value":"See all my videos","type":"text","description":"<p>[same as video_link]</p>\n","disabled":true},{"key":"device","value":"desktop","type":"text","description":"<p>[all]|mobile|desktop</p>\n","disabled":true},{"key":"lang","value":"en","type":"text","description":"<p>[*]|en|ru</p>\n","disabled":true},{"key":"captcha","value":"false","type":"text","description":"<p>Values: \"false\"|\"true\"\nDefault: \"false\"\n<em>Every user should solve captcha. By default captcha is required only for users with low humanity score</em></p>\n","disabled":true},{"key":"limit_score","value":"true","type":"text","description":"<p>Values: \"false\"|\"true\"\nDefault: \"false\"\n<em>This task will be offered to users with humanity score more than 70%</em></p>\n","disabled":true},{"key":"limit_series","value":"0","description":"<p>Values: integer 0-10\nDefault: 0\n<em>Total count of view per single user</em></p>\n","type":"text"},{"key":"limit_timeout","value":"0","description":"<p>Values: integer 0-1000\nDefault: 0\n<em>Limit of views per last 60 minutes.</em></p>\n","type":"text"}]},"url":"https://surfe.be/api-v1/video/edit?id=785564","description":"<p>Allows you to edit existed video advert.</p>\n<p>All POST parameters the same as in <code>video/create</code> request</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"07136e78-ad49-4586-8c96-1fc31c6be575","id":"07136e78-ad49-4586-8c96-1fc31c6be575","name":"API Tasks","type":"collection"}},"urlObject":{"path":["video","edit"],"host":["https://surfe.be/api-v1"],"query":[{"key":"id","value":"785564"}],"variable":[]}},"response":[{"id":"977c8eb0-101b-44b9-b38a-fcd3a18e7523","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"video_link","value":"https://www.youtube.com/watch?v=vx-Lggf2TXc","type":"text","disabled":true},{"key":"duration","value":"19","type":"text","description":"in sec, min 20","disabled":true},{"key":"embedded","value":"false","type":"text","description":"[false]|true"},{"key":"link","value":"https://www.youtube.com/@HughJeffreys","type":"text","description":"[More detailed]","disabled":true},{"key":"btn_text","value":"See all my videos","type":"text","description":"[same as video_link]","disabled":true},{"key":"device","value":"desktop","type":"text","description":"[all]|mobile|desktop","disabled":true},{"key":"lang","value":"en","type":"text","description":"[*]|en|ru","disabled":true}]},"url":{"raw":"https://surfe.be/api-v1/video/edit?id=784835","protocol":"https","host":["surfe","be"],"path":["api-v1","video","edit"],"query":[{"key":"id","value":"784835"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 22 Jun 2023 13:51:33 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"The-Rule","value":"main"},{"key":"node-sb","value":"sprod"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"video\": 784835\n}"}],"_postman_id":"57929e63-0d76-46dc-bea0-60b5921b4155"},{"name":"remove","id":"e82507bb-d555-4da6-bbf1-629d19a6069b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"811020","description":"<p><strong>Required</strong>\n<em>Comma separeted list of id</em></p>\n","type":"text"}]},"url":"https://surfe.be/api-v1/video/remove","description":"<p>Remove video and all information from cache</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"07136e78-ad49-4586-8c96-1fc31c6be575","id":"07136e78-ad49-4586-8c96-1fc31c6be575","name":"API Tasks","type":"collection"}},"urlObject":{"path":["video","remove"],"host":["https://surfe.be/api-v1"],"query":[],"variable":[]}},"response":[{"id":"511e462d-fd9a-4aef-a1d4-f725e948ef16","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"784276,784832","description":"**Required**\n*Comma separeted list of id*","type":"text"}]},"url":"https://surfe.be/api-v1/video/remove"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 22 Jun 2023 13:55:15 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"The-Rule","value":"main"},{"key":"node-sb","value":"sprod"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"result\",\n    \"result\": {\n        \"784276\": {\n            \"status\": \"success\"\n        },\n        \"784832\": {\n            \"status\": \"success\"\n        }\n    }\n}"}],"_postman_id":"e82507bb-d555-4da6-bbf1-629d19a6069b"},{"name":"get-info","id":"7fd9e487-6a5e-41d7-a29b-e0b2c02d16b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"873024","description":"<p><strong>Required</strong>\n<em>Comma separeted list of id</em></p>\n","type":"text"},{"key":"with-stats","value":"true","description":"<p>Values: \"false\"|\"true\"\nDefault: \"false\"\n<em>Load data with stats. Do not load stats if it not necessary to prevent high load</em></p>\n","type":"text"}]},"url":"https://surfe.be/api-v1/video/get-info","description":"<p>Returns all info about the video.</p>\n<h2 id=\"common-fields\">Common fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong></td>\n<td>Unique identifier</td>\n</tr>\n<tr>\n<td><strong>video_link</strong></td>\n<td>Link to the video</td>\n</tr>\n<tr>\n<td><strong>duration</strong></td>\n<td>Duration to watch in seconds</td>\n</tr>\n<tr>\n<td><strong>balance</strong></td>\n<td>Remaining funds on this advert</td>\n</tr>\n<tr>\n<td><strong>embedded</strong></td>\n<td>Defines if this video should be shown on surfe.be site and app as embedded video</td>\n</tr>\n<tr>\n<td><strong>link</strong></td>\n<td>If embedded where to redirect on click</td>\n</tr>\n<tr>\n<td><strong>btn_text</strong></td>\n<td>If embedded, text on button to redirect</td>\n</tr>\n<tr>\n<td><strong>running</strong></td>\n<td>\"1\" means video is active and gets views.  <br />\"0\" means video is stopped. No new performings will be getted.</td>\n</tr>\n<tr>\n<td><strong>captcha</strong></td>\n<td>Should every user solve captcha to proof view</td>\n</tr>\n<tr>\n<td><strong>limit_score</strong></td>\n<td>Do not offer this task to users with humanity score less than 70%</td>\n</tr>\n<tr>\n<td><strong>limit_series</strong></td>\n<td>Total count of view per single user</td>\n</tr>\n<tr>\n<td><strong>limit_timeout</strong></td>\n<td>Limit of views per last 60 minutes</td>\n</tr>\n<tr>\n<td><strong>device</strong></td>\n<td>Filter users by device type</td>\n</tr>\n<tr>\n<td><strong>lang</strong></td>\n<td>Filter users by language in surfe.be interface</td>\n</tr>\n<tr>\n<td><strong>start_count</strong></td>\n<td>Count of view on Youtube video when it was added as task</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"stats-fields\">Stats fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>imp</strong></td>\n<td>Getted views</td>\n</tr>\n<tr>\n<td><strong>clk</strong></td>\n<td>How many times users followed to <code>link</code> page</td>\n</tr>\n<tr>\n<td><strong>spent</strong></td>\n<td>How many funds spent</td>\n</tr>\n<tr>\n<td><strong>reach</strong></td>\n<td>Unique users that tried to perform task (view video)</td>\n</tr>\n<tr>\n<td><strong>hold</strong></td>\n<td>Users that started to perform task but not done yet</td>\n</tr>\n<tr>\n<td><strong>cost</strong></td>\n<td>Cost of single perform</td>\n</tr>\n<tr>\n<td><strong>left</strong></td>\n<td>How many view video will get on left funds</td>\n</tr>\n<tr>\n<td><strong>graph</strong></td>\n<td>Array of views per each hours for last day. Start from current hour and each next element contain count of view for previous hour.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"07136e78-ad49-4586-8c96-1fc31c6be575","id":"07136e78-ad49-4586-8c96-1fc31c6be575","name":"API Tasks","type":"collection"}},"urlObject":{"path":["video","get-info"],"host":["https://surfe.be/api-v1"],"query":[],"variable":[]}},"response":[{"id":"1d6aa1cb-27ac-4324-8cc3-175a7206aee5","name":"Success - with stats","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"873024","description":"**Required**\n*Comma separeted list of id*","type":"text"},{"key":"with-stats","value":"true","description":"Values: \"false\"|\"true\"\nDefault: \"false\"\n*Load data with stats. Do not load stats if it not necessary to prevent high load*","type":"text"}]},"url":"https://surfe.be/api-v1/video/get-info"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 05 Mar 2024 13:22:04 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"X-Debug-Tag","value":"65e71c77c7063"},{"key":"X-Debug-Duration","value":"5,203"},{"key":"X-Debug-Link","value":"/debug/default/view?tag=65e71c77c7063"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"The-Rule","value":"main"},{"key":"node-sb","value":"sprod"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"result\",\n    \"result\": {\n        \"873024\": {\n            \"status\": \"ok\",\n            \"data\": {\n                \"id\": 873024,\n                \"video_link\": \"https://youtu.be/uUMLKo_0Lcw\",\n                \"duration\": 20,\n                \"balance\": 0.706244,\n                \"embedded\": \"false\",\n                \"link\": \"\",\n                \"btn_text\": \"\",\n                \"running\": 1,\n                \"captcha\": 0,\n                \"limit_score\": 0,\n                \"limit_series\": 0,\n                \"limit_timeout\": 0,\n                \"device\": \"all\",\n                \"lang\": \"*\",\n                \"start_count\": 11680,\n                \"stats\": {\n                    \"imp\": 2241,\n                    \"clk\": 0,\n                    \"spent\": 2.5042834,\n                    \"reach\": 2276,\n                    \"hold\": 5,\n                    \"cost\": 0.0011175,\n                    \"left\": 631,\n                    \"graph\": [\n                        115,\n                        305,\n                        345,\n                        376,\n                        463,\n                        637\n                    ]\n                }\n            }\n        }\n    }\n}"},{"id":"5a91ae0f-c94c-45cc-8344-3641ac2a59db","name":"Success - no stats","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"787818","description":"**Required**\n*Comma separeted list of id*","type":"text"},{"key":"with-stats","value":"true","description":"Values: \"false\"|\"true\"\nDefault: \"false\"\n*Load data with stats. Do not load stats if it not necessary to prevent high load*","type":"text","disabled":true}]},"url":"https://surfe.be/api-v1/video/get-info"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 06 Jul 2023 11:36:17 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"X-Debug-Tag","value":"64a6a72fe9706"},{"key":"X-Debug-Duration","value":"2,472"},{"key":"X-Debug-Link","value":"/debug/default/view?tag=64a6a72fe9706"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"The-Rule","value":"main"},{"key":"node-sb","value":"sprod"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"result\",\n    \"result\": {\n        \"787818\": {\n            \"status\": \"ok\",\n            \"data\": {\n                \"id\": 787818,\n                \"video_link\": \"https://www.youtube.com/watch?v=vx-Lggf2TXc\",\n                \"duration\": 20,\n                \"balance\": 0.507,\n                \"embedded\": \"false\",\n                \"link\": \"\",\n                \"btn_text\": \"\",\n                \"running\": 0,\n                \"captcha\": 1,\n                \"limit_score\": 1,\n                \"limit_series\": 0,\n                \"limit_timeout\": 0,\n                \"device\": \"all\",\n                \"lang\": \"*\",\n                \"start_count\": 2434565,\n                \"stats\": null\n            }\n        }\n    }\n}"}],"_postman_id":"7fd9e487-6a5e-41d7-a29b-e0b2c02d16b2"},{"name":"get-list","id":"22ad535f-74d8-45db-ae88-0f6fc18951ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://surfe.be/api-v1/video/get-list","description":"<p>Returns list of id of all videos</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"07136e78-ad49-4586-8c96-1fc31c6be575","id":"07136e78-ad49-4586-8c96-1fc31c6be575","name":"API Tasks","type":"collection"}},"urlObject":{"path":["video","get-list"],"host":["https://surfe.be/api-v1"],"query":[],"variable":[]}},"response":[{"id":"b2a8f529-25aa-42ff-b42e-c42e98eab88b","name":"Success","originalRequest":{"method":"POST","header":[],"url":"https://surfe.be/api-v1/video/get-list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 22 Jun 2023 13:59:35 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"The-Rule","value":"main"},{"key":"node-sb","value":"sprod"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"[\n    33288,\n    168812,\n    228417,\n    346754,\n    361352,\n    382895,\n    385316,\n    483727,\n    575804,\n    779240,\n    784113,\n    784280,\n    784835\n]"}],"_postman_id":"22ad535f-74d8-45db-ae88-0f6fc18951ab"},{"name":"refill","id":"f5466a2f-ca93-4ea7-b5de-70edba347f60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"784280","description":"<p><strong>Required</strong>\n<em>Comma separated list of id</em></p>\n","type":"text"},{"key":"amount","value":"200","description":"<p><strong>Required</strong>\n<em>Comma separated list of amount of views</em></p>\n","type":"text"},{"key":"run","value":"true","description":"<p>Values: \"false\"|\"true\"\nDefault: \"false\"\n<em>Run advert after refilling</em></p>\n","type":"text"}]},"url":"https://surfe.be/api-v1/video/refill","description":"<p>Refill video balance.<br />If batch processing, count of <code>id</code> and count of <code>amount</code> values must be equal</p>\n<p><em>On success request execution delayed for one minute.</em></p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"07136e78-ad49-4586-8c96-1fc31c6be575","id":"07136e78-ad49-4586-8c96-1fc31c6be575","name":"API Tasks","type":"collection"}},"urlObject":{"path":["video","refill"],"host":["https://surfe.be/api-v1"],"query":[],"variable":[]}},"response":[{"id":"d94e73c7-e08a-4adc-b1ae-0efa3502dd1a","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"784280","description":"**Required**\nComma separated list of id","type":"text"},{"key":"amount","value":"200","description":"**Required**\nComma separated list of amount of views","type":"text"},{"key":"run","value":"true","description":"Values: \"false\"|\"true\"\nDefault: \"false\"\n*Run advert after refilling\"","type":"text"}]},"url":"https://surfe.be/api-v1/video/refill"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 22 Jun 2023 14:25:29 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"The-Rule","value":"main"},{"key":"node-sb","value":"sprod"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"result\",\n    \"balance_left\": 1265.0304514999998,\n    \"result\": {\n        \"784280\": {\n            \"status\": \"success\"\n        }\n    }\n}"}],"_postman_id":"f5466a2f-ca93-4ea7-b5de-70edba347f60"},{"name":"refund","id":"5e1806a6-25b8-4054-9f54-ec0bb9625edf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"807498","description":"<p><strong>Required</strong>\n<em>Comma separated list of id</em></p>\n","type":"text"}]},"url":"https://surfe.be/api-v1/video/refund","description":"<p>Return all funds from video balance to advertiser balance.<br /><code>hold</code> must be <code>0</code> to process this request.</p>\n<p><em>On success request execution delayed for one minute.</em></p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"07136e78-ad49-4586-8c96-1fc31c6be575","id":"07136e78-ad49-4586-8c96-1fc31c6be575","name":"API Tasks","type":"collection"}},"urlObject":{"path":["video","refund"],"host":["https://surfe.be/api-v1"],"query":[],"variable":[]}},"response":[{"id":"b94c6f7c-1343-4ef8-b642-7e024593a39c","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"784280","description":"**Required**\n*Comma separated list of id*","type":"text"}]},"url":"https://surfe.be/api-v1/video/refund"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 22 Jun 2023 14:42:10 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"The-Rule","value":"main"},{"key":"node-sb","value":"sprod"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"result\",\n    \"result\": {\n        \"784280\": {\n            \"status\": \"success\"\n        }\n    }\n}"},{"id":"af957a96-c776-4035-8558-80efc76b7a05","name":"Error - running","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"784280","description":"**Required**\n*Comma separated list of id*","type":"text"}]},"url":"https://surfe.be/api-v1/video/refund"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 22 Jun 2023 14:28:39 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"The-Rule","value":"main"},{"key":"node-sb","value":"sprod"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"result\",\n    \"result\": {\n        \"784280\": {\n            \"status\": \"error\",\n            \"error\": \"Video is running, you should stop it first.\"\n        }\n    }\n}"},{"id":"58a29aad-39bf-4b9f-9eab-4988b46e3eed","name":"Error - performing","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"784280","description":"**Required**\n*Comma separated list of id*","type":"text"}]},"url":"https://surfe.be/api-v1/video/refund"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 22 Jun 2023 14:31:23 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"The-Rule","value":"main"},{"key":"node-sb","value":"sprod"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"result\",\n    \"result\": {\n        \"784280\": {\n            \"status\": \"error\",\n            \"error\": \"Refund is not available while task is performing by anyone.\"\n        }\n    }\n}"}],"_postman_id":"5e1806a6-25b8-4054-9f54-ec0bb9625edf"},{"name":"start","id":"7fcb0cd7-fdb8-42a7-b0f8-b881ad918253","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"784280,123","description":"<p><strong>Required</strong>\n<em>Comma separated list of id</em></p>\n","type":"text"}]},"url":"https://surfe.be/api-v1/video/start","description":"<p>Activates video to get views.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"07136e78-ad49-4586-8c96-1fc31c6be575","id":"07136e78-ad49-4586-8c96-1fc31c6be575","name":"API Tasks","type":"collection"}},"urlObject":{"path":["video","start"],"host":["https://surfe.be/api-v1"],"query":[],"variable":[]}},"response":[{"id":"5d2853e9-81bc-40a1-b2a3-be3b2289dd25","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"784280,123","description":"**Required**\n*Comma separated list of id*","type":"text"}]},"url":"https://surfe.be/api-v1/video/start"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 22 Jun 2023 14:29:42 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"The-Rule","value":"main"},{"key":"node-sb","value":"sprod"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"result\",\n    \"result\": {\n        \"123\": {\n            \"status\": \"fail\",\n            \"error\": \"Video not found\"\n        },\n        \"784280\": {\n            \"status\": \"success\"\n        }\n    }\n}"}],"_postman_id":"7fcb0cd7-fdb8-42a7-b0f8-b881ad918253"},{"name":"stop","id":"f9830ada-7edc-499c-bf26-ac6ccbf3209a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"787818","type":"text","description":"<p><strong>Required</strong>\n<em>Comma separated list of id</em></p>\n"}]},"url":"https://surfe.be/api-v1/video/stop","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"07136e78-ad49-4586-8c96-1fc31c6be575","id":"07136e78-ad49-4586-8c96-1fc31c6be575","name":"API Tasks","type":"collection"}},"urlObject":{"path":["video","stop"],"host":["https://surfe.be/api-v1"],"query":[],"variable":[]}},"response":[{"id":"f6082b6b-f41d-456a-a454-77c42782fe2a","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"784280,123","type":"text","description":"**Required**\n*Comma separated list of id*"}]},"url":"https://surfe.be/api-v1/video/stop"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 22 Jun 2023 14:29:13 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"The-Rule","value":"main"},{"key":"node-sb","value":"sprod"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"result\",\n    \"result\": {\n        \"123\": {\n            \"status\": \"fail\",\n            \"error\": \"Video not found\"\n        },\n        \"784280\": {\n            \"status\": \"success\"\n        }\n    }\n}"}],"_postman_id":"f9830ada-7edc-499c-bf26-ac6ccbf3209a"}],"id":"d771e11e-7d6b-4039-a058-fd8d282b7de6","description":"<p>Contain methods for controll adverts.</p>\n","_postman_id":"d771e11e-7d6b-4039-a058-fd8d282b7de6","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"07136e78-ad49-4586-8c96-1fc31c6be575","id":"07136e78-ad49-4586-8c96-1fc31c6be575","name":"API Tasks","type":"collection"}}},{"name":"visit","item":[{"name":"create","id":"97552c03-b684-4286-963b-4ec5c3d7df68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"link","value":"https://whoursie.com/4/6635122","type":"text","description":"<p><strong>Required</strong>\n<em>Link to the target page</em></p>\n"},{"key":"duration","value":"10","type":"text","description":"<p><strong>Required</strong>\nDuration of staying on page in seconds\nAvailable values: 3, 10, 30, 60, 90, 120, 180\nIn case of setting another value, it will be set to 10.</p>\n","disabled":true},{"key":"visits_count","value":"1000","description":"<p>Values: 10-9999999999\n<em>If more than 9, task will be launched immediately</em></p>\n","type":"text","disabled":true},{"key":"channel","value":"ext","type":"text","description":"<p>Values: \"all\"|\"ext\"|\"app\"\nDefault: \"all\"\n<em>Filter by device type:\next - browser extension\napp - Android app</em></p>\n","disabled":true},{"key":"hide_source","value":"true","description":"<p>Values: \"true\"|\"false\"\n<em>Hide source of traffic origin</em></p>\n","type":"text","disabled":true},{"key":"limit_series","value":"4","type":"text","description":"<p>Values: integer 0-10\nDefault: 0\n<em>Total count of views per single user</em></p>\n","disabled":true},{"key":"lang","value":"en","type":"text","description":"<p>Values: \"<em>\"|\"en\"|\"ru\"\nDefault: \"</em>\" - any\n<em>Filter by language that user set in surfe.be interface</em></p>\n","disabled":true},{"key":"captcha","value":"true","type":"text","description":"<p>Values: \"false\"|\"true\"\nDefault: \"false\"\n<em>Every user should solve captcha. By default captcha is required only for users with low humanity score</em></p>\n","disabled":true},{"key":"limit_timeout","value":"500","type":"text","description":"<p>Values: integer 0-1000\nDefault: 0\n<em>Limit of visits per minute.</em></p>\n","disabled":true},{"key":"limit_day","value":"10000","description":"<p>Values: integer 0-200000\n<em>Maximal visits per day\n0 means no limit</em></p>\n","type":"text","disabled":true},{"key":"limit_country_in","value":"RU,SU,UA","description":"<p>Including Geotargeting by coma-separated country ISO 3166-1 alpha-2 code\nFull list: <a href=\"https://bit.ly/ISO_3166-1_alpha-2\">https://bit.ly/ISO_3166-1_alpha-2</a>\nExample: US,GB,RU,UA</p>\n","type":"text","disabled":true},{"key":"limit_country_ex","value":"UA,US,GB","description":"<p>Excluding Geotargeting by coma-separated country ISO 3166-1 alpha-2 code\nFull list: <a href=\"https://bit.ly/ISO_3166-1_alpha-2\">https://bit.ly/ISO_3166-1_alpha-2</a>\nExample: US,GB,RU,UA</p>\n","type":"text","disabled":true}]},"url":"https://surfe.be/api-v1/visit/create","description":"<p>Creates visit advert and runs task to perform.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"07136e78-ad49-4586-8c96-1fc31c6be575","id":"07136e78-ad49-4586-8c96-1fc31c6be575","name":"API Tasks","type":"collection"}},"urlObject":{"path":["visit","create"],"host":["https://surfe.be/api-v1"],"query":[],"variable":[]}},"response":[{"id":"be22f989-5469-40b2-a739-45d414117747","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"link","value":"https://youtu.be/p6C-cYCrxxY","type":"text","description":"**Required**\n*Link to the target page*"},{"key":"duration","value":"99","type":"text","description":"**Required**\nDuration of staying on page in seconds\nAvailable options: 3, 10, 30, 60, 90, 120, 180\nIn case of setting another value, it will be set to 10."},{"key":"views_count","value":"0","description":"Values: 10-9999999999\n*If more than 9, task will be launched right after creation*","type":"text"},{"key":"channel","value":"ext","type":"text","description":"Values: \"all\"|\"ext\"|\"app\"\nDefault: \"all\"\n*Filter by device type:\next - browser extension\napp - Android app*"},{"key":"hide_source","value":"true","description":"Values: \"true\"|\"false\"\n*Hide source of traffic origin*","type":"text"},{"key":"limit_series","value":"4","type":"text","description":"Values: integer 0-10\nDefault: 0\n*Total count of views per single user*"},{"key":"lang","value":"en","type":"text","description":"Values: \"*\"|\"en\"|\"ru\"\nDefault: \"*\" - any\n*Filter by language that user set in surfe.be interface*"},{"key":"captcha","value":"true","type":"text","description":"Values: \"false\"|\"true\"\nDefault: \"false\"\n*Every user should solve captcha. By default captcha is required only for users with low humanity score*"},{"key":"limit_timeout","value":"500","type":"text","description":"Values: integer 0-1000\nDefault: 0\n*Limit of visits per minute.*"},{"key":"limit_day","value":"10000","description":"Values: integer 0-200000\n*Maximal visits per day\n0 means no limit*","type":"text"},{"key":"limit_country_in","value":"RU,SU,UA","description":"Including Geotargeting by coma-separated country ISO 3166-1 alpha-2 code\nFull list: https://bit.ly/ISO_3166-1_alpha-2\nExample: US,GB,RU,UA","type":"text"},{"key":"limit_country_ex","value":"UA,US,GB","description":"Excluding Geotargeting by coma-separated country ISO 3166-1 alpha-2 code\nFull list: https://bit.ly/ISO_3166-1_alpha-2\nExample: US,GB,RU,UA","type":"text"}]},"url":"https://surfe.be/api-v1/visit/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 30 Nov 2023 13:33:30 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"X-Debug-Tag","value":"65688f25ea43a"},{"key":"X-Debug-Duration","value":"5,729"},{"key":"X-Debug-Link","value":"/debug/default/view?tag=65688f25ea43a"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"The-Rule","value":"main"},{"key":"node-sb","value":"sprod"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"video\": 824692\n}"},{"id":"adc236c6-d907-4443-bae2-31f8f0a3da20","name":"Autostart","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"link","value":"https://whoursie.com/4/6635122","type":"text","description":"**Required**\n*Link to the target page*"},{"key":"duration","value":"10","type":"text","description":"**Required**\nDuration of staying on page in seconds\nAvailable options: 3, 10, 30, 60, 90, 120, 180\nIn case of setting another value, it will be set to 10."},{"key":"visits_count","value":"1000","description":"Values: 10-9999999999\n*If more than 9, task will be launched immediately*","type":"text"},{"key":"channel","value":"ext","type":"text","description":"Values: \"all\"|\"ext\"|\"app\"\nDefault: \"all\"\n*Filter by device type:\next - browser extension\napp - Android app*","disabled":true},{"key":"hide_source","value":"true","description":"Values: \"true\"|\"false\"\n*Hide source of traffic origin*","type":"text","disabled":true},{"key":"limit_series","value":"4","type":"text","description":"Values: integer 0-10\nDefault: 0\n*Total count of views per single user*","disabled":true},{"key":"lang","value":"en","type":"text","description":"Values: \"*\"|\"en\"|\"ru\"\nDefault: \"*\" - any\n*Filter by language that user set in surfe.be interface*","disabled":true},{"key":"captcha","value":"true","type":"text","description":"Values: \"false\"|\"true\"\nDefault: \"false\"\n*Every user should solve captcha. By default captcha is required only for users with low humanity score*","disabled":true},{"key":"limit_timeout","value":"500","type":"text","description":"Values: integer 0-1000\nDefault: 0\n*Limit of visits per minute.*","disabled":true},{"key":"limit_day","value":"10000","description":"Values: integer 0-200000\n*Maximal visits per day\n0 means no limit*","type":"text","disabled":true},{"key":"limit_country_in","value":"RU,SU,UA","description":"Including Geotargeting by coma-separated country ISO 3166-1 alpha-2 code\nFull list: https://bit.ly/ISO_3166-1_alpha-2\nExample: US,GB,RU,UA","type":"text","disabled":true},{"key":"limit_country_ex","value":"UA,US,GB","description":"Excluding Geotargeting by coma-separated country ISO 3166-1 alpha-2 code\nFull list: https://bit.ly/ISO_3166-1_alpha-2\nExample: US,GB,RU,UA","type":"text","disabled":true}]},"url":"https://surfe.be/api-v1/visit/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 30 Nov 2023 13:56:22 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"X-Debug-Tag","value":"6568948104fb5"},{"key":"X-Debug-Duration","value":"5,751"},{"key":"X-Debug-Link","value":"/debug/default/view?tag=6568948104fb5"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"The-Rule","value":"main"},{"key":"node-sb","value":"sprod"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"video\": 824708\n}"},{"id":"4ee4e285-61c3-47e0-a978-c3c915f0f4b7","name":"Error - no duration field","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"link","value":"https://whoursie.com/4/6635122","type":"text","description":"**Required**\n*Link to the target page*"},{"key":"duration","value":"10","type":"text","description":"**Required**\nDuration of staying on page in seconds\nAvailable options: 3, 10, 30, 60, 90, 120, 180\nIn case of setting another value, it will be set to 10.","disabled":true},{"key":"visits_count","value":"1000","description":"Values: 10-9999999999\n*If more than 9, task will be launched immediately*","type":"text","disabled":true},{"key":"channel","value":"ext","type":"text","description":"Values: \"all\"|\"ext\"|\"app\"\nDefault: \"all\"\n*Filter by device type:\next - browser extension\napp - Android app*","disabled":true},{"key":"hide_source","value":"true","description":"Values: \"true\"|\"false\"\n*Hide source of traffic origin*","type":"text","disabled":true},{"key":"limit_series","value":"4","type":"text","description":"Values: integer 0-10\nDefault: 0\n*Total count of views per single user*","disabled":true},{"key":"lang","value":"en","type":"text","description":"Values: \"*\"|\"en\"|\"ru\"\nDefault: \"*\" - any\n*Filter by language that user set in surfe.be interface*","disabled":true},{"key":"captcha","value":"true","type":"text","description":"Values: \"false\"|\"true\"\nDefault: \"false\"\n*Every user should solve captcha. By default captcha is required only for users with low humanity score*","disabled":true},{"key":"limit_timeout","value":"500","type":"text","description":"Values: integer 0-1000\nDefault: 0\n*Limit of visits per minute.*","disabled":true},{"key":"limit_day","value":"10000","description":"Values: integer 0-200000\n*Maximal visits per day\n0 means no limit*","type":"text","disabled":true},{"key":"limit_country_in","value":"RU,SU,UA","description":"Including Geotargeting by coma-separated country ISO 3166-1 alpha-2 code\nFull list: https://bit.ly/ISO_3166-1_alpha-2\nExample: US,GB,RU,UA","type":"text","disabled":true},{"key":"limit_country_ex","value":"UA,US,GB","description":"Excluding Geotargeting by coma-separated country ISO 3166-1 alpha-2 code\nFull list: https://bit.ly/ISO_3166-1_alpha-2\nExample: US,GB,RU,UA","type":"text","disabled":true}]},"url":"https://surfe.be/api-v1/visit/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 30 Nov 2023 14:02:31 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"X-Debug-Tag","value":"656895f54be8f"},{"key":"X-Debug-Duration","value":"2,555"},{"key":"X-Debug-Link","value":"/debug/default/view?tag=656895f54be8f"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"The-Rule","value":"main"},{"key":"node-sb","value":"sprod"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"error\",\n    \"error\": \"`duration` is required\"\n}"}],"_postman_id":"97552c03-b684-4286-963b-4ec5c3d7df68"},{"name":"edit","id":"ae7b964f-4cd5-4e0a-8716-b88cf5c12240","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"link","value":"https://youtu.be/p6C-cYCrxxY","type":"text"},{"key":"duration","value":"99","type":"text"},{"key":"visits_count","value":"0","type":"text","disabled":true},{"key":"channel","value":"ext","type":"text"},{"key":"hide_source","value":"true","type":"text"},{"key":"limit_series","value":"4","type":"text"},{"key":"lang","value":"en","type":"text"},{"key":"captcha","value":"true","type":"text"},{"key":"limit_timeout","value":"500","type":"text"},{"key":"limit_day","value":"10000","type":"text"},{"key":"limit_country_in","value":"RU,SU,UA","type":"text"},{"key":"limit_country_ex","value":"UA,US,GB","type":"text"}]},"url":"https://surfe.be/api-v1/visit/edit?id=824692","description":"<p>Allows you to edit existed visti advert.</p>\n<p>All POST parameters the same as in <code>visit/create</code> request</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"07136e78-ad49-4586-8c96-1fc31c6be575","id":"07136e78-ad49-4586-8c96-1fc31c6be575","name":"API Tasks","type":"collection"}},"urlObject":{"path":["visit","edit"],"host":["https://surfe.be/api-v1"],"query":[{"key":"id","value":"824692"}],"variable":[]}},"response":[],"_postman_id":"ae7b964f-4cd5-4e0a-8716-b88cf5c12240"},{"name":"remove","id":"42d13c76-5f0c-4d86-bfc7-716a57001aeb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"819404","description":"<p><strong>Required</strong>\n<em>Comma separeted list of id</em></p>\n","type":"text"}]},"url":"https://surfe.be/api-v1/visit/remove","description":"<p>Remove visit and all information from cache</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"07136e78-ad49-4586-8c96-1fc31c6be575","id":"07136e78-ad49-4586-8c96-1fc31c6be575","name":"API Tasks","type":"collection"}},"urlObject":{"path":["visit","remove"],"host":["https://surfe.be/api-v1"],"query":[],"variable":[]}},"response":[{"id":"0fa2470f-46f4-4317-83c3-2187a216d302","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"814619","description":"**Required**\n*Comma separeted list of id*","type":"text"}]},"url":"https://surfe.be/api-v1/visit/remove"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 29 Nov 2023 08:23:33 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"X-Debug-Tag","value":"6566f501cf147"},{"key":"X-Debug-Duration","value":"4,186"},{"key":"X-Debug-Link","value":"/debug/default/view?tag=6566f501cf147"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"The-Rule","value":"main"},{"key":"node-sb","value":"sprod"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"result\",\n    \"result\": {\n        \"814619\": {\n            \"status\": \"success\"\n        }\n    }\n}"}],"_postman_id":"42d13c76-5f0c-4d86-bfc7-716a57001aeb"},{"name":"get-info","id":"fc80db30-41d7-4069-a543-bdc82037eb3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"862506","description":"<p><strong>Required</strong>\n<em>Comma separeted list of id</em></p>\n","type":"text"},{"key":"with-stats","value":"true","description":"<p>Values: \"false\"|\"true\"\nDefault: \"false\"\n<em>Load data with stats. Do not load stats if it not necessary to prevent high load</em></p>\n","type":"text"}]},"url":"https://surfe.be/api-v1/visit/get-info","description":"<p>Returns all info about the video.</p>\n<h2 id=\"common-fields\">Common fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong></td>\n<td>Unique identifier</td>\n</tr>\n<tr>\n<td><strong>cpm</strong></td>\n<td>Price for 1000 visits</td>\n</tr>\n<tr>\n<td><strong>duration</strong></td>\n<td>Duration of staying on page in seconds</td>\n</tr>\n<tr>\n<td><strong>balance</strong></td>\n<td>Remaining funds on this advert</td>\n</tr>\n<tr>\n<td><strong>link</strong></td>\n<td>Target page</td>\n</tr>\n<tr>\n<td><strong>running</strong></td>\n<td>\"1\" - task is active and gets visits.  <br />\"0\" - task is stopped.</td>\n</tr>\n<tr>\n<td><strong>channel</strong></td>\n<td>\"ext\" - browser extension  <br />\"app\" - andriod app  <br />\"all\" - both traffic source</td>\n</tr>\n<tr>\n<td><strong>hide_source</strong></td>\n<td>\"1\" - traffic origin will be as \"unknown\" or \"bookmarks\"  <br />\"0\" - traffic origin will be shown as \"surfe.be\"</td>\n</tr>\n<tr>\n<td><strong>captcha</strong></td>\n<td>Should every user solve captcha to proof view</td>\n</tr>\n<tr>\n<td><strong>limit_series</strong></td>\n<td>Total count of view per single user</td>\n</tr>\n<tr>\n<td><strong>limit_timeout</strong></td>\n<td>Approximate number of visits by all users in one minute</td>\n</tr>\n<tr>\n<td><strong>limit_day</strong></td>\n<td>Task will be paused as soon as limit is reached within current day. Performing starts over at 00:00. Our server timezone is UTC+03:00</td>\n</tr>\n<tr>\n<td>limit_country_in</td>\n<td>Coma-separated list of countries where this task will be available</td>\n</tr>\n<tr>\n<td>limit_country_ex</td>\n<td>Coma-separated list of countries where this task will NOT be available</td>\n</tr>\n<tr>\n<td><strong>lang</strong></td>\n<td>Filter users by language in surfe.be interface</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"stats-fields\">Stats fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>spent</strong></td>\n<td>How many funds spent</td>\n</tr>\n<tr>\n<td><strong>reach</strong></td>\n<td>Unique users that tried to perform task (visit page)</td>\n</tr>\n<tr>\n<td><strong>vst</strong></td>\n<td>Total count of successful perform task</td>\n</tr>\n<tr>\n<td><strong>hold</strong></td>\n<td>Users that started to perform task but not done yet</td>\n</tr>\n<tr>\n<td><strong>cost</strong></td>\n<td>Cost of single perform</td>\n</tr>\n<tr>\n<td><strong>left</strong></td>\n<td>How many visits will get this task on left funds</td>\n</tr>\n<tr>\n<td><strong>graph</strong></td>\n<td>Array of views per each hours for last day. Start from current hour and each next element contain count of view for previous hour.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"07136e78-ad49-4586-8c96-1fc31c6be575","id":"07136e78-ad49-4586-8c96-1fc31c6be575","name":"API Tasks","type":"collection"}},"urlObject":{"path":["visit","get-info"],"host":["https://surfe.be/api-v1"],"query":[],"variable":[]}},"response":[{"id":"328188ef-8709-4c54-beba-32189d186319","name":"Success - all tasks","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"804728,804729","description":"**Required**\n*Comma separeted list of id*","type":"text","disabled":true},{"key":"with-stats","value":"true","description":"Values: \"false\"|\"true\"\nDefault: \"false\"\n*Load data with stats. Do not load stats if it not necessary to prevent high load*","type":"text","disabled":true}]},"url":"https://surfe.be/api-v1/visit/get-info"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 29 Nov 2023 09:01:46 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"X-Debug-Tag","value":"6566fdf4dbb18"},{"key":"X-Debug-Duration","value":"6,304"},{"key":"X-Debug-Link","value":"/debug/default/view?tag=6566fdf4dbb18"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"The-Rule","value":"main"},{"key":"node-sb","value":"sprod"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"result\",\n    \"result\": {\n        \"223222\": {\n            \"status\": \"ok\",\n            \"data\": {\n                \"id\": 223222,\n                \"cpm\": 1,\n                \"duration\": 30,\n                \"balance\": 0.16,\n                \"link\": \"http://profinanc.site/promo.html?5#https%3A%2F%2Fseoseed.ru%2F%3Fs%3D%5Bsearch%5D\",\n                \"running\": 0,\n                \"channel\": 1,\n                \"hide_source\": 0,\n                \"captcha\": 0,\n                \"limit_score\": 0,\n                \"limit_series\": 0,\n                \"limit_timeout\": 0,\n                \"limit_day\": 0,\n                \"device\": \"all\",\n                \"limit_country_in\": null,\n                \"limit_country_ex\": null,\n                \"lang\": \"*\",\n                \"stats\": null\n            }\n        },\n        \"292837\": {\n            \"status\": \"ok\",\n            \"data\": {\n                \"id\": 292837,\n                \"cpm\": 2.25,\n                \"duration\": 120,\n                \"balance\": 0,\n                \"link\": \"https://surfearner.com/5\",\n                \"running\": 0,\n                \"channel\": 0,\n                \"hide_source\": 0,\n                \"captcha\": 0,\n                \"limit_score\": 0,\n                \"limit_series\": 0,\n                \"limit_timeout\": 0,\n                \"limit_day\": 0,\n                \"device\": \"all\",\n                \"limit_country_in\": null,\n                \"limit_country_ex\": null,\n                \"lang\": \"*\",\n                \"stats\": null\n            }\n        },\n        \"338131\": {\n            \"status\": \"ok\",\n            \"data\": {\n                \"id\": 338131,\n                \"cpm\": 1.6,\n                \"duration\": 60,\n                \"balance\": 0,\n                \"link\": \"https://youtu.be/6l5rVK4CKAs\",\n                \"running\": 0,\n                \"channel\": 0,\n                \"hide_source\": 0,\n                \"captcha\": 0,\n                \"limit_score\": 0,\n                \"limit_series\": 0,\n                \"limit_timeout\": 0,\n                \"limit_day\": 0,\n                \"device\": \"all\",\n                \"limit_country_in\": null,\n                \"limit_country_ex\": null,\n                \"lang\": \"*\",\n                \"stats\": null\n            }\n        },\n        \"444234\": {\n            \"status\": \"ok\",\n            \"data\": {\n                \"id\": 444234,\n                \"cpm\": 2.4,\n                \"duration\": 120,\n                \"balance\": 0,\n                \"link\": \"https://youtu.be/86DzMbelROE\",\n                \"running\": 0,\n                \"channel\": 0,\n                \"hide_source\": 1,\n                \"captcha\": 0,\n                \"limit_score\": 0,\n                \"limit_series\": 0,\n                \"limit_timeout\": 0,\n                \"limit_day\": 0,\n                \"device\": \"all\",\n                \"limit_country_in\": null,\n                \"limit_country_ex\": null,\n                \"lang\": \"*\",\n                \"stats\": null\n            }\n        },\n        \"444254\": {\n            \"status\": \"ok\",\n            \"data\": {\n                \"id\": 444254,\n                \"cpm\": 1.4000000000000001,\n                \"duration\": 60,\n                \"balance\": -0.0014,\n                \"link\": \"http://surfe.pro/?utm_source=test\",\n                \"running\": 0,\n                \"channel\": 0,\n                \"hide_source\": 1,\n                \"captcha\": 0,\n                \"limit_score\": 0,\n                \"limit_series\": 0,\n                \"limit_timeout\": 0,\n                \"limit_day\": 0,\n                \"device\": \"all\",\n                \"limit_country_in\": null,\n                \"limit_country_ex\": null,\n                \"lang\": \"*\",\n                \"stats\": null\n            }\n        },\n        \"646723\": {\n            \"status\": \"ok\",\n            \"data\": {\n                \"id\": 646723,\n                \"cpm\": 1.4000000000000001,\n                \"duration\": 60,\n                \"balance\": 10,\n                \"link\": \"https://youtu.be/86DzMbelROE\",\n                \"running\": 0,\n                \"channel\": 1,\n                \"hide_source\": 0,\n                \"captcha\": 0,\n                \"limit_score\": 0,\n                \"limit_series\": 2,\n                \"limit_timeout\": 0,\n                \"limit_day\": 0,\n                \"device\": \"all\",\n                \"limit_country_in\": null,\n                \"limit_country_ex\": null,\n                \"lang\": \"*\",\n                \"stats\": null\n            }\n        },\n        \"738642\": {\n            \"status\": \"ok\",\n            \"data\": {\n                \"id\": 738642,\n                \"cpm\": 1,\n                \"duration\": 30,\n                \"balance\": 0,\n                \"link\": \"https://teletype.in/@withmoney/topdream\",\n                \"running\": 0,\n                \"channel\": 4,\n                \"hide_source\": 0,\n                \"captcha\": 0,\n                \"limit_score\": 0,\n                \"limit_series\": 0,\n                \"limit_timeout\": 0,\n                \"limit_day\": 0,\n                \"device\": \"all\",\n                \"limit_country_in\": null,\n                \"limit_country_ex\": null,\n                \"lang\": \"*\",\n                \"stats\": null\n            }\n        },\n        \"758087\": {\n            \"status\": \"ok\",\n            \"data\": {\n                \"id\": 758087,\n                \"cpm\": 1.7,\n                \"duration\": 60,\n                \"balance\": 0,\n                \"link\": \"https://bit.ly/3iAfgSn\",\n                \"running\": 0,\n                \"channel\": 0,\n                \"hide_source\": 0,\n                \"captcha\": 0,\n                \"limit_score\": 0,\n                \"limit_series\": 0,\n                \"limit_timeout\": 0,\n                \"limit_day\": 0,\n                \"device\": \"all\",\n                \"limit_country_in\": null,\n                \"limit_country_ex\": null,\n                \"lang\": \"*\",\n                \"stats\": null\n            }\n        },\n        \"777250\": {\n            \"status\": \"ok\",\n            \"data\": {\n                \"id\": 777250,\n                \"cpm\": 1.1,\n                \"duration\": 30,\n                \"balance\": 0,\n                \"link\": \"https://bit.ly/3iAfgSn\",\n                \"running\": 0,\n                \"channel\": 4,\n                \"hide_source\": 1,\n                \"captcha\": 0,\n                \"limit_score\": 0,\n                \"limit_series\": 0,\n                \"limit_timeout\": 0,\n                \"limit_day\": 0,\n                \"device\": \"all\",\n                \"limit_country_in\": null,\n                \"limit_country_ex\": null,\n                \"lang\": \"en-US\",\n                \"stats\": null\n            }\n        },\n        \"798283\": {\n            \"status\": \"ok\",\n            \"data\": {\n                \"id\": 798283,\n                \"cpm\": 1.3,\n                \"duration\": 60,\n                \"balance\": 3.9743,\n                \"link\": \"https://surfe.pro?utm_source=surfe.be_visits\",\n                \"running\": 0,\n                \"channel\": 0,\n                \"hide_source\": 0,\n                \"captcha\": 0,\n                \"limit_score\": 0,\n                \"limit_series\": 0,\n                \"limit_timeout\": 5,\n                \"limit_day\": 0,\n                \"device\": \"all\",\n                \"limit_country_in\": null,\n                \"limit_country_ex\": null,\n                \"lang\": \"*\",\n                \"stats\": null\n            }\n        },\n        \"814619\": {\n            \"status\": \"ok\",\n            \"data\": {\n                \"id\": 814619,\n                \"cpm\": 1,\n                \"duration\": 30,\n                \"balance\": 0,\n                \"link\": \"https://ipinfo.io/46.166.163.183\",\n                \"running\": 0,\n                \"channel\": 0,\n                \"hide_source\": 0,\n                \"captcha\": 1,\n                \"limit_score\": 0,\n                \"limit_series\": 0,\n                \"limit_timeout\": 0,\n                \"limit_day\": 0,\n                \"device\": \"all\",\n                \"limit_country_in\": null,\n                \"limit_country_ex\": null,\n                \"lang\": \"*\",\n                \"stats\": null\n            }\n        },\n        \"814647\": {\n            \"status\": \"ok\",\n            \"data\": {\n                \"id\": 814647,\n                \"cpm\": 0.59,\n                \"duration\": 3,\n                \"balance\": 12.24882,\n                \"link\": \"https://www.urlencoder.org\",\n                \"running\": 0,\n                \"channel\": 0,\n                \"hide_source\": 0,\n                \"captcha\": 1,\n                \"limit_score\": 0,\n                \"limit_series\": 0,\n                \"limit_timeout\": 0,\n                \"limit_day\": 0,\n                \"device\": \"all\",\n                \"limit_country_in\": \"SE\",\n                \"limit_country_ex\": null,\n                \"lang\": \"*\",\n                \"stats\": null\n            }\n        },\n        \"820916\": {\n            \"status\": \"ok\",\n            \"data\": {\n                \"id\": 820916,\n                \"cpm\": 0.59,\n                \"duration\": 3,\n                \"balance\": 1.90216,\n                \"link\": \"https://whoursie.com/4/6635122\",\n                \"running\": 1,\n                \"channel\": 1,\n                \"hide_source\": 1,\n                \"captcha\": 0,\n                \"limit_score\": 0,\n                \"limit_series\": 0,\n                \"limit_timeout\": 0,\n                \"limit_day\": 0,\n                \"device\": \"all\",\n                \"limit_country_in\": \"GN,ML,BF,CD,TD,SL,HT,CI,CF,PR,LT,CM,SS,WS,NZ,PG,BJ,SN,LR,CG,KM,UZLK,EE,MO,SD,TZ,KG,TM,US,CA,RO,DZ,KW,IE,VN,BR,BE,SO,IS,MY,MN,PT,AF,RE,MQ,CY,KN,GF,EG,AE,MM,RS,PE,PK,ES,RU,HK,DK,IL,MG,SZ,IN,PL,BD,KH,AR,IT,CL,CZ,AU,SK,PS,FJ,PF,TH,MT,NC,SA,CO,MX,IQ,SE,BW,GM,AD,ID,PH,KR,JP,QA,PY,SY,LB,GQ,GG,MK,LY,LU,ME,KY,TC,YT,TR,EC,BA,OM,TN,BH,PA,MU,GY,BS,GP,GD,LS,DM,VG,FK,DO,GT,JM,NI,CV,VC,TO,SG,MA,IR,NP,CR,MD,MV,LA,VU,BB,SB,GU,LC,TL,JE,GL,VE,AL,HN,SV,JO,TT,ZW,SR,BZ,SX,CW,IM,AW,AG,GI,SC,SM,AI,VA,CN,TW,UY,BO,BT,MC,DJ,VI,MF,AS,FM,CK,MH,MS,BL,LI,FO,ST,MP,BQ,PW,WF,ER,CX,PM,AX,NR,EU,A1,NU,AQ,KP,NF,TK,TV,SH\",\n                \"limit_country_ex\": \"1\",\n                \"lang\": \"*\",\n                \"stats\": null\n            }\n        }\n    }\n}"},{"id":"34674b67-e8b2-4b30-81ad-8ff4de1caeaf","name":"Success - specified tasks","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"824692,824691","description":"**Required**\n*Comma separeted list of id*","type":"text"},{"key":"with-stats","value":"true","description":"Values: \"false\"|\"true\"\nDefault: \"false\"\n*Load data with stats. Do not load stats if it not necessary to prevent high load*","type":"text","disabled":true}]},"url":"https://surfe.be/api-v1/visit/get-info"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 30 Nov 2023 14:10:51 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"X-Debug-Tag","value":"656897e85ea76"},{"key":"X-Debug-Duration","value":"3,869"},{"key":"X-Debug-Link","value":"/debug/default/view?tag=656897e85ea76"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"The-Rule","value":"main"},{"key":"node-sb","value":"sprod"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"result\",\n    \"result\": {\n        \"824691\": {\n            \"status\": \"fail\",\n            \"error\": \"Task not found\"\n        },\n        \"824692\": {\n            \"status\": \"ok\",\n            \"data\": {\n                \"id\": 824692,\n                \"cpm\": 1.09,\n                \"duration\": 10,\n                \"balance\": 0,\n                \"link\": \"https://youtu.be/p6C-cYCrxxY\",\n                \"running\": 0,\n                \"channel\": \"ext\",\n                \"hide_source\": 0,\n                \"captcha\": 1,\n                \"limit_series\": 4,\n                \"limit_timeout\": 200,\n                \"limit_day\": 10000,\n                \"limit_country_in\": \"RU,SU,UA\",\n                \"limit_country_ex\": \"UA,US,GB\",\n                \"lang\": \"en-US\",\n                \"stats\": null\n            }\n        }\n    }\n}"},{"id":"afe32cd7-75a8-4674-a7c4-aee449825fed","name":"Success - with stats","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"862506","description":"**Required**\n*Comma separeted list of id*","type":"text"},{"key":"with-stats","value":"true","description":"Values: \"false\"|\"true\"\nDefault: \"false\"\n*Load data with stats. Do not load stats if it not necessary to prevent high load*","type":"text"}]},"url":"https://surfe.be/api-v1/visit/get-info"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 05 Mar 2024 13:26:28 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"X-Debug-Tag","value":"65e71d7f80a05"},{"key":"X-Debug-Duration","value":"5,253"},{"key":"X-Debug-Link","value":"/debug/default/view?tag=65e71d7f80a05"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"The-Rule","value":"main"},{"key":"node-sb","value":"sprod"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"result\",\n    \"result\": {\n        \"862506\": {\n            \"status\": \"ok\",\n            \"data\": {\n                \"id\": 862506,\n                \"cpm\": 0.49,\n                \"duration\": 3,\n                \"balance\": 3.077200000000295,\n                \"link\": \"https://whoursie.com/4/6635122\",\n                \"running\": 1,\n                \"channel\": \"all\",\n                \"hide_source\": 0,\n                \"captcha\": 0,\n                \"limit_series\": 0,\n                \"limit_timeout\": 15,\n                \"limit_day\": 5000,\n                \"limit_country_in\": null,\n                \"limit_country_ex\": null,\n                \"lang\": \"*\",\n                \"stats\": {\n                    \"spent\": 96.388309,\n                    \"reach\": 18136,\n                    \"vst\": 196720,\n                    \"hold\": 53,\n                    \"cost\": 0.00049,\n                    \"left\": 6280,\n                    \"graph\": [\n                        1,\n                        220,\n                        489,\n                        541,\n                        664,\n                        500,\n                        423,\n                        343,\n                        271,\n                        202,\n                        243,\n                        344,\n                        767,\n                        1,\n                        318,\n                        465,\n                        503,\n                        661,\n                        479,\n                        434,\n                        355,\n                        271,\n                        229,\n                        236,\n                        329\n                    ]\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"fc80db30-41d7-4069-a543-bdc82037eb3c"},{"name":"get-list","id":"a888b467-b518-4611-9c79-70a724046748","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://surfe.be/api-v1/visit/get-list","description":"<p>Returns list of id of all visit tasks</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"07136e78-ad49-4586-8c96-1fc31c6be575","id":"07136e78-ad49-4586-8c96-1fc31c6be575","name":"API Tasks","type":"collection"}},"urlObject":{"path":["visit","get-list"],"host":["https://surfe.be/api-v1"],"query":[],"variable":[]}},"response":[{"id":"81f32c99-79c3-4a89-9b5d-f84bf027eefc","name":"Success","originalRequest":{"method":"POST","header":[],"url":"https://surfe.be/api-v1/visit/get-list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 29 Nov 2023 09:10:14 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"X-Debug-Tag","value":"6566fff4c3c7f"},{"key":"X-Debug-Duration","value":"2,717"},{"key":"X-Debug-Link","value":"/debug/default/view?tag=6566fff4c3c7f"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"The-Rule","value":"main"},{"key":"node-sb","value":"sprod"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"[\n    223222,\n    292837,\n    338131,\n    444234,\n    444254,\n    646723,\n    738642,\n    758087,\n    777250,\n    798283,\n    814619,\n    814647,\n    820916\n]"}],"_postman_id":"a888b467-b518-4611-9c79-70a724046748"},{"name":"refill","id":"25f469b5-a754-4809-9b6c-49e6bc5a4431","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"820916","description":"<p><strong>Required</strong>\n<em>Comma separated list of id</em></p>\n","type":"text"},{"key":"amount","value":"3174","description":"<p><strong>Required</strong>\n<em>Comma separated list of amount of views</em></p>\n","type":"text"},{"key":"run","value":"true","description":"<p>Values: \"false\"|\"true\"\nDefault: \"false\"\n<em>Run advert after refilling</em></p>\n","type":"text"}]},"url":"https://surfe.be/api-v1/visit/refill","description":"<p>Refill task balance.<br />If batch processing, count of <code>id</code> and count of <code>amount</code> values must be equal</p>\n<p><em>On success request execution delayed for one minute.</em></p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"07136e78-ad49-4586-8c96-1fc31c6be575","id":"07136e78-ad49-4586-8c96-1fc31c6be575","name":"API Tasks","type":"collection"}},"urlObject":{"path":["visit","refill"],"host":["https://surfe.be/api-v1"],"query":[],"variable":[]}},"response":[{"id":"aa5f518d-41e8-46af-94f5-dbbe08910de6","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"820916,814647","description":"**Required**\n*Comma separated list of id*","type":"text"},{"key":"amount","value":"1000,1000","description":"**Required**\n*Comma separated list of amount of views*","type":"text"},{"key":"run","value":"false","description":"Values: \"false\"|\"true\"\nDefault: \"false\"\n*Run advert after refilling*","type":"text"}]},"url":"https://surfe.be/api-v1/visit/refill"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 29 Nov 2023 09:18:01 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"X-Debug-Tag","value":"656701c46bb1f"},{"key":"X-Debug-Duration","value":"5,464"},{"key":"X-Debug-Link","value":"/debug/default/view?tag=656701c46bb1f"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"The-Rule","value":"main"},{"key":"node-sb","value":"sprod"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"result\",\n    \"balance_left\": 75.1821318,\n    \"result\": {\n        \"814647\": {\n            \"status\": \"success\"\n        },\n        \"820916\": {\n            \"status\": \"success\"\n        }\n    }\n}"}],"_postman_id":"25f469b5-a754-4809-9b6c-49e6bc5a4431"},{"name":"refund","id":"6cf928fe-6e21-4ad0-b582-cdb009b20fad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"798283","description":"<p><strong>Required</strong>\n<em>Comma separated list of id</em></p>\n","type":"text"}]},"url":"https://surfe.be/api-v1/visit/refund","description":"<p>Return all funds from task balance to advertiser balance.<br /><code>hold</code> must be <code>0</code> to process this request.</p>\n<p><em>On success request execution delayed for one minute.</em></p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"07136e78-ad49-4586-8c96-1fc31c6be575","id":"07136e78-ad49-4586-8c96-1fc31c6be575","name":"API Tasks","type":"collection"}},"urlObject":{"path":["visit","refund"],"host":["https://surfe.be/api-v1"],"query":[],"variable":[]}},"response":[{"id":"432a7627-e49c-4779-b06c-996eadf87148","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"820916,814647","description":"**Required**\n*Comma separated list of id*","type":"text"}]},"url":"https://surfe.be/api-v1/visit/refund"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 29 Nov 2023 09:35:22 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"X-Debug-Tag","value":"656705d32b808"},{"key":"X-Debug-Duration","value":"7,938"},{"key":"X-Debug-Link","value":"/debug/default/view?tag=656705d32b808"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"The-Rule","value":"main"},{"key":"node-sb","value":"sprod"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"result\",\n    \"result\": {\n        \"814647\": {\n            \"status\": \"success\"\n        },\n        \"820916\": {\n            \"status\": \"success\"\n        }\n    }\n}"}],"_postman_id":"6cf928fe-6e21-4ad0-b582-cdb009b20fad"},{"name":"start","id":"24a39fa9-ff40-4397-8e24-02b00aabe0cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"820916","description":"<p><strong>Required</strong>\n<em>Comma separated list of id</em></p>\n","type":"text"}]},"url":"https://surfe.be/api-v1/visit/start","description":"<p>Activates task to perform.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"07136e78-ad49-4586-8c96-1fc31c6be575","id":"07136e78-ad49-4586-8c96-1fc31c6be575","name":"API Tasks","type":"collection"}},"urlObject":{"path":["visit","start"],"host":["https://surfe.be/api-v1"],"query":[],"variable":[]}},"response":[{"id":"e134bff2-34a7-42e7-a463-b1d62cd255fb","name":"Error - empty balance","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"814647","description":"**Required**\n*Comma separated list of id*","type":"text"}]},"url":"https://surfe.be/api-v1/visit/start"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 29 Nov 2023 10:22:03 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"X-Debug-Tag","value":"656710c4818fb"},{"key":"X-Debug-Duration","value":"8,212"},{"key":"X-Debug-Link","value":"/debug/default/view?tag=656710c4818fb"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"The-Rule","value":"main"},{"key":"node-sb","value":"sprod"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"result\",\n    \"result\": {\n        \"814647\": {\n            \"status\": \"error\",\n            \"error\": \"Minimal amount to run is 100 views\"\n        }\n    }\n}"},{"id":"63a2a47d-27c4-4815-ab60-2fe81a428ed8","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"820916","description":"**Required**\n*Comma separated list of id*","type":"text"}]},"url":"https://surfe.be/api-v1/visit/start"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 29 Nov 2023 10:23:32 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"X-Debug-Tag","value":"6567111d909f0"},{"key":"X-Debug-Duration","value":"8,090"},{"key":"X-Debug-Link","value":"/debug/default/view?tag=6567111d909f0"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"The-Rule","value":"main"},{"key":"node-sb","value":"sprod"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"result\",\n    \"result\": {\n        \"820916\": {\n            \"status\": \"success\"\n        }\n    }\n}"}],"_postman_id":"24a39fa9-ff40-4397-8e24-02b00aabe0cf"},{"name":"stop","id":"e6aa3bde-53f9-4f83-8bfe-41f1801766a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"820916","type":"text","description":"<p><strong>Required</strong>\n<em>Comma separated list of id</em></p>\n"}]},"url":"https://surfe.be/api-v1/visit/stop","description":"<p>Stops active tasks</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"07136e78-ad49-4586-8c96-1fc31c6be575","id":"07136e78-ad49-4586-8c96-1fc31c6be575","name":"API Tasks","type":"collection"}},"urlObject":{"path":["visit","stop"],"host":["https://surfe.be/api-v1"],"query":[],"variable":[]}},"response":[{"id":"4dc15428-9e43-4943-a67e-72087f648675","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"820916","type":"text","description":"**Required**\n*Comma separated list of id*"}]},"url":"https://surfe.be/api-v1/visit/stop"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 29 Nov 2023 10:23:06 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"X-Debug-Tag","value":"6567110647c02"},{"key":"X-Debug-Duration","value":"4,914"},{"key":"X-Debug-Link","value":"/debug/default/view?tag=6567110647c02"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"The-Rule","value":"main"},{"key":"node-sb","value":"sprod"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"result\",\n    \"result\": {\n        \"820916\": {\n            \"status\": \"success\"\n        }\n    }\n}"}],"_postman_id":"e6aa3bde-53f9-4f83-8bfe-41f1801766a8"}],"id":"21df88ca-9b44-4a43-9b94-3bd29c3218c5","description":"<p>Contain methods for controll adverts.</p>\n","_postman_id":"21df88ca-9b44-4a43-9b94-3bd29c3218c5","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"07136e78-ad49-4586-8c96-1fc31c6be575","id":"07136e78-ad49-4586-8c96-1fc31c6be575","name":"API Tasks","type":"collection"}}},{"name":"user","item":[{"name":"balance","id":"1518fa7a-72b5-448e-a687-9023be3dd035","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://surfe.be/api-v1/user/balance","description":"<p>Returns the amount of user funds in USD</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"07136e78-ad49-4586-8c96-1fc31c6be575","id":"07136e78-ad49-4586-8c96-1fc31c6be575","name":"API Tasks","type":"collection"}},"urlObject":{"path":["user","balance"],"host":["https://surfe.be/api-v1"],"query":[],"variable":[]}},"response":[{"id":"802dab9d-da76-4a5f-97e8-f8af607f3538","name":"balance","originalRequest":{"method":"GET","header":[],"url":"https://surfe.be/api-v1/user/balance"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 22 Jun 2023 14:46:57 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Accept"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"The-Rule","value":"main"},{"key":"node-sb","value":"sprod"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"balance\": 1268.8664515\n}"}],"_postman_id":"1518fa7a-72b5-448e-a687-9023be3dd035"}],"id":"6ed676ed-ee0b-4774-8a41-04e2b34b6352","_postman_id":"6ed676ed-ee0b-4774-8a41-04e2b34b6352","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":""}]},"isInherited":true,"source":{"_postman_id":"07136e78-ad49-4586-8c96-1fc31c6be575","id":"07136e78-ad49-4586-8c96-1fc31c6be575","name":"API Tasks","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_key"},{"key":"value","value":""}]}},"event":[{"listen":"prerequest","script":{"id":"6dd757cb-8c3e-4d34-8813-6eb515964929","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"711a65b9-e0a0-49da-b012-098e542725ab","type":"text/javascript","exec":[""]}}],"variable":[{"key":"api_key","value":"","type":"string"},{"key":"base_url","value":"https://surfe.be/api-v1","type":"string"}]}