REST APIs for cross-border seller tools: Temu & TikTok Shop calculators, Amazon fee analysis, keyword research, and more. Free tier — no credit card.
⚠️ Store this key securely — it is shown only once. Include it as X-API-Key header in all requests.
You do not have to register to evaluate the API. A small set of read-only endpoints is open to anyone at /api/v1/demo/, rate-limited to 20 requests per hour per IP (minimum 1 request every 2 seconds). No email, no key, no signup.
# See every endpoint available without a key
curl https://ylishi.tools/api/v1/demo
# Real Amazon autocomplete data for a keyword — live, no key
curl "https://ylishi.tools/api/v1/demo/kw/suggest?keyword=yoga+mat&market=US"
Responses carry X-Demo: 1 plus X-Demo-Hourly-Remaining so you can see your budget. Demo endpoints:
| Endpoint | Returns |
|---|---|
/api/v1/demo/kw/suggest | Amazon autocomplete suggestions for a keyword |
/api/v1/demo/kw/competition | Competition estimate for a keyword |
/api/v1/demo/temu/categories | Temu commission rate by category |
/api/v1/demo/tiktok/categories | TikTok Shop commission rate by category |
/api/v1/demo/compare/categories | Marketplace comparison categories |
/api/v1/demo/amazon-vs-tiktok/categories | Category list for the Amazon/TikTok comparison |
/api/v1/demo/simulator/categories | Fee simulator categories |
/api/v1/demo/images/sizes | Supported image size specs |
Writes — fee calculations, PPC analysis, listing grading, product estimation — need a free key (200 calls/day). Get one above, then swap /api/v1/demo/<service>/<action> for /api/v1/tools/<service>/<action> and add the X-API-Key header. Same paths, same response shape.
All requests go to: https://ylishi.tools/api/v1
Authenticate by passing your key in the header:
curl -H "X-API-Key: yl_live_yourkey" https://ylishi.tools/api/v1/tools/temu/categories
All responses are JSON. Rate limits are per-key: free tier 200 req/day, burst 10 req/s. Response headers include X-RateLimit-Daily-Limit and X-RateLimit-Daily-Remaining.
Calculate Temu seller fees, net profit, and ROI. Two models: supply (supply-price-based) and commission (list-price-based).
Body (JSON): model, supply_price/list_price, cogs, weight_oz, category (for commission)… See full param list →
Calculate TikTok Shop US seller fees and net profit per unit.
Body (JSON): price, cost, category, weight_oz (optional), shipping (optional)
Compare Amazon fees across categories. Amazon vs TikTok variant: /tools/amazon-vs-tiktok/compare
Body (JSON): category, price, weight_oz (optional)
Simulate Amazon FBA fees using the 2026 rate card. Returns referral, fulfillment, storage, and total fee breakdown.
Body (JSON): price, category, size_tier, weight_oz, dim_l, dim_w, dim_h
Grade an Amazon product listing (title, bullet points, images). Returns a score and actionable improvements.
Analyze PPC campaign data and return optimization suggestions.
Estimate product viability using Amazon Suggest, Trends, and competition data.
Get Amazon search suggestions (auto-complete) for a keyword.
Google Trends data for a keyword (past 12 months). May be slow (~3-8s).
Competition analysis for a keyword on Amazon.
Get listing details and keyword data for an ASIN.
List available categories for a service (temu, tiktok, compare, simulator).
Check if a backend service is alive.
Gateway health — lists all active services. No auth required.
import requests API_KEY = "yl_live_yourkey" BASE = "https://ylishi.tools/api/v1/tools" headers = {"X-API-Key": API_KEY} # Temu profit calculation resp = requests.post( f"{BASE}/temu/calculate", headers=headers, json={"model": "supply", "supply_price": 10, "cogs": 5, "weight_oz": 12} ) print(resp.json()) # → {"margin": 36.0, "net_profit": 3.6, ...}
const res = await fetch("https://ylishi.tools/api/v1/tools/tiktok/calculate", { method: "POST", headers: { "X-API-Key": "yl_live_yourkey", "Content-Type": "application/json" }, body: JSON.stringify({ price: 25, cost: 8, category: "home" }) }); const data = await res.json(); console.log(data.margin);
# Temu calculator curl -X POST https://ylishi.tools/api/v1/tools/temu/calculate \ -H "X-API-Key: yl_live_yourkey" \ -H "Content-Type: application/json" \ -d '{"model":"supply","supply_price":10,"cogs":5}' # Keyword suggestions curl "https://ylishi.tools/api/v1/tools/kw/suggest?keyword=wireless+earbuds" \ -H "X-API-Key: yl_live_yourkey"
| Plan | Daily Quota | Burst (req/s) | How to Get |
|---|---|---|---|
| Free | 200 requests/day | 10 | Self-service (form above) |
| Dev | 5,000 requests/day | 30 | Contact us with your use case |
| Pro | 50,000 requests/day | 60 | Production licensing |
Response headers: X-RateLimit-Plan, X-RateLimit-Daily-Limit, X-RateLimit-Daily-Remaining. When the quota is exceeded the API returns 429 Too Many Requests.
Demo endpoints (/api/v1/demo/…) have their own budget: 20 requests/hour per IP, minimum 2 seconds apart, no key required. They return X-Demo-Hourly-Limit / X-Demo-Hourly-Remaining, and reject with 429 plus Retry-After on the 2-second floor.
Licence terms for the fee data, the API and the embeddable widget — attribution requirements, what the free tier does and does not include, and commercial options — are at /api-terms/.
| HTTP Code | Error | Cause |
|---|---|---|
| 401 | invalid_api_key | Missing or invalid API key. Get one free → |
| 403 | endpoint_not_allowed | Endpoint is internal/not exposed in public API. |
| 404 | unknown_service | Service not in the public whitelist. |
| 429 | rate_limited | Quota exceeded or burst limit hit. |
| 429 | slow_down | Demo only — two requests closer than 2 seconds. Honour Retry-After. |
| 429 | demo_limit_reached | Demo only — 20 requests/hour for this IP used up. Get a free key → |
| 403 | not_available_in_demo | Endpoint exists but needs a key (all writes). The response lists the demo-safe set. |
| 502 | upstream_error | Backend service timeout or failure. |