NO PRICING API FREE AND PUBLIC
Basic
$9/mo
- 1,000 API calls
- Basic support
- 99.9% uptime
Popular
Pro
$29/mo
- 10,000 API calls
- Priority support
- 99.99% uptime
- Advanced features
Enterprise
Custom
- Unlimited API calls
- 24/7 support
- 99.999% uptime
- Custom features
Documentation
Getting Started
Welcome to Nexus Labs API documentation. Here's everything you need to know on our api.
Base URL
http://api.astral.ftp.sh:1407/
http://api.astraltech.org:1407//
Chat Endpoint
Send chat messages to the AI and receive responses.
GET /ai?chat={message}
// Example request
fetch('http://api.astral.ftp.sh:1407/ai?chat=' + encodeURIComponent('Hello'))
.then(response => response.text())
.then(data => console.log(data));
Parameters
| Parameter | Type | Description |
|---|---|---|
| chat | string | The message to send to the AI |
Response
The API returns the AI's response as Almost like json Text.
Rate Limits
The API is rate limited based on your plan:
- FREE:
- Requests Per Minute: 30
Error Handling
The API uses standard HTTP response codes:
- 200: Success
- 429: Too Many Requests
- 413: rate limited
- 500: Server Error
API Reference
Complete reference for all NexusAI API endpoints and features.
Authentication
ALL API usage is free no Cost to use:
ALL OF THIS IS CURRENTLY GETTING IMPLEMENTED
Chat API
POST /v1/chat/completions
Generate chat completions from the AI model.
{
"model": "nexus-3",
"messages": [
{"role": "user", "content": "Hello!"}
],
"temperature": 0.7
}
GET /v1/models
List available AI models.
[
{
"id": "nexus-3",
"type": "chat",
"capabilities": ["text", "code"]
}
]
Rate Limits
| Plan | Requests/min | Tokens/request |
|---|---|---|
| Basic | 60 | 4,096 |
| Pro | 120 | 8,192 |
Error Codes
| Code | Description |
|---|---|
| 401 | Invalid API key |
| 429 | Rate limit exceeded |
| 500 | Internal server error |
System Status
All Systems Operational
API Endpoint
100.00% uptime
Status
Checking status...
Fetching uptime...
Analytics
Fetching usage data...
Fetching stats...
Checking latency...
Fetching meta information...
Hi! I'm NexusAI, your AI assistant. How can I help you today?
•••