# 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.

Documentation: https://openany.si/market/apis/xiaohongshu/xiaohongshu-rednote-share-link-resolution-api-v1/
API ID: 6cb44574-ff2d-40f9-903d-b113168f507a
Provider: justoneapi
Contract revision: 5
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/justoneapi/api/xiaohongshu/share-url-transfer/v1
Page update time: 2026-12-03T01:54:35.421Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.023077 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T01:54:35.421Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "23077",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Xiaohongshu (RedNote) Share Link Resolver API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "shareUrl": {
          "type": "string",
          "description": "A Xiaohongshu (RedNote) short share URL beginning with http://xhslink.com/ or https://xhslink.com/."
        }
      },
      "required": [
        "shareUrl"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "code": {
      "type": "integer"
    },
    "data": {
      "type": "object",
      "properties": {
        "redirect_url": {
          "type": "string"
        }
      }
    },
    "message": {
      "type": "null"
    },
    "recordTime": {
      "type": "null"
    }
  }
}
```

## Request example
Scenario: Official example · Historical response; independent request temp
```bash
curl \
  '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'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "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
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
