Anatomy of an API Call
Click any line to see what it does. Two headers, three data sources, one response — this is how open credentials become apps.
{
"data": [{
"course_id": "bafebb4c...",
"course_title": "Andamio Pioneers",
"is_enrolled": true,
"enrollment_status": "completed",
"claimed_credentials": ["d062..."],
"modules": [{
"slt_hash": "d062...",
"course_module_code": "intro",
"title": "What is Andamio?"
}],
"source": "merged"
}]
}
Tap any line above to see what it does
The Endpoint
POST /api/v2/course/student/credentials/list
This endpoint lists the course credentials a student has earned.
Credentials consist of on-chain and off-chain data.
Andamio API returns data combining both.
Your App's Identity
X-API-Key: ant-dk_7f3a9b...
The API key identifies your application, not your user. It identifies who built this app and what tier of access they have.
Andamio uses it to apply rate limits, track usage, and enforce quota — all based on your app's tier.
The ant-dk_ prefix means this is a developer key. Your app can serve thousands of users through a single key — each user is identified separately via their authorization token.
How you get one
The User's Identity
Authorization: Bearer eyJhbGci...
The Andamio authorization token (a JWT) identifies the human. It's issued when a user logs in with their Cardano wallet, proving they control the private key behind their on-chain identity.
How the user gets this token
Inside the token
This is the key insight: your app never touches the user's private key. The wallet signs a challenge, Andamio issues a token, and every subsequent request carries proof of identity without exposing secrets.
The Merged Response
"source": "merged"
Every response includes a source field that tells you where the data came from.
"merged"
"chain_only"
"db_only"
Two headers. A new kind of app.
Most APIs have one identity: yours. Andamio has two, and that changes everything.
Traditional SaaS
One API key. Your app owns the user's data. Credentials live in your database.
Raw Blockchain
User signs everything directly. No app layer. Hard to build products on top of.
Andamio
Your app has its own identity and the user keeps theirs. Credentials are on-chain. Your app reads them through Andamio API.
Ready to build?
Get your API key, explore the reference, and start building on open credentials.