⚡ ylishi.tools Public API

REST APIs for cross-border seller tools: Temu & TikTok Shop calculators, Amazon fee analysis, keyword research, and more. Free tier — no credit card.

🚀 Get Your API Key

✅ Your API Key

⚠️ Store this key securely — it is shown only once. Include it as X-API-Key header in all requests.

⚡ Try It First — No Key Required

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:

EndpointReturns
/api/v1/demo/kw/suggestAmazon autocomplete suggestions for a keyword
/api/v1/demo/kw/competitionCompetition estimate for a keyword
/api/v1/demo/temu/categoriesTemu commission rate by category
/api/v1/demo/tiktok/categoriesTikTok Shop commission rate by category
/api/v1/demo/compare/categoriesMarketplace comparison categories
/api/v1/demo/amazon-vs-tiktok/categoriesCategory list for the Amazon/TikTok comparison
/api/v1/demo/simulator/categoriesFee simulator categories
/api/v1/demo/images/sizesSupported 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.

📋 Base URL & Authentication

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.

📡 Available Endpoints

🔧 Tool Calculators (POST)

POST /tools/temu/calculate

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 →

POST /tools/tiktok/calculate

Calculate TikTok Shop US seller fees and net profit per unit.

Body (JSON): price, cost, category, weight_oz (optional), shipping (optional)

POST /tools/compare/compare

Compare Amazon fees across categories. Amazon vs TikTok variant: /tools/amazon-vs-tiktok/compare

Body (JSON): category, price, weight_oz (optional)

POST /tools/simulator/simulate

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

POST /tools/listing/grade

Grade an Amazon product listing (title, bullet points, images). Returns a score and actionable improvements.

POST /tools/ppc/analyze

Analyze PPC campaign data and return optimization suggestions.

POST /tools/productresearch/estimate

Estimate product viability using Amazon Suggest, Trends, and competition data.

📊 Keyword Research (GET)

GET /tools/kw/suggest?keyword=wireless+earbuds

Get Amazon search suggestions (auto-complete) for a keyword.

GET /api/v1/tools/kw/trends?keyword=wireless+earbuds

Google Trends data for a keyword (past 12 months). May be slow (~3-8s).

GET /api/v1/tools/kw/competition?keyword=wireless+earbuds

Competition analysis for a keyword on Amazon.

GET /tools/kw/asin?asin=B08N5WRWNW

Get listing details and keyword data for an ASIN.

📂 Metadata (GET)

GET /tools/{service}/categories

List available categories for a service (temu, tiktok, compare, simulator).

GET /tools/{service}/health

Check if a backend service is alive.

GET /health

Gateway health — lists all active services. No auth required.

💻 Code Examples

Python

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, ...}

JavaScript (fetch)

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);

Shell (curl)

# 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"

📊 Rate Limits

PlanDaily QuotaBurst (req/s)How to Get
Free200 requests/day10Self-service (form above)
Dev5,000 requests/day30Contact us with your use case
Pro50,000 requests/day60Production 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/.

⚠️ Error Handling

HTTP CodeErrorCause
401invalid_api_keyMissing or invalid API key. Get one free →
403endpoint_not_allowedEndpoint is internal/not exposed in public API.
404unknown_serviceService not in the public whitelist.
429rate_limitedQuota exceeded or burst limit hit.
429slow_downDemo only — two requests closer than 2 seconds. Honour Retry-After.
429demo_limit_reachedDemo only — 20 requests/hour for this IP used up. Get a free key →
403not_available_in_demoEndpoint exists but needs a key (all writes). The response lists the demo-safe set.
502upstream_errorBackend service timeout or failure.

🔗 Related

Share this tool:𝕏 PostPinterestReddit
← ylishi.tools Home
Ylishi Tools | AlternativeTo