# OATDA — One API to direct all > Unified LLM API platform (text, vision, image, video, audio). > 10+ providers (OpenAI, Anthropic, Google, DeepSeek, Moonshot, ...) behind a single API key. > EU-based. Credit-based pay-as-you-go billing. Min top-up €1. ## Quick Start - Base URL (OpenAI-compat): https://oatda.com/api/v1 - Base URL (Anthropic-compat): https://oatda.com/api/v1/anthropic - Auth header: `Authorization: Bearer $OATDA_API_KEY` - Get an API key: https://oatda.com/dashboard/api-keys - Top up credits (min €1): https://oatda.com/dashboard/credits ## Endpoints (OpenAI-compatible) - POST /api/v1/chat/completions — chat (stream + non-stream) - POST /api/v1/llm — native chat (direct cost in response) - GET /api/v1/models — list models - POST /api/v1/llm/generate-image — image generation (DALL-E, Imagen, ...) - POST /api/v1/llm/generate-video — video generation (MiniMax, Veo, Seedance, ...) - POST /api/v1/llm/speech — text-to-speech - POST /api/v1/llm/transcriptions — audio transcription - POST /api/v1/llm/translations — audio translation - POST /api/v1/llm/image — vision/image analysis - POST /api/v1/compare — compare multiple models in one call ## Endpoints (Anthropic-compatible) - POST /api/v1/anthropic/v1/messages — Messages API (Cline, Claude Code, Aider) - GET /api/v1/anthropic/v1/models ## MCP Server (Streamable HTTP) - URL: https://oatda.com/api/v1/mcp - Transport: Streamable HTTP, JSON-RPC 2.0 (MCP spec) - Auth: `Authorization: Bearer $OATDA_API_KEY` - 9 tools: `chat_completion`, `vision_analysis`, `generate_image`, `generate_video`, `generate_speech`, `transcription`, `translation`, `list_models`, `video_status` - No install required: API key + credits is enough. ## Pricing - Per-model, pay-as-you-go. No subscription, no free tier. - Min top-up: €1. Methods: credit card, PayPal. - JSON catalog: GET /api/v1/llm/models (returns pricing per model; requires `Authorization: Bearer $OATDA_API_KEY`) - Human-readable: https://oatda.com/pricing ## Docs - Full markdown (all 5 locales, EN/DE/ES/FR/IT): https://oatda.com/llms-full.txt - Per-section markdown: GET /api/v1/docs/markdown?sectionId= Sections: gettingStarted, authentication, coreEndpoints, openaiCompatible, anthropicCompatible, extraBody, mcp, skills, useCases, examples, errorHandling - Human docs: https://oatda.com/docs ## Code Examples ```bash # OpenAI-compat chat curl https://oatda.com/api/v1/chat/completions \ -H "Authorization: Bearer $OATDA_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model": "openai/gpt-4o-mini", "messages": [{"role": "user", "content": "hi"}]}' ``` ```bash # Anthropic-compat messages curl https://oatda.com/api/v1/anthropic/v1/messages \ -H "x-api-key: $OATDA_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "Content-Type: application/json" \ -d '{"model": "claude-sonnet-4-20250514", "max_tokens": 1024, "messages": [{"role": "user", "content": "hi"}]}' ``` ## Provider notes - Provider prefix in `model` field (e.g. `openai/gpt-4o-mini`, `anthropic/claude-sonnet-4-20250514`). - Streaming via SSE on all chat endpoints (`stream: true`). - Native endpoint `/api/v1/llm` returns direct cost info in response (simpler for scripts). ## Agent skills (drop-in integration) - **Claude Code plugin**: https://github.com/devcsde/oatda-skills Install: `/plugin marketplace add devcsde/oatda-skills` → browse → Install. 9 skills: text, vision, image, video, video-status, speech, transcribe, translate, list-models. - **OpenClaw skills**: https://github.com/devcsde/oatda-openclaw-skills Install: `clawhub install oatda-text-completion` (and 8 more; see README). - **MCP (Cursor, Cline, Claude Code, etc.)**: https://oatda.com/api/v1/mcp — no install needed. ## Optional [Links]: https://oatda.com/llms-full.txt | https://oatda.com/docs | https://oatda.com/pricing | https://oatda.com/models