Discover/guba.eastmoney.com API
live

guba.eastmoney.com APIguba.eastmoney.com

Access Eastmoney Guba stock discussion boards via API. Retrieve posts, comments, board metadata, and search results for any Chinese A-share stock code.

Endpoints
5
Updated
27d ago
Try it
Page number for pagination
Stock code including leading zeros (e.g., '600519' for Guizhou Moutai, '000001' for Ping An Bank)
api.parse.bot/scraper/013b2deb-3991-4776-ac16-39cf8b0927f1/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/013b2deb-3991-4776-ac16-39cf8b0927f1/get_stock_board_posts?page=1&stock_code=600519' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 5 totalclick to expand

Retrieve a paginated list of posts from a specific stock board. Returns posts with titles, authors, read/reply counts, and timestamps. Some posts link to external sources and may not have a post_id.

Input
ParamTypeDescription
pageintegerPage number for pagination
stock_coderequiredstringStock code including leading zeros (e.g., '600519' for Guizhou Moutai, '000001' for Ping An Bank)
Response
{
  "type": "object",
  "fields": {
    "page": "string, the requested page number",
    "posts": "array of post objects with post_id, title, url, author, read_count, reply_count, post_time",
    "stock_code": "string, the requested stock code"
  },
  "sample": {
    "data": {
      "page": "1",
      "posts": [
        {
          "url": "/news,600519,1704114732.html",
          "title": "茅台集团总经理王莉已返回公司",
          "author": "贵州茅台资讯",
          "post_id": "1704114732",
          "post_time": "05-07 03:30",
          "read_count": "914",
          "reply_count": "5"
        }
      ],
      "stock_code": "600519"
    },
    "status": "success"
  }
}

About the guba.eastmoney.com API

The Eastmoney Guba API provides 5 endpoints covering China's most active stock discussion community, guba.eastmoney.com. Use get_stock_board_posts to pull paginated post listings — including titles, authors, read counts, reply counts, and timestamps — for any A-share stock code. Additional endpoints cover full post content, comment data, board metadata, and keyword search across stocks and boards.

Stock Board Posts and Post Detail

get_stock_board_posts accepts a required stock_code parameter (e.g., 600519 for Guizhou Moutai) and an optional page integer. It returns an array of post objects, each containing post_id, title, url, author, read_count, reply_count, and post_time. Note that some posts link to external sources and will have a null post_id — these cannot be passed to downstream endpoints.

get_post_detail takes a post_id and stock_code and returns the full article text in the content field, alongside title, author, post_time (formatted as YYYY-MM-DD HH:MM:SS), and the canonical url. This endpoint is intended for posts that originate on Guba itself.

Comments and Board Metadata

get_post_comments accepts a post_id, an optional page for pagination, and an optional stock_code for context. The response includes a re boolean flag indicating whether results exist and a result array where each item carries security and star fields — reflecting stock security references tied to the discussion.

get_stock_board_info returns structured metadata for a stock's discussion board: the bar_info object includes fields such as ShortName, Category, Market, Type, CodeWithMarket, OuterCode, InnerCode, QCode, and Status. The response also surfaces bar_rank, popular_rank (which may be null), and stockbar_fans_count — the number of board followers.

Search

search_guba accepts a free-text query (stock name or code) and returns a result array of matching boards, each with ShortName, Url, OuterCode, HeadCharacter, and RelatedCode. This is useful for resolving a company name to its stock code before querying board-specific endpoints.

Common use cases
  • Track retail investor sentiment for a specific A-share by monitoring reply_count and read_count trends from get_stock_board_posts.
  • Build a Chinese stock news aggregator by fetching full post content via get_post_detail for high-engagement posts.
  • Identify the most-followed stock discussion boards using stockbar_fans_count and popular_rank from get_stock_board_info.
  • Resolve a company name to its stock code and board URL using search_guba before fetching board-specific data.
  • Monitor post volume and activity spikes around earnings dates by paginating through get_stock_board_posts with the page parameter.
  • Analyze stock security references in comments using the security field returned by get_post_comments.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Eastmoney provide an official developer API for Guba data?+
Eastmoney does not publish a documented public developer API for Guba discussion board data. Access to this structured data is not available through an official, documented endpoint from Eastmoney.
Why do some posts in `get_stock_board_posts` have a null `post_id`?+
Posts that link to external sources outside of Guba do not carry an internal post_id. These entries still include title, url, author, read_count, reply_count, and post_time, but they cannot be used as input to get_post_detail or get_post_comments, which require a valid post_id.
Does the API return historical post archives or only recent posts?+
The API returns posts as currently listed on a stock board, paginated via the page parameter. Deep historical archives beyond what the board's pagination exposes are not currently covered. You can fork the API on Parse and revise it to add an endpoint targeting a specific date range or archive path if the source exposes one.
Does `get_post_comments` return full comment text?+
Currently, get_post_comments returns a result array with security and star fields per item, along with a re boolean. Full comment body text is not included in the current response shape. You can fork the API on Parse and revise it to add a dedicated comment-text endpoint if that data is accessible on the post page.
What stock markets does the API cover — can it retrieve Hong Kong or US-listed stocks?+
The stock_code parameter is designed around Chinese A-share codes (e.g., Shanghai and Shenzhen-listed stocks). The bar_info object includes a Market field that reflects the board's market classification. Coverage of Hong Kong (H-share) or US-listed Chinese companies is not explicitly guaranteed by the current endpoint set. You can fork the API on Parse and revise it to test additional market codes or add dedicated endpoints for other market segments.
Page content last updated . Spec covers 5 endpoints from guba.eastmoney.com.
Related APIs in FinanceSee all →
xuangu.eastmoney.com API
Search and filter stocks using natural language queries, then refine your results with technical, fundamental, and popularity-based conditions tailored to your investment strategy. Access real-time trending queries, hot stock screening conditions, and community discussions to discover what other investors are watching.
wap.eastmoney.com API
Access real-time stock quotes, historical K-line charts at 1-minute intervals, and tick data for Chinese securities markets and beyond. Search specific securities, retrieve sector performance, view order books, and pull comprehensive stock lists to power your financial analysis and trading applications.
fund.eastmoney.com API
Search and analyze Chinese mutual funds with detailed information including current rankings, historical net asset values, portfolio holdings, and dividend distributions. Track fund performance, compare fund details, and make informed investment decisions using comprehensive fund data from EastMoney.
gurufocus.com API
Access comprehensive financial insights by retrieving article URLs, stock summaries, politician trading activities, and guru investment picks from GuruFocus in one place. Search stocks and discover the latest expert recommendations and news coverage tied to your investments of interest.
stockanalysis.com API
Access comprehensive stock market data including real-time financials, income statements, statistics, and IPO calendars to research individual stocks and identify market movers. Search stocks, view detailed overviews, and monitor premarket activity all in structured, easy-to-use format.
ceo.ca API
Monitor trending stocks, browse popular discussion posts, and read full conversation threads from CEO.ca to stay informed on market discussions and investment opportunities. Get real-time insights into what's being talked about and what stocks are gaining traction on the platform.
sse.com.cn API
Monitor Shanghai Stock Exchange market activity with real-time equity quotes, index performance data, and daily trading statistics. Search for specific securities and view comprehensive market overviews to track stock prices and exchange trends.
marketbeat.com API
Track comprehensive stock market data including real-time overviews, analyst ratings, earnings reports, insider trades, and institutional ownership across thousands of companies. Search stocks, analyze financial statements and profitability metrics, monitor short interest, explore options chains, and stay updated with market headlines and competitor analysis.