Laalaa Docs

cURL

Raw HTTP — the fastest way to verify a key end-to-end.

Base URL for this toolhttps://api.laalaa.me/v1

Verify a key

bash
curl https://api.laalaa.me/v1/models \  -H "Authorization: Bearer sk-xxxxxxxxxxxx"

Chat request

bash
curl https://api.laalaa.me/v1/chat/completions \  -H "Authorization: Bearer sk-xxxxxxxxxxxx" \  -H "Content-Type: application/json" \  -d '{    "model": "claude-opus-4-8",    "messages": [{"role": "user", "content": "Hello"}]  }'

Streaming

bash
curl -N https://api.laalaa.me/v1/chat/completions \  -H "Authorization: Bearer sk-xxxxxxxxxxxx" \  -H "Content-Type: application/json" \  -d '{    "model": "claude-opus-4-8",    "stream": true,    "messages": [{"role": "user", "content": "Count to five"}]  }'

Anthropic-style

bash
curl https://api.laalaa.me/v1/messages \  -H "x-api-key: sk-xxxxxxxxxxxx" \  -H "anthropic-version: 2023-06-01" \  -H "Content-Type: application/json" \  -d '{    "model": "claude-opus-4-8",    "max_tokens": 1024,    "messages": [{"role": "user", "content": "Hello"}]  }'

Other tools

ទំព័រនេះមានប្រយោជន៍?