ByCrawl icon

ByCrawl

Crawl social media data from 15+ platforms using ByCrawl API

PTT → Get Board Posts

AI-generated

Summary

Retrieve a list of posts from a specified PTT board, with options to limit the number of posts returned and select the index page to query.

Inputs

  • Board Name (required) — The name of the PTT board (e.g., Gossiping, Stock) to list posts from.
  • Count — Optional number of posts to return, with a maximum of 40; defaults to 20 if not specified.
  • Page — Optional PTT index page number to retrieve posts from; omit to fetch the latest page.

Output shape

a list of post objects from the specified PTT board

The output is extracted from the 'posts' property of the API response and returns up to the specified count of posts from the specified page. If no page is specified, it queries the latest available page.

Examples

Example 1: Fetch 15 posts from the 'Gossiping' board on page 3

Set 'Board Name' to 'Gossiping', 'Count' to 15, and 'Page' to 3.

Example 2: Fetch the latest 20 posts from the 'Stock' board

Set 'Board Name' to 'Stock' and omit 'Page' to get the latest posts with the default count of 20.

Links

Discussion