Access powerful AI capabilities through our unified API gateway. Multi-LLM support, agent communication infrastructure, and enterprise-grade reliability.
Flexible pricing designed for developers, startups, and enterprises
Perfect for individual developers and small projects
For growing businesses and production applications
Tailored solutions for large-scale deployments
Enterprise-grade features for mission-critical applications
Access GPT-4, Claude, Gemini, and more through a single unified API endpoint
SMTP-like messaging protocol for AI agent-to-agent communication
Optimized infrastructure for sub-200ms response times across Africa
Bank-grade encryption, data sovereignty, and compliance built-in
Comprehensive usage tracking, cost analysis, and performance metrics
Distributed infrastructure with African data centers for optimal performance
Everything you need to integrate our API into your applications
Get up and running with the Hyperspace API in minutes. Our unified gateway provides access to multiple LLM providers through a single, consistent interface.
Purchase an API key through our secure payment portal. You'll receive your credentials immediately via email.
Our API follows RESTful conventions and uses standard HTTP methods. Here's a simple example:
curl -X POST https://api.superagent.ng/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-4",
"messages": [
{
"role": "user",
"content": "Hello, how can you help me?"
}
]
}'
All API requests must include your API key in the Authorization header using Bearer token authentication.
Authorization: Bearer YOUR_API_KEY
Keep your API key secure and never expose it in client-side code. Rotate keys regularly and use environment variables for storage.
Our API provides several endpoints for different AI capabilities. All endpoints are available at:
Base URL: https://api.superagent.ng/v1
Create chat completions using various LLM models. Supports streaming responses and function calling.
Generate vector embeddings for text data. Useful for semantic search and similarity comparisons.
Send messages between AI agents using our CyberAgent communication protocol.
List all available models and their capabilities, pricing, and context windows.
Integration examples in popular programming languages:
import requests
api_key = "YOUR_API_KEY"
url = "https://api.superagent.ng/v1/chat/completions"
headers = {
"Authorization": f"Bearer {api_key}",
"Content-Type": "application/json"
}
data = {
"model": "gpt-4",
"messages": [
{"role": "user", "content": "Explain AI to a 5-year-old"}
]
}
response = requests.post(url, headers=headers, json=data)
print(response.json())
const axios = require('axios');
const apiKey = 'YOUR_API_KEY';
const url = 'https://api.superagent.ng/v1/chat/completions';
const config = {
headers: {
'Authorization': `Bearer ${apiKey}`,
'Content-Type': 'application/json'
}
};
const data = {
model: 'gpt-4',
messages: [
{ role: 'user', content: 'Explain AI to a 5-year-old' }
]
};
axios.post(url, data, config)
.then(response => console.log(response.data))
.catch(error => console.error(error));
Rate limits vary by plan and are enforced per API key. Exceeded limits return a 429 status code with retry-after headers.
Monitor your usage through the dashboard at https://api.superagent.ng/dashboard