Connect TikTok Shop to Python
Bring your TikTok Shop data into Python with Windsor.ai, so your scripts read live order, product and sales data.
Pick the TikTok Shop fields you need, and Windsor.ai keeps them flowing without a CSV export in between.
Forget CSVs. Stop copy/paste. Connect in minutes. No code required.
Get your TikTok Shop data into Python
TikTok Shop is connected once in Windsor.ai, and these are the use cases the fields support:
Track GMV and orders
Shop Performance GMV Amount, Shop Performance Orders and Shop Performance Units Sold by Date show how the shop sells day by day.
Compare LIVE, video and product cards
Shop Performance GMV Breakdowns Live Amount, Shop Performance GMV Breakdowns Video Amount and Shop Performance GMV Breakdowns Product Card Amount show which content type brings the sales.
Check fees and payouts
Statement Revenue Amount, Statement Fee Amount and Statement Settlement Amount show how much of the revenue reaches your account.
Using Windsor.ai to connect data from TikTok Shop to Python
Windsor.ai moves your TikTok Shop fields into Python on a connection you set up once, so the scripts stay on live records rather than a CSV someone exported last week.
Pick the fields you need and Windsor.ai handles the rest.
How to connect TikTok Shop to Python with Windsor.ai
Explore a step-by-step guide to integrate your TikTok Shop data into Python with the Windsor.ai connector.
Connect a data source
In your Windsor.ai dashboard, connect TikTok Shop: grant Windsor.ai access to your TikTok Shop seller account. Select the account(s) you want to pull data from and click Next.
Set Python as a data destination
Scroll down and choose Python from the data destination list. Copy the API Key URL provided in the instructions below.
Integrate the API Key URL into your Python code to stream data
Use Python’s requests or a similar library to retrieve data from Windsor.ai by making an API call with your obtained API Key URL.
FAQs
What TikTok Shop data can I load into Python?
Windsor.ai gives access to 595 TikTok Shop fields. These are the groups; the TikTok Shop field reference lists all of them:
- Shop performance: Shop Performance GMV Amount, Shop Performance Orders, Shop Performance Units Sold, Shop Performance Buyers, Shop Performance Average Order Value Amount, Shop Performance Refunds Amount, Shop Performance Cancellations and Returns.
- Sales by content type: Shop Performance GMV Breakdowns Live Amount, Shop Performance GMV Breakdowns Video Amount, Shop Performance GMV Breakdowns Product Card Amount, Shop Performance Product Impressions, Shop Performance Product Page Views, Shop Performance Live Views.
- Orders: Order ID, Order Status, Order Create Datetime, Order Payment Total Amount, Order Line Item Product Name, Order Shipping Provider, Order Cancel Reason.
- Products and inventory: Product Title, Product Status, Product SKU ID, Product SKU Sale Price, Product SKU Inventory Quantity.
- Statements and fees: Statement Revenue Amount, Statement Fee Amount, Statement Shipping Cost Amount, Statement Settlement Amount, Statement Transaction Fee Platform Commission, Statement Transaction Fee Affiliate Commission.
- Date and shop: Date, Month, Year, Shop Name, Shop Region, Account Name.
How does Windsor.ai load TikTok Shop data into Python?
Windsor.ai gives you an API URL for your selected TikTok Shop fields. Call it from Python with requests or a similar library and load the response into pandas or your own code.
Does the TikTok Shop connector include customer details?
Yes. Order fields include the buyer email, which TikTok anonymizes, and the recipient name, address and phone number. TikTok hides the phone number on orders that use platform logistics. Select only the fields you need, and leave out the recipient fields when you do not need them.
Can I combine TikTok Shop data with other sources in my scripts?
Yes. Windsor.ai supports 350+ data sources, so TikTok Shop data can sit next to other connected sources in the same scripts. For example, put TikTok Shop Shop Performance GMV Amount by Date next to TikTok Ads Cost for the same days, to compare ad spend with the sales the shop records.
Do I need to code to connect TikTok Shop to Python?
No. You connect TikTok Shop in the Windsor.ai dashboard, pick the fields you want, and Windsor.ai handles the transfer.
How much does it cost to integrate TikTok Shop with Python using Windsor.ai?
The free forever plan covers 1 data source, so connecting TikTok Shop on its own costs nothing and needs no credit card. Combining TikTok Shop with other sources needs a paid plan: $19/month for 3 sources or $99/month for 7. See the pricing page.
Do you have helpful links to get started with TikTok Shop and Python?
Yes. These are the resources to start with for the TikTok Shop to Python integration:
Tired of manual TikTok Shop data exports? Try Windsor.ai today to work on live data

