How to fetch Toutiao article info by post ID
Fetch a Toutiao article's supplier JSON by post ID and review the returned status fields
On this page
You have 25 Toutiao post IDs from a breaking-news sweep and need to check each article's returned status before adding it to a citation table. Fetch one article per group_id, record the status fields, and keep only the items that match your review criteria. The table feeds an editor's source shortlist
The worksheet is the deliverable: one row per post ID, with the raw status fields and your keep or drop decision. The table below is a design, not a batch result. Values here are placeholders showing the shape
The 25-row status worksheet
Design the sheet with these columns. Values here are placeholders showing the shape
| group_id | data.delete | data.dataType | data.itemCell.articleBase.itemStatus | Decision |
|---|---|---|---|---|
| (post ID) | (integer or empty) | (integer or empty) | (integer or empty) | keep or drop |
Use the same group_id you send in the request as the row key. A missing field is not a zero; leave the cell empty and record why the row cannot be judged. The decision column is yours to fill after you set review criteria for the returned integers
A row with an empty status field stays in the worksheet as an unresolved item. It does not go into the editor's shortlist until someone checks the missing key by hand
Input: one post ID per call
tikhub.toutiao.app.get_article_info takes query.group_id, the Toutiao post ID. Get the ID from a Toutiao article URL or an existing post list. The contract shows the tool is called through POST /v1/runs with toolId tikhub.toutiao.app.get_article_info once; use the tool id when you ask the agent to run it
Example input, which the reader replaces: 6667679763472220679
The contract requires the query object and group_id inside it, and group_id is typed as a string. Before a batch, make a single call and inspect the current input card and price. The first response is also the field map for the rest of the batch
For a breaking-news sweep, use the post ID from the article URL rather than the headline. The same ID is the join key between the request and the worksheet
Reading the status fields
Record data.delete, data.dataType and data.itemCell.articleBase.itemStatus from each response. The contract lists each as an integer in the observed shape. A value such as 1 or 0 is a returned value, not a verdict; the contract does not assign a keep or drop meaning to those integers, so your review criteria must decide that
The contract says supplier-defined JSON data is preserved without the billing/debug envelope, so the response may look different from other tools
Limit for this step: the output is supplier JSON with no fixed schema, and keys beyond the observed sample may be missing. If data.itemCell.articleBase.itemStatus is absent, do not infer it from another field. Leave the cell empty and note the missing key
What one real call returned
A real call was made on 2026-11-13. Input sent: {"query": {"group_id": "6667679763472220679"}}. Billing status was SETTLED, and the call charged 0.001 USD against a ceiling of 0.001 USD. The top-level keys of data were delete, dataType and itemCell. In that response, data.delete was 1 and data.dataType was 0
The agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to fetch Toutiao article info for 25 post IDs. Check the current inputs and price of tikhub.toutiao.app.get_article_info before running anything. Call the tool once per post ID with query.group_id set to the ID. Read the field names from the first response, then return a table with group_id, data.delete, data.dataType, data.itemCell.articleBase.itemStatus and a decision column. Leave a cell empty when the field is missing. Do not guess missing values.
Replace this example input with your 25 IDs:
6667679763472220679Estimated tool cost
Cost tables here are ceilings, not settled charges. The catalog lists a fixed per-call price of $0.001 per call and says "Fixed per-call price; successful empty results are charged." The max_call unit means "Maximum per call. Successful runs settle at the actual AnyAPI charge." Model fees for the agent are not counted
| Step | Formula | Unit price | Planned quantity | Total |
|---|---|---|---|---|
| Single article | calls x per-call price | $0.001 per call | 1 | $0.001 |
| 25-article batch | calls x per-call price | $0.001 per call | 25 | $0.025 |
Successful empty results are charged, so a row with an empty result still counts as one call
The single-article step is a smoke test. If it returns a usable field set, run the 25-call batch; if it does not, adjust the worksheet before the batch
Next action
Open the Toutiao article info tool page, check the current input card and price, then run the first single article before the 25-row batch. Replace the example post ID with one from your list
Get started by giving this to your agent
- Claude Code
- Codex
- Gemini CLI
- Cursor
- GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with Toutiao.FAQ
How do I fetch Toutiao article info by post ID?
Call tikhub.toutiao.app.get_article_info with query.group_id set to the Toutiao post ID. Read the field names from the first response before mapping the worksheet.
What input does the Toutiao article info tool take?
It takes a query object with group_id, the Toutiao post ID. Get the ID from a Toutiao article URL or an existing post list.
Which fields should I record for each Toutiao post ID?
Record group_id, data.delete, data.dataType and data.itemCell.articleBase.itemStatus. The worksheet uses these fields for the keep or drop decision.
What if a returned status field is missing?
The output is supplier JSON with no fixed schema, and keys beyond the observed sample may be missing. Leave the cell empty and note the missing key instead of inferring a value.
How much does a 25-article batch cost?
At $0.001 per call, 25 calls have a planned total of $0.025. Successful empty results are charged.
What did the real call on 2026-11-13 return?
The call used the example post ID and settled at $0.001 against a $0.001 ceiling. The top-level data keys were delete, dataType and itemCell, with data.delete at 1 and data.dataType at 0.
Does a successful empty result cost anything?
A successful empty result is charged. The catalog says 'Fixed per-call price; successful empty results are charged.' The price is $0.001 per call.
Next step
Try this with Toutiao
The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.