cloud inference⏱10 minutes
Get Started with Algorithmia
Quick Summary
“Marketplace for algorithms and data APIs with client libraries.”
Best for: Developers needing quick access to machine learning algorithms
Time to first integration: 10 minutes
📋Prerequisites
- ✓Node.js 18+ installed
- ✓A Algorithmia account — sign up here
- ✓An existing project (Next.js, React, or Node.js recommended)
Setup Steps
3 steps1
1
Install the client library
Install the Algorithmia client library using npm.
bash
npm install algorithmia2
2
Initialize the client
Initialize the Algorithmia client with your API key.
typescript
const client = Algorithmia.client('YOUR_API_KEY');3
3
Call an algorithm
Use the client to call an algorithm from the marketplace.
typescript
client.algo('algo://demo/Hello/0.1.1').pipe('Hello, World!').then(console.log);Common Gotchas
Watch out for these issues in your first week.
API key not set correctly
Fix: Ensure the API key is correctly initialized in the client setup.
Algorithm versioning issues
Fix: Specify the correct version of the algorithm when making API calls.