Xiaohongshu (RedNote) Share Link Resolver API
Resolve Xiaohongshu (RedNote / 小红书) share links via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by JustOneAPI, pass parameters such as shareUrl, and retrieve structured data including resolved destination URL to normalize shared references, prepare note retrieval, and deduplicate a reading queue, ready for production pipelines and AI agent automation.
- Selected price
- $0.023077 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
Xiaohongshu (RedNote) Share Link Resolver API
Prepare your request, then continue with your agent.
Selected price
$0.023077 / call
- Provider
- Pricing
On this page
Overview
Xiaohongshu (RedNote) Share Link Resolver API
Send a supported xhslink.com URL in the shareUrl query parameter. The response returns data.redirect_url with a business status code; retrieve note content separately when your workflow needs it.
Quick Facts
| Fact | Value |
|---|---|
| Platform | xiaohongshu |
| Access Methods | REST / OpenAny MCP |
| Pricing Model | Pay per call; see Selected price |
| Authentication | OpenAny API key |
| Core Inputs | shareUrl: supported xhslink.com URL |
| Selected Implementation | JustOneAPI |
| Available Providers | JustOneAPI |
| Returned Data | Resolved destination URL; Business status, separate from HTTP status |
What You Can Build with the Xiaohongshu (RedNote) Share Link Resolver API
- Normalize shared references: Resolve short URLs before storing a canonical source reference.
- Prepare note retrieval: Inspect the destination and obtain the required note input for a separate details call.
- Deduplicate a reading queue: Compare resolved destinations while preserving the original source mapping.
Pass returned records to a downstream Agent for organization, comparison or reporting; additional data retrieval is a separate operation.
Xiaohongshu (RedNote) Share Link Resolver API Returned Data Fields & Response Coverage
The payload returns data.redirect_url, while code, message and recordTime describe the response status. message and recordTime can be null; use the destination URL for the next step in your workflow.
| Field | Meaning |
|---|---|
data.redirect_url |
Resolved destination URL |
code |
Business status, separate from HTTP status |
For content discovery, inspect the Xiaohongshu Note Search API.
Quick Start: Call the Xiaohongshu (RedNote) Share Link Resolver API via REST
- Configure OPENANY_API_KEY securely in your local environment and select JustOneAPI.
- Set XHS_SHARE_URL locally to the supported share link you want to resolve.
- Check Selected price before running the command; execution sends a real request under the current contract.
curl --request GET \
"https://api.openany.si/v1/agent-apis/justoneapi/api/xiaohongshu/share-url-transfer/v1" \
--header "Authorization: Bearer ${OPENANY_API_KEY}" \
--get \
--data-urlencode "shareUrl=${XHS_SHARE_URL}"
Understanding Response Examples
| Example | Provenance and scope |
|---|---|
| Official example · Historical response; independent request | Historical response supplied in the catalog; the request is an independent template, not a paired observed call. |
Use the documented request as a calling template; consult the public API contract and the actual response for fields and status.
Connect AI Agents via OpenAny MCP
Connect to https://mcp.openany.si, discover with search_apis, then read the current contract and api_version with get_api. Use run_api only after approval of inputs, price and call count; keep the key in secure client configuration.
Agent prompt: Resolve my supported Xiaohongshu short share URL using the JustOneAPI contract. Show the current cost and request execution approval first, then return the resolved destination with sensitive query values masked; do not fetch note content automatically.
Pricing & Billing Rules
- No subscription; check the selected implementation’s contract and Selected price for the current amount and unit.
- Browsing, preparing inputs and viewing examples do not execute the API; curl and run_api do.
- Extra pages, retries and chained requests are separate executions; review their billing and spending limit first.
Frequently Asked Questions
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
justoneapiCurrent Xiaohongshu (RedNote) Share Link Resolver API · GET · View API reference | $0.023077 / call | 0 | —successP50— |
- Unit price
- $0.023077
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 5. Price update time: not supplied.
Total $2.3077
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/justoneapi/api/xiaohongshu/share-url-transfer/v1- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
shareUrl | URL query parametersquery | string | Yes | A Xiaohongshu (RedNote) short share URL beginning with http://xhslink.com/ or https://xhslink.com/. |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
codeintegerdataobjectredirect_urlstring
messagenullrecordTimenull
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example · Historical response; independent request temp
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 1
Review these request fields before running. Keep the published provider and request method unchanged.
shareUrl- A Xiaohongshu (RedNote) short share URL beginning with http://xhslink.com/ or https://xhslink.com/.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/justoneapi/api/xiaohongshu/share-url-transfer/v1?shareUrl=%3CREPLACE_SHAREURL%3E' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "code": 0, "data": { "redirect_url": "https://www.xiaohongshu.com/discovery/item/630c7446000000000900e794?app_platform=ios&app_version=9.17.2&share_from_user_hidden=true&xsec_source=app_share&type=normal&xsec_token=CBUR7MS4QW_mp_BOBVLhjRDIlrI0ByhntI06Z0yOK6y84=&author_share=1&xhsshare=CopyLink&shareRedId=ODlEMkhHRTs2NzUyOTgwNjg6OTlFPDlM&apptime=1768400394&share_id=e38a8c6690984d19b88269c59e5833f1" }, "message": null, "recordTime": null }