{"name":"Pantip room topics API","description":"Topics listed in a room of the Pantip forum, for any room slug","api_id":"generated_55ebd7a2a62516504a68fc95","slug":"pantip-room-topics-api","source":{"name":"Pantip","domain":"pantip.com","url":"https://pantip.com/"},"category":"social_communities","countries":[],"languages":[],"record_types":[],"tags":[],"limitations":[],"updated":"2026-11-28","note":"Sample records are saved samples, not a live run. CleanedWeb is not affiliated with the source.","version":"1.0","versions":[{"major":1,"latest_minor":"1.0","status":"current","sunset_at":null}],"changelog":[{"version":"1.0","date":"2026-11-27T21:51:36.000Z","kind":"major","changes":[]}],"version_note":"Pin a major with \"version\": N in the run body (an integer). Leave it out and the call runs on the latest major. A sunset major runs on the latest major and the response says rerouted. An unknown major answers 404 catalog_version_not_found and lists the available majors.","endpoints":[{"endpoint_id":"generated_55ebd7a2a62516504a68fc95_search","name":"List Pantip room topics","description":"Return records within the accepted scope.","definition_version":"46482b7d5b5904286bbd58b3733f64fd4ae7a95f9cd51d20d64327a12fe14a6c","method":"POST","path":"/v1/catalog/public/apis/generated_55ebd7a2a62516504a68fc95/endpoints/generated_55ebd7a2a62516504a68fc95_search/run","url":"https://api.cleanedweb.com/v1/catalog/public/apis/generated_55ebd7a2a62516504a68fc95/endpoints/generated_55ebd7a2a62516504a68fc95_search/run","authentication":{"type":"bearer","scheme":"Authorization: Bearer <API key>","scope":"run","note":"Reading this file and the live catalog needs no credential. A run needs a CleanedWeb account and uses the credits of its workspace.","docs":"https://cleanedweb.com/docs/run-catalog-api/"},"required_headers":[{"name":"Authorization","value":"Bearer YOUR_API_KEY","description":"An API key with the run scope."},{"name":"Idempotency-Key","value":"UNIQUE_REQUEST_ID","description":"Required. Save it before you send; reuse it only to retry the same request and to read the result. 1-200 characters: letters, numbers, . _ : -"},{"name":"Content-Type","value":"application/json","description":"The body is JSON."}],"request_body":{"input":"An object that follows input_schema.","max_items":"Optional. Stop after this many records.","timeout_seconds":"Optional, 60-86400, default 10800.","wait_seconds":"Optional, 0-86400, default 90. How long the request waits before answering 202.","version":"Optional integer major. Leave it out for the latest major."},"input_schema":{"type":"object","properties":{"enrich_records":{"type":"boolean","default":true,"description":"true: read each returned record's product/detail page and merge its fields into the record. false: return list/search-level fields only, with no detail page reads. Every returned record's detail page is read within the run's time budget; records the time budget leaves unread are returned without detail fields, and summary.record_enrichment reports how many records were enriched and why any were not (run_time_budget). Detail fields are optional."},"room":{"type":"string","minLength":1,"maxLength":200,"examples":["siam","silom"],"default":"siam","description":"Optional. The source request's own \"room\" value, sent exactly as typed. Omit it for the listing's own records."}},"required":[],"additionalProperties":false},"output_schema":{"additionalProperties":true,"properties":{"author":{"type":["object"],"x-cleanedweb-source-value-opaque":true},"comments_count":{"type":["number"]},"created_time":{"type":["string"]},"id":{"type":["number"]},"large":{"type":["string"]},"medium":{"type":["string"]},"name":{"type":["string"]},"original":{"type":["string"]},"slug":{"type":["string"]},"small":{"type":["string"]},"tags":{"type":["array"],"x-cleanedweb-source-value-opaque":true},"tags_name":{"items":{"type":["string"]},"type":["array"]},"tags_slug":{"items":{"type":["string"]},"type":["array"]},"thumbnail_url":{"type":["string"]},"title":{"type":["string"]},"topic_id":{"type":["number"]},"topic_type":{"type":["number"]},"views_count":{"type":["number"]},"votes_count":{"type":["number"]},"images":{"items":{"additionalProperties":false,"properties":{"url":{"type":["null","string"]}},"type":["null","object"]},"type":"array"},"image_url":{"type":"string"},"detail_original":{"type":"string"},"detail_large":{"type":"string"},"detail_medium":{"type":"string"},"detail_small":{"type":"string"},"register_date":{"type":"string"},"introduction":{"type":"string"},"type":{"type":"string"},"user_type_title":{"type":"string"},"icon_url":{"type":"string"},"total_follower":{"type":"string"},"total_following":{"type":"string"},"is_follower":{"type":"string"},"follow_status":{"type":"string"},"noti_status":{"type":"string"},"page_meta_title":{"type":"string"},"meta_description":{"type":"string"},"tabs_menu_name":{"type":"string"},"tabs_menu_title":{"type":"string"},"tabs_menu":{"type":"string"},"background_image_url":{"type":"string"},"mobile_image_url":{"type":"string"},"doodle_title":{"type":"string"},"agent_interaction_statistic_interaction_type":{"items":{"type":["string","null"]},"type":"array"},"agent_interaction_statistic_user_interaction_count":{"items":{"type":["integer","null"]},"type":"array"},"doodle_background_image_url":{"type":"string"},"doodle_image_url":{"type":"string"},"doodle_mobile_image_url":{"type":"string"},"following_follow_status":{"type":"boolean"},"following_noti_status":{"type":"boolean"},"gender":{"type":"string"},"interaction_statistic_interaction_type":{"items":{"type":["string","null"]},"type":"array"},"json_ld_date_created":{"type":"string"},"json_ld_main_entity_agent_interaction_statistic_interaction_type":{"items":{"type":["string","null"]},"type":"array"},"json_ld_main_entity_description":{"type":"string"},"json_ld_main_entity_interaction_statistic_interaction_type":{"items":{"type":["string","null"]},"type":"array"},"json_ld_main_entity_interaction_statistic_user_interaction_count":{"items":{"type":["integer","null"]},"type":"array"},"main_entity_agent_interaction_statistic_interaction_type":{"items":{"type":["string","null"]},"type":"array"},"main_entity_interaction_statistic_interaction_type":{"items":{"type":["string","null"]},"type":"array"},"nickname_history_display_date":{"items":{"type":["string","null"]},"type":"array"},"nickname_history_nickname":{"items":{"type":["string","null"]},"type":"array"},"page_meta_link_canonical":{"type":"string"},"page_meta_meta_description":{"type":"string"},"tabs_menu_url":{"items":{"type":["string","null"]},"type":"array"},"user_icon_icon_url":{"items":{"type":["string","null"]},"type":"array"},"user_icon_link_url":{"items":{"type":["string","null"]},"type":"array"},"user_icon_title":{"items":{"type":["string","null"]},"type":"array"},"user_icon_type":{"items":{"type":["string","null"]},"type":"array"},"user_type_icon_url":{"type":"string"},"user_type_type":{"type":"string"}},"required":["topic_id"],"type":"object"},"output_schema_note":"Some fields the source returns are not published here (identifiers, personal details and page-building noise). A record can carry fields this schema does not list, so additionalProperties is true. Do not reject a record for an extra field. The live contract, linked as live_contract, lists every field the saved definition declares.","examples":[{"kind":"saved_validation_records","saved_at":"2026-11-27T21:51:36.769Z","live_verified":false,"request":{"input":{}},"records_shown":2,"records_saved":2,"records":[{"comments_count":1,"created_time":"2026-11-27T19:10:04Z","id":7381474,"large":"https://p.ptcdn.info/174/015/000/7381474_16921931489479_l.jpg","medium":"https://p.ptcdn.info/174/015/000/7381474_16921931489479_m.jpg","name":"สมาชิกหมายเลข 7381474","original":"https://p.ptcdn.info/174/015/000/7381474_16921931489479_o.jpg","slug":"https://pantip.com/profile/7381474","small":"https://p.ptcdn.info/174/015/000/7381474_16921931489479_s.jpg","tags_name":["ประสบการณ์ความรัก","ความรักวัยรุ่น","ปัญหาความรัก"],"tags_slug":["ประสบการณ์ความรัก","ความรักวัยรุ่น","ปัญหาความรัก"],"title":"คุยกับคนคุยยังไงให้ดูไปกันต่อได้","topic_id":44296493,"topic_type":3,"views_count":0,"votes_count":0},{"comments_count":10,"created_time":"2026-11-26T07:12:11Z","id":9441359,"large":"https://ptcdn.info/images/avatar_member_default.png","medium":"https://ptcdn.info/images/avatar_member_default.png","name":"สมาชิกหมายเลข 9441359","slug":"https://pantip.com/profile/9441359","small":"https://ptcdn.info/images/avatar_member_default.png","tags_name":["ปัญหาวัยรุ่น","สังคม","ชีวิตวัยรุ่น","ห้องนอน","หอพัก"],"tags_slug":["ปัญหาวัยรุ่น","สังคม","ชีวิตวัยรุ่น","ห้องนอน","หอพัก"],"title":"วิธีจัดการรูมเมดเเบบนี้ เเย่ไปไหม","topic_id":44295237,"topic_type":3,"views_count":89,"votes_count":0}]}],"request_example":{"body":{"input":{},"version":1,"max_items":25},"curl":"curl -X POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_55ebd7a2a62516504a68fc95/endpoints/generated_55ebd7a2a62516504a68fc95_search/run \\\n  -H \"Authorization: Bearer YOUR_API_KEY\" \\\n  -H \"Idempotency-Key: UNIQUE_REQUEST_ID\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n  \"input\": {},\n  \"version\": 1,\n  \"max_items\": 25\n}'"},"result":{"method":"GET","url":"https://api.cleanedweb.com/v1/catalog/public/apis/generated_55ebd7a2a62516504a68fc95/endpoints/generated_55ebd7a2a62516504a68fc95_search/result","note":"A run that does not end within wait_seconds answers 202. Read the result with the same API key and the same Idempotency-Key."},"links":{"page":"https://cleanedweb.com/catalog/pantip-room-topics-api/","markdown":"https://cleanedweb.com/catalog/pantip-room-topics-api/index.md","live_contract":"https://app.cleanedweb.com/api/catalog/apis/generated_55ebd7a2a62516504a68fc95/endpoints/generated_55ebd7a2a62516504a68fc95_search/contract","run_docs":"https://cleanedweb.com/docs/run-catalog-api/"}}],"links":{"page":"https://cleanedweb.com/catalog/pantip-room-topics-api/","markdown":"https://cleanedweb.com/catalog/pantip-room-topics-api/index.md","contract":"https://cleanedweb.com/catalog/pantip-room-topics-api/contract.json","catalog":"https://cleanedweb.com/catalog/","index":"https://cleanedweb.com/catalog/index.json","openapi":"https://cleanedweb.com/catalog/openapi.json"}}
