Pantip Scraper & API – Thai Forum Topics and Comments
Pricing
from $2.00 / 1,000 topics
Pantip Scraper & API – Thai Forum Topics and Comments
Pantip scraper and unofficial Pantip API. Search pantip.com, Thailand's biggest forum, by keyword, or pull full topics with every comment and nested reply, plus author, tags, score and time. No login or API key. Export JSON, CSV or Excel for Thai social listening and brand monitoring.
Pricing
from $2.00 / 1,000 topics
Rating
0.0
(0)
Developer
Chad
Maintained by CommunityActor stats
0
Bookmarked
39
Total users
17
Monthly active users
5 days ago
Last modified
Categories
Security
Limited permissionsShare
Pantip Scraper & API – Scrape Thai Forum Topics and Comments
A Pantip scraper for pantip.com (พันทิป), Thailand's biggest discussion forum. Pantip has no official public API, so this Actor works as an unofficial Pantip API. You can search the whole site by keyword, or pull a full topic with every comment and nested reply. Export the results as JSON, CSV or Excel. No login or API key needed.
Built for Thai social listening and brand monitoring: share of voice against competitors, product-launch reactions, customer complaints and market research.
What the Pantip API returns
One row for the main post, then one row per comment (nested replies included). These are real rows from a topic run:
[{"topic_id": "44027563","site": "pantip","title": "อยากได้ไอโฟน","author": "สมาชิกหมายเลข 8467380","author_id": "8467380","tags": ["โทรศัพท์มือถือ", "สมาร์ทโฟน", "iPhone"],"created_at": "2026-03-24T05:07:02.000Z","topic_url": "https://pantip.com/topic/44027563","content": "ตอนนี้จะซื้อ iPhone ใหม่แต่อยากได้เป็นรุ่นโปรมือหนึ่งอยากรู้ว่ามีที่ไหนเหลือบ้างผ่อนแบบถูกๆตั้งแต่ 14 ถึง 16","source_mode": "topic"},{"comment_id": "44027563-1","topic_id": "44027563","floor": "1","is_reply": false,"author": "เจ็ดกอ","content": "เช็กที่ AIS Online/AIS Shop เลย เพราะมักมีสต็อก iPhone 14–16 Pro และโปรผ่อน 0%","score": 0,"created_at": "2026-03-24T05:10:06.000Z"}]
Some fields are trimmed here. The full list is in Output fields below.
How to scrape Pantip in 3 steps
- Choose a mode.
searchfinds topics by keyword across the whole site.topicreturns a full thread with every comment. - Add your input. Use keywords in Thai, English or brand names, or paste topic IDs or URLs.
- Run and export. Download the dataset as JSON, CSV or Excel, or read it from the Apify API.
{ "mode": "search", "keywords": ["iPhone", "Samsung"], "maxItems": 10 }
You pay per result: $0.002 per search result, $0.008 per topic and $0.003 per comment (see Modes).
Output fields
| Field | Type | Description |
|---|---|---|
topic_id | string | Topic ID (the topic/{id} in the URL) |
site | string | Always "pantip" |
comment_id | string | null | On comment rows, {topic_id}-{floor}; null on topic/search rows |
floor | string | null | Comment floor; nested replies are {comment_no}-{reply_no} |
is_reply | boolean | null | Whether this is a nested reply; null on topic/search rows |
title | string | null | Topic title (search/main-post rows); null on comment rows |
author | string | null | Poster / commenter display name |
author_id | string | null | Member ID |
content | string | null | Main post or comment body (HTML converted to plain text); null on search rows |
content_images | array | Image URLs found in the content (stickers / attachments) |
tags | array | Topic tags (main-post rows); empty array on search and comment rows |
comment_count | number | null | Comment count shown on the search card; null on topic and comment rows |
score | number | null | Comment vote score (Pantip good_bad_vote.point); null on topic/search rows |
created_at | string | null | Post/comment time (ISO 8601; search cards are day-level precision) |
topic_url | string | null | Topic link |
source_mode | string | search or topic (comment rows are topic) |
source_query | string | The matched keyword, or the topic ID (main post and its comments) |
scraped_at | string | Scrape time (ISO 8601) |
Modes
| Mode | Input | Output | Billing |
|---|---|---|---|
search (default) | keywords[] (site-wide search), dateFrom, maxItems | Topic list per keyword | search-listing $0.002/item |
topic | topicIds[]/topicUrls[], maxItems (comment cap per topic) | Main post + all comments (incl. nested replies) | product-detail $0.008/topic + review-item $0.003/comment |
Input fields
| Field | Type | Default | Description |
|---|---|---|---|
mode | string | search | search (site-wide search) or topic (full topic) |
keywords | array | — | Search keywords (Thai/English/brand names). Required for search mode |
topicIds | array | — | Topic IDs (numbers). Used by topic mode |
topicUrls | array | — | Full topic URLs; ID extracted automatically |
bulkInput | string | — | One per line; keywords in search, IDs/URLs in topic |
maxItems | integer | 50 | search: topics per keyword; topic: comments per topic (main post always returned). Max 500 |
dateFrom | string | — | Applies to search; relative 3d/12h/2w or absolute MM/DD/YY |
proxyConfiguration | object | Apify datacenter | On by default; without a proxy you share an egress IP and risk rate-limiting |
JSON examples
1) Search brand share-of-voice
{ "mode": "search", "keywords": ["iPhone", "Samsung"], "maxItems": 10 }
2) Only topics from the last 30 days
{ "mode": "search", "keywords": ["โตโยต้า"], "maxItems": 20, "dateFrom": "30d" }
3) Fetch a full topic (main post + all comments)
{ "mode": "topic", "topicIds": ["44209153"], "maxItems": 200 }
4) Fetch multiple topics by URL
{ "mode": "topic", "bulkInput": "https://pantip.com/topic/44209153\nhttps://pantip.com/topic/44008597" }
5) One row per comment (incl. nested replies)
{ "mode": "topic", "topicIds": ["44209153"], "maxItems": 500 }
Notes
searchis a site-wide Pantip keyword search (not in-room filtering), but v1 returns the first page per keyword (~10 most relevant); multi-page search uses Pantip's authenticated API and is scoped to v1.1. Schedule periodic runs and usedateFromto keep new topics for continuous monitoring.- Comment pagination in
topicmode: Pantip shows 100 comments per page; the Actor auto-paginates up tomaxItems. A single hot topic can have thousands of comments — usemaxItemsto control cost. - Sticker/image-only comments have
content= null; the image URLs are incontent_images. - Times: main post and comments are exact timestamps; search cards are day-level precision (Thai Buddhist-era dates, converted to Gregorian).
- Defaults to Apify datacenter proxy; for local testing set
proxyConfiguration.useApifyProxy = false.
FAQ
- Do I need a login or API key? No — only public content is scraped.
- Can it get comments? Yes —
topicmode returns the main post and all comments (including nested replies), one row each. - Can I monitor only certain keywords? Yes — use
searchmode with keywords, plusdateFromfor the most economical scheduled monitoring. - Output format? Export via the Apify Dataset as JSON/CSV/Excel/HTML/API.
📚 Related tutorials & tools
Hands-on guides and free tools built on this actor, at AI Social API:
- 📖 Guide: Pantip API and Southeast Asia Forum Data: Getting Thai and Vietnamese Forum Posts and Comments Without an Official API
- 📖 Tutorial: Build a no-code forum sentiment pipeline with Apify + n8n + GPT
- 📊 Data: Asian forum scrapability × cost table — measured on live runs: which forums need only a plain request, which need a residential IP, and what one item costs
- 🛠 Free tools: Forum sentiment quick-check · Apify cost calculator
- 🤝 Rather not run it yourself? I run it for you — scheduled daily, delivered to your Google Sheet or Slack, from US$299/mo.
Maintained by an operator running 30+ live Apify actors.
Disclaimer
This Actor only scrapes publicly visible content on Pantip, for research and sentiment-analysis purposes. Please comply with Pantip's terms of service and local regulations, and do not use it to violate personal data or for commercial abuse. Keep your scraping frequency reasonable to avoid burdening the source site.
Keywords: Pantip scraper, Pantip API, unofficial Pantip API, Pantip API alternative, Pantip crawler, scrape Pantip, Thai forum, Thailand social listening, brand monitoring Thailand, share of voice, sentiment analysis, market research, pantip.com, threads, comments, forum data.