Technical Blog & Updates
Explore the latest tutorials, tips, and platform updates for the Xiaohongshu data API.
Filter by tag 84
Self-Hosted Source Code Is Live: Run the Whole Stack on Your Own Machines
Three server-side packages (app, web, Pugongying) with request signing, device registration, automatic captcha solving and a full automation toolkit. How it differs from the hosted API.
Docs Reorganised: Playground or Swagger UI, and When to Use Which
Endpoints regrouped into two data families, Pugongying split into six sub-sections. Playground for your first hour, Swagger UI while coding — it's generated from code and can't drift.
Pugongying Content Square and Keyword Analytics: Decide What to Say Before Who Says It
Content Square for category-level distribution, keyword/daily to bet on rising rather than high, related for long-tail expansion, and why the live pool is a different pool.
Enterprise: Postpaid Billing, Invoices With Your Company Details, Reconcilable Usage
The three things company procurement gets stuck on — paying in arrears, an invoice with the legal entity on it, and line-by-line usage. Plus what happens if a bill goes unpaid.
Multi-Chain Stablecoin Top-Ups: USDT / USDC / PYUSD on TRC20, ERC20 and Solana
How to pick a chain, why the decimal tail on the amount due must match exactly, why exchange withdrawal fees break matching, and what happens on the wrong network.
Usage Doesn't Add Up? Split Billing by Date and by Endpoint
Locate the anomalous day, find the expensive call pattern, export and reconcile against your own logs — plus three ten-minute checks that nearly always find something.
Build a RedNote Competitor Dashboard from Scratch: One Table, One Cron Job
Questions before fields; a three-layer collect/store/present design; snapshots instead of current values; three metrics that earn their place; and what 50 calls a day costs.
Batch Crawls That Don't Die Halfway: Error Classes, Backoff and Resumability
Split failures into retryable, not-retryable and stop-the-job; back off with a cap; persist progress and flush it; then patch with a second pass. Copyable Python included.
Reading Pugongying Audience Profiles: From Follower Counts to Real Due Diligence
City concentration, age overlap, gender extremes and growth-curve shape — how to read the four Pugongying audience endpoints, plus a screening order that cuts call volume.
Managing API Keys: Per-Environment Split, Rate Limits and Usage Checks
One key for every environment is the most expensive habit there is. Split keys per environment, back off on 429, alert separately on 402, plus three habits that cut spend.