Web appOpen in Telegram
XxCode

xCode

@CodeBracket · channel · Tech · indexed since 2026-07-11
292subscribers−2 in a week
119posts in the index
X
xCode
ImgBB Image Upload TBL Code Command - /imgbb TBL - let key = Bot.get("imgbb_key") if (!key) return Bot.sendMessage("❌ *API key not set*\n\nUse /set_key first", { parse_mode: "Markdown" }) if (!request.photo) { return Bot.sendMessage("📤 *Upload Image to ImgBB*\n\nSend any image to get a direct link instantly", { parse_mode: "Markdown" }) } let photo = request.photo[request.photo.length - 1] let file = await Api.getFile({ file_id: photo.file_id }) if (!file.ok) return Bot.sendMessage("❌ *Failed to get file*", { parse_mode: "Markdown" }) let fileUrl = "https://api.telegram.org/file/bot" + bot.token + "/" + file.result.file_path let up = await HTTP.get({ url: "https://api.imgbb.com/1/upload", query: { key: key, image: fileUrl } }) if (!up.ok || !up.data.success) { return Bot.sendMessage("❌ *Upload failed*", { parse_mode: "Markdown" }) } Bot.sendMessage( "*✅ Uploaded Successfully!*\n\n*Link:*\n" + up.data.data.url, { parse_mode: "Markdown" } ) Command - /set_key TBL - if (!params) { Bot.sendMessage("❌ *Send API key like:*\n/set_key YOUR_KEY", { parse_mode: "Markdown" }) return } Bot.set("imgbb_key", params) Bot.sendMessage("✅ *API key saved successfully!*", { parse_mode: "Markdown" }) 1. Get ImgBB API Key Go to: https://api.imgbb.com/ 2. Set API Key in Bot /set_key YOUR_API_KEY Developer: @CyberXCoding platform: telebothost.com ( No ads , free same as bots.business )
16 · 656 ·
xCode
Photo
click to show
Pinterest Search API — Free, No Key Base Url: https://pinterest-api-bay.vercel.app Example: https://pinterest-api-bay.vercel.app/v5/pins/search?query=Doraemon Example Requests: ────────────────── /v5/pins/search?query=cats&count=20 /v5/boards/search?query=decor /v5/pins/{pin_id} /v5/users/{username} /v5/users/{username}/pins /v5/users/{username}/boards /v5/boards/{user}/{slug} /v5/boards/{user}/{slug}/pins ────────────────── Full docs → https://pinterest-api-bay.vercel.app/docs Developer: @CyberXCoding
13 · 613 ·
Pinterest Image Search Bjs Api - https://pinterest-api-bay.vercel.app/example/docs Command: /search Wait for answer: On ✅ Bjs: let query = message; if (!query) { Bot.sendMessage("Please enter a search query."); return; } User.setProperty("q", query, "string"); HTTP.post({ url: "https://pinterest-api-bay.vercel.app/v5/pins/search", body: { query: query, count: 10, compact: true }, success: "/search_result", error: "/search_error" }); Command: /search_result Bjs: let data; try { data = JSON.parse(content); } catch (e) { Bot.sendMessage("Failed to parse response."); return; } if (!data.items || data.items.length === 0) { Bot.sendMessage("No results found."); return; } let query = User.getProperty("q") || "Result"; let botName = bot.name; for (let i = 0; i < data.items.length; i++) { let item = data.items[i]; let title = item.title ? item.title : query; let image = item.image; let link = item.url ? item.url : ""; let buttons = []; if (link) { buttons.push([{ text: "View on Pinterest", url: link }]); } buttons.push([{ text: "Copy Image URL", copy_text: { text: image } }]); let caption = "<b>" + title + "</b>\n" + "<i>Query:</i> " + query + "\n" + "<i>Searched by:</i> @" + botName; Api.sendPhoto({ photo: image, caption: caption, parse_mode: "HTML", disable_web_page_preview: true, reply_markup: { inline_keyboard: buttons } }); } Developer: @CyberXCoding platform: app.bots.business
11 · 599 ·
Pinterest Image Search TBL Code Api - https://pinterest-api-bay.vercel.app/example/docs Command - /search Wait for answer: On ✅ TBL - let query = message if (!query) { Bot.sendMessage("Please enter a search query.") return } User.set("q", query, "string") let res = await HTTP.post({ url: "https://pinterest-api-bay.vercel.app/v5/pins/search", body: { query: query, count: 10, compact: true } }) if (!res.ok) { Bot.sendMessage("Request failed. Please try again later.") return } let data try { data = res.data } catch (e) { Bot.sendMessage("Failed to parse response.") return } if (!data.items || data.items.length === 0) { Bot.sendMessage("No results found.") return } let savedQuery = User.get("q") || "Result" let botName = bot.name for (let i = 0; i < data.items.length; i++) { let item = data.items[i] let title = item.title ? item.title : savedQuery let image = item.image let link = item.url ? item.url : "" let buttons = [] if (link) { buttons.push([{ text: "View on Pinterest", url: link }]) } buttons.push([{ text: "Copy Image URL", copy_text: { text: image } }]) let caption = "<b>" + title + "</b>\n" + "<i>Query:</i> " + savedQuery + "\n" + "<i>Searched by:</i> @" + botName await Api.sendPhoto({ chat_id: user.telegramid, photo: image, caption: caption, parse_mode: "HTML", disable_web_page_preview: true, reply_markup: { inline_keyboard: buttons } }) } Developer: @CyberXCoding platform: telebothost.com
20 · 1.2K ·
Photo
click to show
YouTube Search API — Free, No Key Base Url: https://youtube-api-sage.vercel.app Example: https://youtube-api-sage.vercel.app/v1/search/videos?query=Doraemon Example Requests: ────────────────── /v1/search/videos?query=music&count=20 /v1/search/channels?query=tech&count=20 /v1/video/{video_id} /v1/channel/{channel_id} /v1/trending?compact=true ────────────────── Full docs → https://youtube-api-sage.vercel.app/docs Developer: @CyberXCoding Pro tip: Add &compact=true to search videos and trending to get smaller responses perfect for bots — only id, title, author, length, views, thumbnail, url.
12 · 572 ·
xCode
Photo
click to show
Pinterest Image Search Search and share images from Pinterest instantly. How to use ➥ Type @PinlyBot query ➥ Select and send image Direct: ➥ Send keyword here ➥ Browse and choose Tip: ➥ Use clear keywords for better results Example: @PinlyBot Anime
1 · 788 ·
X
xCode
Need Google , DuckDuck Go , Yandex , Bing etc. Search Engines Api - almost no limits Give 20+ reactions
1 · 635 ·
X
ReplyBrave search api - https://multi-search-api.vercel.app/brave?q=OpenAi Ecosia search api - https://multi-search-api.vercel.app/ecosia?q=OpenAi Please handle if api sometimes gives errors , just set auto retry on errors if you build telegram bots
If the API stops working, just comment , I will fix it within a few hours ✅ I don't want to add heavy security because I made these APIs just for fun. This api will work for a long time because it will auto rotate search engines it self if any search engine is not working
583 ·
TBH Broadcast Example - supports links buttons , image , video almost all Command: /broadcast TBL Code: const ADMIN_ID = 123456789 if (user.telegramid != ADMIN_ID) { return } if (!request.reply_to_message) { return Bot.sendMessage( "❌ Reply to a message with /broadcast" ) } let users = await Bot.getUsers({ chatType: "private" }) if (!users?.length) { return Bot.sendMessage( "❌ No users found" ) } let msg = request.reply_to_message let sent = 0 let failed = 0 let status = await Api.sendMessage({ text: "📢 Broadcast Started\n\n" + "👥 Total: " + users.length }) let hasButtons = msg.reply_markup?.inline_keyboard let methods = { photo: "sendPhoto", video: "sendVideo", document: "sendDocument", animation: "sendAnimation", audio: "sendAudio", voice: "sendVoice" } let type = Object.keys(methods) .find(x => msg[x]) for (let chat_id of users) { try { if (!hasButtons) { await Api.copyMessage({ chat_id, from_chat_id: msg.chat.id, message_id: msg.message_id }) } else { let data = { chat_id, reply_markup: msg.reply_markup } if (type) { data[type] = type === "photo" ? msg.photo.at(-1).file_id : msg[type].file_id data.caption = msg.caption data.caption_entities = msg.caption_entities await Api.call( methods[type], data ) } else { data.text = msg.text || msg.caption || "" data.entities = msg.entities || msg.caption_entities await Api.sendMessage(data) } } sent++ } catch { try { await Api.forwardMessage({ chat_id, from_chat_id: msg.chat.id, message_id: msg.message_id }) sent++ } catch { failed++ } } } await status.editText( "📢 Broadcast Completed\n\n" + "👥 Total
10 · 689 ·
X
xCode
Iɴsᴛᴀʟʟ Bᴏᴛ Tᴏ Aɴᴏᴛʜᴇʀ TᴇʟᴇBᴏᴛHᴏsᴛ Aᴄᴄᴏᴜɴᴛ 💌 🌈 Cᴏᴍᴍᴀɴᴅ: /sendbot 🔮 TBL: let email = params; const result = TBL.transfer({ bot_id: bot.id, to_mail: email, }) Bot.sendMessage("✅ Bᴏᴛ Sᴜᴄᴄᴇssꜰᴜʟʟʏ Sᴇɴᴛ Tᴏ Yᴏᴜʀ Tʙʜ Mᴀɪʟ 💌\n\n📩 Eᴍᴀɪʟ: " + email) 📩 Exᴀᴍᴘʟᴇ: /sendbot [email protected] 📚 Dᴏᴄs: https://telebothost.com/docs/#class-tbl Cʀᴇᴀᴅɪᴛ ❥ @CyberXCoding
8 · 717 ·
X
xCode
Next which api needed tell in comment we will make the requested possible api's and post in the channel
708 ·
xCode
Comment Guys Which code or API are you looking for?
423 ·
X
xCode
💎 Telegram has applied for the .gram domain zone. If the application is approved by ICANN, a billion Telegram users could get their own second-level domains. 🖥 For example, @durov would get durov.gram, and @monk would get monk.gram. Users would be able to set up their interactive websites hosted by Telegram — just by typing one prompt ✨
231 ·

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · What we do not do · Remove a page · Catalog · Search · How we count