← Back to API Ninjas
Look up word definition
Returns a string containing definitions for a given word.
API Ninjas·$0.001 per call
Example code
// Using @orth/sdk - The simplest way to call APIs
// Install: npm install @orth/sdk
import Orthogonal from "@orth/sdk";
const orthogonal = new Orthogonal({
apiKey: process.env.ORTHOGONAL_API_KEY,
});
const output = await orthogonal.run({
api: "api-ninjas",
path: "/v1/dictionary",
query: {
"word": "example"
}
});
console.log(output);Query parameters
wordrequired
string
Word to look up.