API Documentation
Complete API reference. Compatible with Claude Code, Cursor, OpenClaw and more.
Quick Start
2
Make API Requests
Use Bearer token authentication with your API key
3
Pay per Use
Only charged for successful requests.
Base URL
https://applingo.store/api/v1
Authentication
All API requests require a Bearer token in the Authorization header:
Authorization: Bearer YOUR_API_KEY
API Reference
LLM
Language Models
Claude, GPT, Gemini - pay per token
from $0.34/1M tokensEMB
Embedding Models
Text embedding for search and similarity
from $0.12/1M tokensClaude Code
export ANTHROPIC_BASE_URL=https://applingo.store/api export ANTHROPIC_API_KEY=YOUR_API_KEY
Cursor / OpenClaw / Continue
OPENAI_BASE_URL=https://applingo.store/api/v1 OPENAI_API_KEY=YOUR_API_KEY
Messages API (Anthropic)
curl -X POST https://applingo.store/api/v1/messages \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "claude-sonnet-4-6",
"max_tokens": 1024,
"messages": [
{"role": "user", "content": "Hello!"}
]
}'Chat Completions API (OpenAI)
curl -X POST https://applingo.store/api/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "gpt-5.4",
"messages": [
{"role": "user", "content": "Hello!"}
]
}'Error Codes
| Code | Description |
|---|---|
| 200 | Success |
| 400 | Invalid request parameters |
| 401 | Invalid or missing API key |
| 402 | Insufficient balance |
| 404 | Resource not found |
| 429 | Rate limit exceeded |
| 500 | Internal server error |