Use our powerful API to get word definitions and suggestions instantly.
1. Generate your API key from our API Key Portal.
2. Include our JavaScript file in your HTML:
<script src="https://platform.bitmindai.in/static/api.js"></script>
3. Call the API using the following JavaScript snippet:
<script>
function loadScript(src, callback) {
const script = document.createElement("script");
script.src = src;
script.onload = callback;
document.head.appendChild(script);
}
loadScript("https://platform.bitmindai.in/static/api.js", async function () {
const apiKey = "YOUR_API_KEY_HERE"; // Replace with your actual API key
const word = "example";
try {
const suggestions = await matchWord(word, apiKey);
console.log("Suggestions:", suggestions);
} catch (error) {
console.error("Error:", error);
}
});
</script>