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
10d ago
Try it
Page number for pagination
Stock code including leading zeros (e.g., '600519' for Guizhou Moutai, '000001' for Ping A
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 →
cmegroup.com API
Get CME Group market data including FedWatch interest-rate probabilities, futures quotes and settlements, volume/open interest history, and options expirations and near-the-money option chains.
blur.io API
Access NFT collection data on Blur.io, including floor prices, best bids, listed tokens, and recent activity. Authenticate with an Ethereum wallet to place collection bids and retrieve portfolio holdings.
immobiliare.it API
Search Italian property listings for sale or rent, browse real estate agencies, and explore price trends across Italian cities — all via immobiliare.it.
etoro.com API
Monitor top eToro traders by accessing their profiles, portfolio holdings, performance statistics, and trading history to inform your investment decisions. Discover trending stocks and cryptocurrencies, search for specific instruments, and view detailed market data and news to stay updated on investment opportunities.
blackrock.com API
Access comprehensive BlackRock iShares ETF data to research fund performance, holdings, fees, and sector allocations, plus search and compare specific ETFs. Monitor investment details like distributions, key characteristics, and broad market indices all in one place.
morningstar.com.au API
Access comprehensive financial data for Australian stocks, ETFs, and managed funds including key metrics, valuations, dividends, and historical prices. Search securities, review company profiles and ownership details, and stay informed with market news and upcoming dividend information.
eprocurement.gov API
Monitor India's public procurement opportunities by accessing active tenders, bids closing today, global tenders, high-value contracts, and cancelled tenders from the Central Public Procurement Portal. Search tender details, browse participating organizations, and track real-time procurement statistics to stay informed on government contracting opportunities.
studio.glassnode.com API
Access comprehensive on-chain and market analytics for cryptocurrencies, including asset fundamentals, supply dynamics, futures data, and profit/loss metrics. Search and analyze assets with historical chart data and market overview information to track crypto performance and trends.