Quick Start Guide
Get up and running with the AXIFI API in 5 minutes. Learn the basics and make your first API call.
Prerequisites
What you need before getting started
1
Create a Developer Account
Sign up at axifi.ai/developers
2
Get Your API Key
Go to your dashboard and generate an API key
3
Choose Your Language
We provide examples in cURL, Python, JavaScript, and TypeScript
Authentication
How to authenticate your requests
All AXIFI API requests require authentication using your API key. Include your API key in the Authorization header as a Bearer token:
Authorization: Bearer YOUR_API_KEYImportant Keep your API key secure! Never share it publicly or commit it to version control.
Base URL
API endpoint
https://api.axifi.aiYour First API Call
Search for compounds in the AXIFI database
curl -X POST https://api.axifi.ai/v1/compounds/search \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "aspirin",
"limit": 10
}'Response Example
What you'll get back from the API
{
"success": true,
"data": [
{
"id": "aspirin-325mg",
"name": "Aspirin",
"dosage": "325mg",
"category": "analgesic",
"efficacy": 0.92,
"sideEffects": ["stomach upset", "bleeding risk"]
}
],
"metadata": {
"total": 1,
"limit": 10,
"offset": 0
}
}