API
Developer API Documentation
Allows an authenticated user to create a new AI agent with specified configurations.
Payload for creating a new agent.
The UUID of the agent type to create.
Name for the new agent.
Optional description for the agent.
Agent created successfully. Returns the new agent object.
Bad Request - Missing required fields or invalid data.
Unauthorized - Authentication failed.
Not Found - The specified agent_type_id does not exist.
Internal Server Error.
POST /api/agents HTTP/1.1
Host: localhost:3001
x-wallet-address: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 272
{
"agent_type_id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"configuration": {
"serviceType": "qeye_image_generation",
"model": "qeye-one",
"promptPrefix": "A vibrant oil painting of: ",
"imageSize": "1024x1024",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
{
"agent_id": "123e4567-e89b-12d3-a456-426614174000",
"user_wallet_address": "text",
"agent_type_id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"configuration": {
"serviceType": "qeye_image_generation",
"model": "qeye-one",
"promptPrefix": "A vibrant oil painting of: ",
"imageSize": "1024x1024",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"created_at": "2025-08-06T18:54:01.202Z",
"updated_at": "2025-08-06T18:54:01.202Z"
}
A list of agents owned by the user.
Unauthorized.
Internal Server Error.
GET /api/agents/my-agents HTTP/1.1
Host: localhost:3001
x-wallet-address: YOUR_API_KEY
Accept: */*
[
{
"agent_id": "123e4567-e89b-12d3-a456-426614174000",
"user_wallet_address": "text",
"agent_type_id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"configuration": {
"serviceType": "qeye_image_generation",
"model": "qeye-one",
"promptPrefix": "A vibrant oil painting of: ",
"imageSize": "1024x1024",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"created_at": "2025-08-06T18:54:01.202Z",
"updated_at": "2025-08-06T18:54:01.202Z"
}
]
ID of the agent to retrieve.
Details of the specified agent.
Agent not found.
Internal Server Error.
GET /api/agents/{agentId} HTTP/1.1
Host: localhost:3001
x-wallet-address: YOUR_API_KEY
Accept: */*
{
"agent_id": "123e4567-e89b-12d3-a456-426614174000",
"user_wallet_address": "text",
"agent_type_id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"configuration": {
"serviceType": "qeye_image_generation",
"model": "qeye-one",
"promptPrefix": "A vibrant oil painting of: ",
"imageSize": "1024x1024",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"created_at": "2025-08-06T18:54:01.202Z",
"updated_at": "2025-08-06T18:54:01.202Z"
}
ID of the agent to run.
Agent run initiated or completed. Response structure depends on the agent.
Bad Request.
Unauthorized.
Agent not found.
Internal Server Error.
POST /api/agents/{agentId}/run HTTP/1.1
Host: localhost:3001
x-wallet-address: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 52
{
"userInput": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
{
"message": "text",
"agentId": "123e4567-e89b-12d3-a456-426614174000",
"agentName": "text",
"serviceUsed": "123e4567-e89b-12d3-a456-426614174000",
"result": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
Performs a comprehensive analysis of a token using on-chain data and AI insights.
The contract address of the token.
0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
The hexadecimal chain ID (e.g., '0x1' for Ethereum).
0x1
Specific analyses to run (e.g., 'volume_stats', 'ai_summary').
["general_ai_info","volume_stats"]
The DEX pair address if requesting pair-specific stats.
0xb4e16d0168e52d35cacd2c6185b44281ec28c9dc
Successful analysis. Returns a detailed report.
Bad Request.
Unauthorized.
Internal Server Error.
POST /api/analytics/analyze-token HTTP/1.1
Host: localhost:3001
x-wallet-address: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 187
{
"tokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"chainId": "0x1",
"analysisTypes": [
"general_ai_info",
"volume_stats"
],
"pairAddress": "0xb4e16d0168e52d35cacd2c6185b44281ec28c9dc"
}
{
"tokenAddress": "text",
"chainId": "text",
"fetchedAt": "2025-08-06T18:54:01.202Z",
"metadata": {
"name": "text",
"symbol": "text",
"decimals": "text",
"address": "text",
"logo": "text",
"market_cap": "text",
"token_age_in_days": "text"
},
"price": {
"usdPrice": 1,
"usdPriceFormatted": "text",
"volume24h": "text",
"exchangeName": "text"
},
"tokenAnalytics": {
"recentTransfers": [
{
"from": "text",
"to": "text",
"value": "text",
"block_timestamp": "2025-08-06T18:54:01.202Z",
"transaction_hash": "text"
}
],
"dexPairStats": {
"pairAddress": "text",
"token0Price": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"token1Price": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"usdPrice": 1,
"totalLiquidityUsd": "text",
"pricePercentChange": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"buys": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"chartData": {
"priceHistory": [
{
"date": "text",
"price": 1
}
],
"holderDistribution": [
{
"name": "text",
"value": 1
}
]
}
},
"aiInsights": {
"generalInfo": "text",
"summary": "text",
"volumeAnalysis": "text",
"sniperActivityAssessment": "text",
"profitableWalletsInfo": "text",
"dexPairAnalysis": "text"
},
"crustLink": "text",
"exportedFileName": "text"
}
A list of available agent types.
Internal Server Error.
GET /api/agent-types HTTP/1.1
Host: localhost:3001
x-wallet-address: YOUR_API_KEY
Accept: */*
[
{
"agent_type_id": "123e4567-e89b-12d3-a456-426614174000",
"type_name": "text",
"description": "text",
"service_type": "text",
"default_configuration": {
"serviceType": "qeye_image_generation",
"model": "qeye-one",
"promptPrefix": "A vibrant oil painting of: ",
"imageSize": "1024x1024",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"needs_api_key": false,
"config_fields": [
{}
]
}
]
Summary statistics for the authenticated user.
Unauthorized.
Internal Server Error.
GET /api/statistics/user-summary HTTP/1.1
Host: localhost:3001
x-wallet-address: YOUR_API_KEY
Accept: */*
{
"totalAgents": 1,
"activeAgents": 1
}
Array of daily activity data.
Unauthorized.
Internal Server Error.
GET /api/statistics/daily-agent-activity HTTP/1.1
Host: localhost:3001
x-wallet-address: YOUR_API_KEY
Accept: */*
[
{
"date": "2025-08-06",
"runs": 1,
"errors": 1
}
]
Number of recent activities to fetch.
5
A list of recent activities.
Invalid limit parameter.
Unauthorized.
Internal Server Error.
GET /api/activities/recent HTTP/1.1
Host: localhost:3001
x-wallet-address: YOUR_API_KEY
Accept: */*
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"time": "2025-08-06T18:54:01.202Z",
"status": "text",
"error_message": "text",
"agent_name": "text",
"text": "text",
"isWarning": true
}
]
Number of updates to fetch.
3
A list of platform updates.
Internal Server Error.
GET /api/platform/updates HTTP/1.1
Host: localhost:3001
x-wallet-address: YOUR_API_KEY
Accept: */*
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"title": "text",
"description": "text",
"category": "text",
"link": "text",
"date": "2025-08-06T18:54:01.202Z"
}
]
Last updated