Prerequisite: You’ll need an account on
Morph to obtain an API key.
Authentication
All Morph API endpoints require authentication using Bearer tokens:- Visit the Morph dashboard
- Create an account or sign in
- Navigate to your API keys section
- Generate a new API key
Base URL
All Morph API endpoints use the following base URL:Test Your API Key
Verify your setup with a simple test request:Alternative Access Methods
You can also access Morph through these platforms:OpenRouter
Access Morph models through OpenRouter’s unified API platform
MCP Integration
Use Morph with Model Context Protocol servers and Claude Desktop
Next Steps
Now that you’ve tested your API key, explore Morph’s specialized models:Apply Model
Apply code changes with precision at 10,500 tokens per second and 98% accuracy
Embedding Model
Generate semantic embeddings optimized for code understanding and search
Rerank Model
Reorder search results by relevance with code-aware ranking algorithms