API Reference
API Reference
CryptGPT exposes an OpenAI-compatible API. Use it as a drop-in replacement for any OpenAI client library.
Base URL
https://cryptgpt.co/v1Authentication
All requests require an API key in the Authorization header:
curl -X POST https://cryptgpt.co/v1/chat/completions \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model": "gemma-4-26b", "messages": [{"role": "user", "content": "Hello"}]}'Endpoints
Chat Completions
POST /v1/chat/completions
Creates a model response for the given chat conversation.
Models
GET /v1/models
Lists available models.
Health
GET /health
Returns system health status. No authentication required.