# Xiaohongshu Search API (https://www.socialcrawl.dev/platforms/xiaohongshu/search) > Returns Xiaohongshu notes matching a keyword. Each row has a title, a short summary in post.content.text (post.ext.text_truncated is true; the full body is on GET /v1/xiaohongshu/post), the creator, likes, comments, saves, shares and a cover image. Xiaohongshu does not publish view counts, so post.engagement.views is null. Pass the returned cursor to read the next page. TL;DR: `GET /v1/xiaohongshu/search` costs 5 credits per row RETURNED. The call holds `limit x 5` up front and settles down to the rows actually delivered. and returns SocialCrawl's unified JSON schema. Single x-api-key auth, 100 free credits on signup. ## Parameters | Parameter | Required | Description | | --- | --- | --- | | `query` | yes | Search keywords, for example 护肤 or camping. | | `limit` | no | Rows to return, 1 to 20. Default 10. Each row costs 5 credits and you are charged only for rows returned. | | `cursor` | no | Continuation token from a previous response's pagination block. Omit for the first page. | | `sort` | no | Result ordering: relevance, latest, most_liked, most_commented, or most_collected. Default relevance. (relevance \| latest \| most_liked \| most_commented \| most_collected) | | `type` | no | Note type: all, image, or video. Default all. (all \| image \| video) | | `published` | no | Recency window: all, day, week, or half_year. Default all. (all \| day \| week \| half_year) | | `since` | no | Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`. | | `until` | no | Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`. | ## Code example ```bash curl -G "https://www.socialcrawl.dev/v1/xiaohongshu/search" \ --data-urlencode "query=护肤" \ -H "x-api-key: sc_YOUR_API_KEY" ``` See the full Xiaohongshu API: https://www.socialcrawl.dev/platforms/xiaohongshu ## Pricing - Standard endpoints: 1 credit per call - Advanced endpoints: 5 credits per call - Premium endpoints: 10 credits per call - 100 free credits on signup, no credit card required. Cached responses cost 0 credits. Credit packs never expire. - Full pricing: https://www.socialcrawl.dev/pricing