Skip to main content

Getting Started

1. Get Your API Key

Sign up at platform.xxd.fans to obtain your API key.

2. Make Your First Call

OpenAI GPT:

curl -X POST "https://platform-api.xxd.fans/open/aigw/gateway/v1/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "gpt-4o",
"messages": [{"role": "user", "content": "Hello"}]
}'

Base URL

EnvironmentURL
Productionhttps://platform-api.xxd.fans

Next Steps

Browse the API Reference for complete interactive documentation with auto-generated code examples in multiple languages.