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
Opper
Access Morph models through Opper’s EU-hosted AI gateway
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
WarpGrep
Find relevant code with a search subagent that explores the repo in ~6 seconds