Must-Read for First-Time Users
🔍 Must Read for First-Time Users
Section titled “🔍 Must Read for First-Time Users”The Simplest Usage Flow
Section titled “The Simplest Usage Flow”-
Purchase a redemption code (also called a card number) from the website or an e-commerce platform (Xianyu, Taobao, etc.)
-
After registering and logging in, redeem it into an API KEY (also called a key) on the Token Management or Wallet Management page
-
Use the API URL (also called the API address or request endpoint) + API KEY (also called a token or key) in any software we recommend or any software you already know, after configuring it properly
Usage Flow in One Picture
Section titled “Usage Flow in One Picture”
What API URLs Are Available
Section titled “What API URLs Are Available”1. API Endpoint Domains
Section titled “1. API Endpoint Domains”Currently, the following nodes are available. They may change over time; please refer to the API information shown on the Console or Token Management page.
- https://api.4allapi.com Hong Kong server
- https://api.4allapi.com Shanghai server
- https://api.4allapi.cloud US Silicon Valley server (West Coast)
- https://bjapi.4allapi.cn Beijing server
Our API endpoints are directly accessible from mainland China. However, if your usage scenario requires a VPN or access from outside the country, we recommend https://api.4allapi.cloud as the best option.
2. Full URL Configuration
Section titled “2. Full URL Configuration”- In 99% of cases, just use the domain name or domain name +
/v1
For example: https://api.4allapi.com
or https://api.4allapi.com/v1 (this is the most common case) - For pure HTTP native code written by yourself (non-official SDKs), quick verification with CURL requests, or some unconventional software, you may need to enter the full address, such as:
https://api.4allapi.com/v1/chat/completions (classic OpenAI format, also called compatible format)
https://api.4allapi.com/v1/response (new OpenAI standard format)
https://api.4allapi.com/v1/messages (official Claude API format)
For more full-format examples, see Development Integration Must Read or contact customer support
For more information about token API keys, see Internal Tokens & Independent Tokens
4All API - One-stop AI large model API aggregation platform
Official website: https://4allapi.com
API Base: https://api.4allapi.com