Sina APIsina.com ↗
Access Sina.com.cn news feeds and full article content via two endpoints. Returns titles, categories, publish times, media sources, and full text.
What is the Sina API?
The Sina.com API provides two endpoints — get_news_feed and get_article_detail — for retrieving news data from one of China's largest news portals. get_news_feed returns up to 50 articles per call with seven fields including module, title, media source, publish time, thumbnail, and article URL. get_article_detail resolves any article URL from the feed into its full text content, category, and timestamp.
curl -X GET 'https://api.parse.bot/scraper/8afc9d35-2acd-4b1c-b181-04e287fad953/get_news_feed?category=sina_all' \ -H 'X-API-Key: $PARSE_API_KEY'
Typed, relational, agent-ready
A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.
- Fully typed · autocompletes
- Objects link to objects
- Typed errors & pagination
Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:
uv add parse-sdk uv run parse init uv run parse add --marketplace sina-com-api
uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.
"""Walkthrough: Sina News SDK — browse the feed, then drill into full articles."""
from parse_apis.sina_com_api import SinaNews, ArticleNotFound
client = SinaNews()
# Browse the latest news feed, capped at 5 items total.
for summary in client.article_summaries.list(limit=5):
print(summary.title, "|", summary.media, "|", summary.module)
# Drill into the first article for its full content.
summary = client.article_summaries.list(limit=1).first()
if summary is not None:
article = summary.details()
print(article.title)
print(article.content[:200])
print("Published:", article.publish_time)
# Point lookup by URL when you already have one.
try:
detail = client.articles.get(article_url="https://news.sina.com.cn/w/2026-08-14/doc-ininfrtx2974199.shtml")
print(detail.title, detail.module)
except ArticleNotFound:
print("Article no longer available")
print("exercised: article_summaries.list / details / articles.get")
Fetch a paginated news feed from Sina homepage recommendation. Returns articles with module (category), title, media source, publish time, thumbnail, and article URL. Use the returned url field with get_article_detail to fetch full content. Each call returns up to 50 articles.
| Param | Type | Description |
|---|---|---|
| limit | integer | Number of articles to return per page. Clamped to 1-50. |
| offset | integer | Pagination offset. Start at 0 for the first page. |
| category | string | Category filter for the feed. Use sina_all for all categories. |
{
"type": "object",
"fields": {
"offset": "integer current offset",
"articles": "array of article objects with doc_id, module, title, media, publish_time, url, thumbnail",
"total_returned": "integer count of articles returned"
},
"sample": {
"data": {
"offset": 0,
"articles": [
{
"url": "https://news.sina.com.cn/w/2026-08-14/doc-ininfrtx2974199.shtml",
"media": "央视",
"title": "伊朗划“红线” 美军组特遣队 海峡博弈再度升级",
"doc_id": "ininfrtx2974199",
"module": "新闻中心_国际",
"thumbnail": "https://n.sinaimg.cn/spider20260814/428/w737h491/20260814/920c-c1f2e7750ff1b29a4fecd346ee50e033.jpg",
"publish_time": "2026-08-13 22:22:38"
}
],
"total_returned": 45
},
"status": "success"
}
}About the Sina API
Feed Retrieval
get_news_feed returns paginated articles from Sina's homepage recommendation feed. Each article object includes doc_id, module (the category or channel), title, media (the publishing outlet), publish_time, url, and thumbnail. Use the limit parameter (1–50) and offset to page through results. The optional category parameter filters by topic area; pass sina_all to fetch across all categories. The total_returned field in the response tells you how many articles came back in the current page.
Article Detail
get_article_detail accepts a single required parameter — article_url — taken directly from the url field in a get_news_feed response. It returns the full article content as plain text alongside title, doc_id, module, publish_time, and the resolved url. This is the only endpoint that exposes body text; the feed endpoint returns metadata only.
Coverage and Pagination
Sina.com.cn publishes news across finance, technology, sports, entertainment, and general news in Simplified Chinese. The feed reflects Sina's homepage recommendation layer, not every section of the site. Pagination is offset-based: increment offset by your limit value to advance pages. There is no cursor or token to track between requests.
The Sina API is a managed, monitored endpoint for sina.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when sina.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.
This isn't an official sina.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.
Will this API break when the source site changes?+
Is this an official API from the source site?+
Can I fix or extend this API myself if I need a new endpoint or field?+
What happens if I call an endpoint that has an issue?+
- Aggregate Chinese-language news headlines with source attribution using the
mediaandtitlefields - Monitor specific Sina news categories by filtering
get_news_feedwith thecategoryparameter - Build a news digest tool that pairs feed metadata with full article text from
get_article_detail - Track publish cadence for a topic by comparing
publish_timevalues across paginated feed results - Extract article thumbnails for a media-rich news dashboard using the
thumbnailfield - Compile a dataset of Sina article URLs and
doc_idvalues for downstream content analysis - Identify which media outlets publish most frequently on Sina by aggregating the
mediafield
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 200 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 100 req/min |
| Team | $300/mo | 20,000 | 300 req/min |
| Company | $1,000/mo | 100,000 | 500 req/min |
Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does Sina.com have an official developer API?+
What does `get_news_feed` return versus `get_article_detail`?+
get_news_feed returns article metadata: doc_id, module, title, media, publish_time, thumbnail, and url — but no body text. get_article_detail takes one of those URLs and returns the full content field along with the same core metadata fields. You need both endpoints to get headline data and article text together.Are comments, social share counts, or author profiles available?+
How does pagination work in `get_news_feed`?+
offset to 0 for the first page, then increment by your chosen limit value (up to 50) for each subsequent page. The response includes total_returned to confirm how many articles came back, but there is no total count field indicating how many articles exist overall.Does the API cover Sina sub-sites like Sina Finance or Sina Sports specifically?+
category filter controls topic segmentation within the main feed. You can fork this API on Parse and revise it to target specific Sina sub-site feeds.