XuanShu API
What is the XuanShu API Base URL?
OpenAI-compatible SDKs use https://www.xuanshuapi.com/v1; native Claude and Gemini paths start at the site root.
Last verified:
What is the XuanShu API Base URL?
OpenAI-compatible SDKs use https://www.xuanshuapi.com/v1; native Claude and Gemini paths start at the site root.
Steps
- Identify the protocol used by the client.
- Use /v1 for OpenAI SDKs and follow the Claude Messages or Gemini v1beta guide for native paths.
- Verify the path with Models or a minimal request.
Limits and exceptions
Do not append /v1 twice; SDKs differ in whether their baseURL option adds a version prefix.