Morse Code is a Morse code translator and decoder API: it converts plain text to Morse code dots and dashes and translates Morse back into text. It provides character counts, dit and dah totals, and validation status, while paid plans add downloadable audio tones.
The Morse Code API provides a simple, reliable way to integrate morse code functionality into your applications. Built for developers who need production-ready morse code capabilities without the complexity of building from scratch.
async function callMorseCodeAPI() {
try {
const requestBody = {
"audio": true,
"text": "This Is A Message"
};
const response = await fetch('https://api.apiverve.com/v1/morsecode', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY_HERE',
'Content-Type': 'application/json'
},
body: JSON.stringify(requestBody)
});
const data = await response.json();
console.log(data);
} catch (error) {
console.error('Error:', error);
}
}
callMorseCodeAPI();curl -X POST "https://api.apiverve.com/v1/morsecode" \
-H "x-api-key: YOUR_API_KEY_HERE" \
-H "Content-Type: application/json" \
-d '{
"audio": true,
"text": "This Is A Message"
}'Get your API key: https://apiverve.com
π For more examples, see the examples folder
Choose your preferred programming language:
npm install @apiverve/morsecodeView NPM Package β | Package Code β
dotnet add package APIVerve.API.MorseCodeView NuGet Package β | Package Code β
pip install apiverve-morsecodeView PyPI Package β | Package Code β
gem install apiverve_morsecodeView RubyGems Package β | Package Code β
composer require apiverve/morsecodeView Packagist Package β | Package Code β
dart pub add apiverve_morsecodeView pub.dev Package β | Package Code β
implementation 'com.github.apiverve:morsecode-api:1.0.0'go get github.com/apiverve/morsecode-api/go| Feature | Benefit |
|---|---|
| Multi-language SDKs | Native packages for JavaScript, Python, C#, Go, and Android |
| Simple Integration | Single API key authentication, consistent response format |
| Production Ready | 99.9% uptime SLA, served from 24 global regions |
| Comprehensive Docs | Full examples, OpenAPI spec, and dedicated support |
- π API Home: Morse Code API
- π API Reference: docs.apiverve.com/ref/morsecode
- π OpenAPI Spec: openapi.yaml
- π‘ Examples: examples/
The Morse Code API is commonly used for:
- Web Applications - Add morse code features to your frontend or backend
- Mobile Apps - Native SDKs for Android development
- Automation - Integrate with n8n, Zapier, or custom workflows
- SaaS Products - Enhance your product with morse code capabilities
- Data Pipelines - Process and analyze data at scale
All requests require an API key in the header:
x-api-key: YOUR_API_KEY_HERE
Get your API key: https://apiverve.com
Every APIVerve endpoint returns the same envelope β check status, then read data:
{
"status": "ok",
"error": null,
"data": { ... }
}A real response from the Morse Code API:
{
"status": "ok",
"error": null,
"data": {
"text": "This Is A Message",
"morse": "- .... .. ... / .. ... / .- / -- . ... ... .- --. . ",
"stats": {
"characters": 17,
"dits": 25,
"dahs": 7
},
"valid": true,
"audio": {
"audioFile": "a11f9d7f-1fd2-4b10-86de-82defaf18c57.wav",
"format": ".wav",
"downloadURL": "https://storage.googleapis.com/apiverve/APIData/morsecode/a11f9d7f-1fd2-4b10-86de-82defaf18c57.wav?GoogleAccessId=635500398038-compute%40developer.gserviceaccount.com&Expires=1765925804&Signature=TiktgUsHV0ipCaRwNNiEihtD5e1SacBHBwWLGvsrnLJTkH%2BH5fRsII5hxk7nEqTypya05Dg4BHTxu672tRU%2Bhb3F8g%2BQYL7u3PMaCHzcnrrpcjSh0hH7%2BWVfEyHxPf5cCuKliISePCOlpbVsU8xtFL8p1DfgTV2FeD8Rmwo3SVpCG4LHpYXJWoZVET2IbS4dZS%2Brn9kvnoBvApgDJgc5EEufOZHYLba6278g0HTgQaOIhdSNhpeSpCwPuSw6q3eK%2FGqzhD5PtzTBMPN1hMvXIZPX11EYRG%2FLbqvltu6gVgbYL5khcG5zQbDse2vXphAys8fMq7PiZSGe1ODf63Gakw%3D%3D",
"duration": "13.20s",
"frequency": "600Hz",
"sampleRate": "8000Hz",
"expires": 1765925804517
}
}
}- π API Home: Morse Code API
- π¬ Support: https://apiverve.com/contact
- π Issues: GitHub Issues
- π Documentation: https://docs.apiverve.com
- π Website: https://apiverve.com
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
For security concerns, please review our Security Policy.
This project is licensed under the MIT License - see the LICENSE file for details.
Built with β€οΈ by APIVerve
Copyright Β© 2026 APIVerve. All rights reserved.