Pantip Scraper & API – Thai Forum Topics and Comments avatar

Pantip Scraper & API – Thai Forum Topics and Comments

Pricing

from $2.00 / 1,000 topics

Go to Apify Store
Pantip Scraper & API – Thai Forum Topics and Comments

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

Chad

Maintained by Community

Actor stats

0

Bookmarked

39

Total users

17

Monthly active users

5 days ago

Last modified

Security

Limited permissions

Share

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

  1. Choose a mode. search finds topics by keyword across the whole site. topic returns a full thread with every comment.
  2. Add your input. Use keywords in Thai, English or brand names, or paste topic IDs or URLs.
  3. 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

FieldTypeDescription
topic_idstringTopic ID (the topic/{id} in the URL)
sitestringAlways "pantip"
comment_idstring | nullOn comment rows, {topic_id}-{floor}; null on topic/search rows
floorstring | nullComment floor; nested replies are {comment_no}-{reply_no}
is_replyboolean | nullWhether this is a nested reply; null on topic/search rows
titlestring | nullTopic title (search/main-post rows); null on comment rows
authorstring | nullPoster / commenter display name
author_idstring | nullMember ID
contentstring | nullMain post or comment body (HTML converted to plain text); null on search rows
content_imagesarrayImage URLs found in the content (stickers / attachments)
tagsarrayTopic tags (main-post rows); empty array on search and comment rows
comment_countnumber | nullComment count shown on the search card; null on topic and comment rows
scorenumber | nullComment vote score (Pantip good_bad_vote.point); null on topic/search rows
created_atstring | nullPost/comment time (ISO 8601; search cards are day-level precision)
topic_urlstring | nullTopic link
source_modestringsearch or topic (comment rows are topic)
source_querystringThe matched keyword, or the topic ID (main post and its comments)
scraped_atstringScrape time (ISO 8601)

Modes

ModeInputOutputBilling
search (default)keywords[] (site-wide search), dateFrom, maxItemsTopic list per keywordsearch-listing $0.002/item
topictopicIds[]/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

FieldTypeDefaultDescription
modestringsearchsearch (site-wide search) or topic (full topic)
keywordsarray—Search keywords (Thai/English/brand names). Required for search mode
topicIdsarray—Topic IDs (numbers). Used by topic mode
topicUrlsarray—Full topic URLs; ID extracted automatically
bulkInputstring—One per line; keywords in search, IDs/URLs in topic
maxItemsinteger50search: topics per keyword; topic: comments per topic (main post always returned). Max 500
dateFromstring—Applies to search; relative 3d/12h/2w or absolute MM/DD/YY
proxyConfigurationobjectApify datacenterOn 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

  • search is 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 use dateFrom to keep new topics for continuous monitoring.
  • Comment pagination in topic mode: Pantip shows 100 comments per page; the Actor auto-paginates up to maxItems. A single hot topic can have thousands of comments — use maxItems to control cost.
  • Sticker/image-only comments have content = null; the image URLs are in content_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 — topic mode returns the main post and all comments (including nested replies), one row each.
  • Can I monitor only certain keywords? Yes — use search mode with keywords, plus dateFrom for the most economical scheduled monitoring.
  • Output format? Export via the Apify Dataset as JSON/CSV/Excel/HTML/API.

Hands-on guides and free tools built on this actor, at AI Social API:

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.