API
Base URL https://peestream.com. All requests use your key from Settings. Responses: {"msg","server_time","status","result"}. Paths match Doodstream and SibSoft-style APIs, so existing scripts work by changing the base URL.
| Endpoint | Parameters | What it does |
|---|---|---|
GET /api/account/info | key | Login, balance, pending, number of files |
GET /api/account/stats | key, last (days) | Views and profit per day |
GET /api/upload/server | key | Upload server URL for a file upload (valid 24 hours). The key is already in the URL. |
POST <upload server URL> | multipart: file, fld_id, new_title | File upload up to 20 GB. Returns files[0].filecode. You can also send api_key as the first field instead of using the URL token. |
GET /api/upload/url | key, url, fld_id, new_title | Remote upload, returns filecode. Also links from VOE, Streamtape, Mixdrop, StreamWish, VidHide, PixelDrain (we copy them), and with your TorBox connected (Settings, TorBox): magnet, .torrent and .nzb links and links from 140+ TorBox hosts (returns "via": "torbox") |
GET /api/upload/imdb | key, imdb, season, episode, fld_id, profile | Add by IMDb ID; already_available means no upload is needed. profile = a burn-in profile id (from /api/profiles) to burn your logo/subtitles into your own processing. |
GET /api/file/list | key, fld_id, page, per_page (up to 200) | Your files: file_code, title, link, embed, iframe, single_img / splash_img (thumbnail URL), length (seconds), views (counted), uploaded, fld_id, folder, custom_link, password_protected. The same data as Export CSV on the Videos page |
GET /api/file/info | key, file_code (comma separated) | File details: same fields as /api/file/list plus imdb_id |
GET /api/file/password | key, file_code (comma separated, up to 500), password | Password lock (VIP): set a password on videos; empty password removes it |
GET /api/folder/share | key, fld_id, on (1/0), password, remove_password (1) | Share a folder with one public link (share_url); a password on it needs Password lock (VIP) |
GET /api/folder/list | key | Folders |
GET /api/folder/create | key, name, parent_id | New folder |
GET /api/profiles | key | Your burn-in profiles (logo/subtitles). Use an id as the profile parameter when adding. |
GET /api/subtitle/add | key, file_code, url, lang, label | Add a subtitle track to a video by public URL (.srt/.vtt). For a file upload use the video's Subtitles page. |
GET /api/subtitle/list | key, file_code | Subtitle tracks of a video |
GET /api/subtitle/delete | key, subtitle_id | Remove a subtitle track |
GET /api/file/delete | key, file_code | Delete (hide) your video |
GET /api/file/move | key, file_code, fld_id | Move a video to a folder (0 = no folder) |
GET /api/file/edit | key, file_code, title, public | Rename a video and/or set it public (1) or private (0) |
GET /api/folder/delete | key, fld_id | Delete a folder (videos kept, subfolders moved up) |
GET /api/file/source | key, file_code, url, label | Set the file link for a video that is waiting for a source. If the same file already exists, your video links to it instantly; otherwise it is queued. |
GET /api/profiles/save | key, pid, name, logo, logo_url, logo_pos, logo_width, logo_opacity, subs, sub_langs, sub_font, sub_size, sub_color, sub_outline, sub_thickness, sub_box, sub_pos, sub_margin | Create (no pid) or edit (pid) a burn-in profile. Turn on logo=1 and/or subs=1. Returns the profile id. |
GET /api/profiles/delete | key, id | Delete a burn-in profile |
GET /api/series/follow | key, imdb / tmdb+type / tvdb, fld_id, webhook_url, notify_tg, cam, cam_pref | Follow a series or movie (IMDb, TheTVDB or TMDb); auto-creates your embed code & sends Webhook/TG alert when it arrives. For a movie not out yet, cam=1 also looks for a cam copy (cam_pref=best|hd, off by default). |
GET /api/series/list | key | List your followed series and movies |
GET /api/series/unfollow | key, imdb | Unfollow a series or movie |
Account-security actions (payout wallets, payouts, password, 2FA) are intentionally not in the API and are done on the website with your 2FA. Everything else about your library - adding, subtitles, folders, follows, burn-in profiles, stats - is available here.