Official Python & Node.js quickstart SDK and code examples for ChoCode API Gateway — 1,260+ production RESTful JSON endpoints for Southeast Asian & Chinese e-commerce and social platforms: Shopee, Shopee Affiliate, TikTok Mobile App, Lazada, Taobao, and Muse.
- Interactive API Playground (cURL / Python / Node.js / PHP): https://chocode.com.vn/api-docs
- Monthly Free Tier & Paid Plans: https://chocode.com.vn/apis
- Source Code & MMO Automation Marketplace: https://chocode.com.vn/products
- Machine-Readable Endpoint Directory (for Cursor / Claude / ChatGPT): https://chocode.com.vn/llms-full.txt
Modern e-commerce and social apps enforce aggressive mobile request signing (x-sap-sec on Shopee, X-Argus / X-Gorgon / X-Ladon + ECDSA P-256 TicketGuard on TikTok Mobile, and MTOP signatures on Lazada & Taobao). ChoCode handles device emulation, signature generation, and session rotation behind a single X-API-Key header:
| Platform Gateway | Active Endpoints | Key Features | Docs & Playground |
|---|---|---|---|
| Shopee API | 392 endpoints | Product PDP, Visual Image Search, Shop Details, Orders, Cart, Checkout, Shopee Chat, Video Upload | Try Shopee API |
| Shopee Affiliate API | 112 endpoints | shp.ee / s.shopee.vn Shortlinks, Extra Commission Campaigns, GraphQL Click & Conversion Reports |
Try Affiliate API |
| TikTok Mobile API | 132 endpoints | Creator Profiles, HD No-Watermark Videos, TikTok Shop & Affiliate, Auto-Login (Hotmail OAuth2 + Gmail OTP + 2FA) | Try TikTok API |
| Muse from Meta API | 169 endpoints | AI & Social Media generation and automation endpoints | Try Muse API |
| Lazada & Taobao APIs | 460+ endpoints | Signed MTOP Product PDP, Search, Shop Catalogs, Reviews, Cart, Orders, Alimama Taoke | Try Lazada & Taobao |
- Zero-Log Per-Key Cookie Vault: Upload your personal platform cookies/sessions isolated strictly to your
X-API-Key. Inspect status or purge anytime via API. - Monthly Free Tier: Every API includes a monthly Free plan so you can prototype immediately without a credit card.
- 24/7 Automated Global Billing: Instant wallet top-ups via USDT (BEP-20 on BNB Smart Chain, minimum 5 USDT) for international developers and VietQR bank transfer for Vietnam.
import os
import requests
API_KEY = os.environ.get("CHOCODE_API_KEY", "YOUR_CHOCODE_API_KEY")
# 1. Shopee Visual Image Search
res = requests.post(
"https://shopee-api.chocode.com.vn/v1/shopee/search_by_image",
headers={"X-API-Key": API_KEY},
json={"image_url": "https://cf.shopee.vn/file/sample_product.jpg"},
timeout=15,
)
print("Shopee Image Search:", res.status_code, res.json())
# 2. TikTok Mobile Video Detail (No Watermark)
tt = requests.get(
"https://tiktok-app.chocode.com.vn/v1/tiktok/get_video_detail",
headers={"X-API-Key": API_KEY},
params={"aweme_id": "7142103016517160218"},
timeout=15,
)
print("TikTok Video Detail:", tt.status_code, tt.json())const API_KEY = process.env.CHOCODE_API_KEY || "YOUR_CHOCODE_API_KEY";
// Generate Shopee Affiliate Tracking Shortlink (shp.ee / s.shopee.vn)
const resp = await fetch("https://shopee-affiliate-api.chocode.com.vn/v1/affiliate/shortlink", {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-API-Key": API_KEY,
},
body: JSON.stringify({
originUrl: "https://shopee.vn/product/123456/789012",
}),
});
console.log(await resp.json());ChoCode.com.vn là nền tảng cho thuê API Thương mại điện tử & Mạng xã hội tốc độ cao tại Việt Nam (Shopee, Shopee Affiliate, TikTok Mobile, Lazada, Taobao) với hơn 1.260+ endpoints RESTful JSON chuẩn hóa:
- Có gói Free hàng tháng cho mọi nền tảng để test trực tiếp trên API Playground.
- Tự động ký số (
x-sap-sec,X-Argus/TicketGuard,MTOP) và quản lý Kho Cookie cá nhân (Zero-Log) gắn riêng với từngX-API-Key. - Hỗ trợ
/v1/tiktok/auto_logintự đọc OTP Hotmail OAuth2, nhập OTP Gmail và vượt 2FA Mật khẩu / Google Authenticator (totp_secret). - Thanh toán tự động 24/7 qua VietQR ngân hàng hoặc USDT (BEP-20), kích hoạt gói ngay lập tức trên API Key.
- Website: https://chocode.com.vn
- API Pricing & Free Plans: https://chocode.com.vn/apis
- Interactive API Docs: https://chocode.com.vn/api-docs
- Privacy Policy (Zero-Log Guarantee): https://chocode.com.vn/privacy