The AIQuant API provides programmatic access to AI-powered quantitative trading data, analyses, and signals for cryptocurrency markets. This API allows developers, traders, and funds to integrate AIQuant's advanced trading intelligence directly into their applications and systems.
With the AIQuant API, you can access performance reports, trade logs, evaluation results, alpha signals, and trading playbooks across multiple blockchain networks. The API is designed to support a wide range of use cases from simple data retrieval to complex trading strategy implementation.
Getting Started
1. Create an AIQuant Account
Visit to sign up for an account.
2. Launch a Quant
Create and configure your AI-powered trading quant. This will be your primary trading agent that generates signals and evaluations.
3. Select an API Plan
Choose the API plan that best suits your needs:
Basic API: For indie builders and hobbyist developers
Growth API: For scaling products, mid-sized funds, and onchain tools
Enterprise API: For quant funds, trading platforms, and strategic innovators
When you exceed your daily limit, the API will return a 429 Too Many Requests response.
API Plans and Features
AIQuant offers three API subscription plans with different capabilities:
Basic API Plan
Performance reports & trade logs
Quick evaluation summaries
Support: Email
Growth API Plan
Everything in Basic, plus:
Detailed evaluation reports
Realtime alpha signals
Basic trading playbook
Support: Email + Telegram
Enterprise API Plan
Everything in Growth, plus:
Advanced trading playbook
AI-powered strategy optimizations
Support: Email + Telegram + Slack
Available Endpoints
All endpoints should be prefixed with this base URL. For example, to access the Trade Statistics endpoint, use: https://api.aiquant.fun/api/trades/stats
Performance & Trades
Evaluation Results
Alpha Signals
Trading Playbook
Strategy Optimization
Performance & Trades
Trade Statistics
GET/api/trades/stats
Retrieves aggregated metrics for trades, including total trades, volume, and weekly performance changes.
Query Parameters:
quantId (integer, optional): Filter metrics by specific quant ID
Retrieves paginated trade history with filtering options.
Query Parameters:
quantId (integer, optional): Filter by quant ID
page (integer, optional): Page number for pagination
pageSize (integer, optional): Number of trades per page
sortBy (string, optional): Field to sort by
sortOrder (string, optional): Sort direction (asc or desc)
filterStatus (string, optional): Filter by trade status
search (string, optional): Search term for tokens
startDate (string, optional): Filter by start date (ISO format)
endDate (string, optional): Filter by end date (ISO format)
chain (string, optional): Filter by blockchain network
positionClosed (string, optional): Filter by position status (true, false, or all)
isTrackingEnabled (string, optional): Filter by tracking status (true, false, or all)
Response:
{
"trades": [
{
"id": "50155",
"token_id": "54667",
"token_name": "WE LOVE ASS",
"token_symbol": "ASS",
"token_image": "https://ipfs.io/ipfs/QmYqF2cRhTKKUbWjBTuNsXSSNPbzFWtwd9p4ua1xFD2sHv",
"token_chain": "SOLANA",
"token_address": "CfgmB9iTWABdYh3CHQQDUGtWy18rMNAEEqyp4GrJpump",
"open_date": "2025-04-09 03:05:05",
"close_date": "2025-04-09 03:52:08",
"duration": "0.78",
"buy_cost_usd": "$10",
"sell_revenue_usd": "$10",
"pnl_usd": "-$0.4",
"roi": "-4.0%",
"eth_sol_spent": "0.100000 SOL",
"eth_sol_received": "0.096180 SOL",
"tokens_bought": "14771.92610532857",
"tokens_sold": "14771.92610532857",
"avg_buy_price_solOrEth": "0.00000677",
"status": "Closed",
"result": "Loss",
"price": "$0.000672",
"price_change": "+26.53%",
"volume24h": "$85.42K",
"quant_name": "Premium Edge",
"latest_evaluation": {
"id": 6807776,
"type": "TOKEN_BUY",
"passed": false,
"ai_score": 35,
"internal_score": 50,
"timestamp": "2025-04-09T13:48:09.929Z",
"summary": "The token shows weak market dynamics with a bearish trend indicated by declining price changes and low buy-to-sell ratios. Community engagement data is missing, which adds uncertainty. Technical analysis reveals mixed signals, with a bearish MACD and moving average, but a strong Fibonacci score suggesting potential support. Overall, the negative indicators outweigh the positives, making it a risky investment. It is not a good time to buy this token.",
"detection_price": 0.001866992233880762,
"token_image": "https://ipfs.io/ipfs/QmYqF2cRhTKKUbWjBTuNsXSSNPbzFWtwd9p4ua1xFD2sHv"
}
}
],
"summary": {
"totalTrades": 157,
"totalVolume": 34816.93969230225,
"profitableTrades": 84,
"lossTrades": 73,
"totalProfit": 3989.0842282990784,
"totalLoss": 2823.7555181923963,
"winRate": 53.503184713375795,
"accountValue": 35982.26840240895,
"realized": {
"trades": 150,
"volume": 32497.442223898477,
"profitableTrades": 83,
"lossTrades": 67,
"profit": 3877.258630608689,
"loss": 2661.3419094668675,
"pnl": 1215.9167211418214,
"roi": 3.7415766839878914,
"winRate": 55.333333333333336,
"avgReturn": 8.10611147427881
},
"unrealized": {
"trades": 7,
"volume": 2319.4974684037825,
"profitableTrades": 1,
"lossTrades": 6,
"profit": 111.8255976903888,
"loss": 162.41360872552906,
"pnl": -50.588011035140255,
"roi": -2.180990137917831,
"winRate": 14.285714285714285,
"avgReturn": -7.226858719305751
}
},
"pagination": {
"total": 157,
"page": 1,
"pageSize": 20,
"totalPages": 8
}
}
Trade Details
GET/api/trades/:id
Retrieves detailed information about a specific trade.
Path Parameters:
id (integer, required): Trade ID
Response:
{
"trade": {
"id": "50208",
"token_id": "59181",
"token_name": "42069COIN",
"token_symbol": "42069COIN",
"token_image": "https://ipfs.io/ipfs/QmUzk4cQBHxCBLRH3sPxKWAsFT9CpmjsBndJGPzkEQGbkv",
"token_chain": "SOLANA",
"token_address": "5CxtvaR1SskwLxfzHGurx8Enu8bgSTPyWF3YP4sWpump",
"open_date": "2025-04-09 03:46:23",
"close_date": "2025-04-09 04:02:50",
"duration": "0.27",
"buy_cost_usd": "$10",
"sell_revenue_usd": "$12",
"pnl_usd": "$1.5",
"roi": "+14.4%",
"eth_sol_spent": "0.100000 SOL",
"eth_sol_received": "0.113978 SOL",
"tokens_bought": "23262.21112957615",
"tokens_sold": "23262.21112957615",
"avg_buy_price_solOrEth": "0.00000430",
"status": "Closed",
"result": "Profit",
"price": "$0.000435",
"price_change": "+525.69%",
"volume24h": "$1.63M",
"quant_name": "Premium Edge",
"duration_seconds": 987,
"buy_cost_usd_raw": 10.31736792095562,
"sell_revenue_usd_raw": 11.799694276221217,
"pnl_usd_raw": 1.482326355265597,
"roi_raw": 14.367291799828537,
"eth_sol_spent_raw": 0.1,
"eth_sol_received_raw": 0.1139776250364365,
"tokens_bought_raw": 23262.21112957615,
"tokens_sold_raw": 23262.21112957615,
"avg_buy_price_solOrEth_raw": 0.00000429881748742524,
"price_raw": 0.0004350409701404734,
"price_change_raw": 525.6869012910554,
"volume24h_raw": 1634074.65679551,
"marketCap": "$435.04K",
"marketCap_raw": 435038.0329303403,
"liquidity": "$77.67K",
"liquidity_raw": 77670.61858872062,
"transactions": [
{
"id": 73467,
"action": "BUY",
"txHash": "FAKE-dd00268f-a4ae-4a5c-b7ea-186774914e5e",
"timestamp": "2025-04-09T03:46:23.238Z",
"inputToken": "So11111111111111111111111111111111111111112",
"outputToken": "5CxtvaR1SskwLxfzHGurx8Enu8bgSTPyWF3YP4sWpump",
"inputAmount": 0.1,
"outputAmount": 23262.21112957615,
"inputValueUsd": 10.31736792095562,
"outputValueUsd": 10.317367920955618,
"pricePerTokenInUsd": 0.0004435248164280421
},
{
"id": 73491,
"action": "SELL",
"txHash": "FAKE-0a0810a0-bfa9-49b5-91cb-5a0b424fa531",
"timestamp": "2025-04-09T04:02:50.239Z",
"inputToken": "5CxtvaR1SskwLxfzHGurx8Enu8bgSTPyWF3YP4sWpump",
"outputToken": "So11111111111111111111111111111111111111112",
"inputAmount": 23262.21112957615,
"outputAmount": 0.1139776250364365,
"inputValueUsd": 11.799694276221219,
"outputValueUsd": 11.799694276221217,
"pricePerTokenInUsd": 0.0005072473210089129
}
],
"latest_evaluation": {
"id": 6673431,
"type": "TOKEN_BUY",
"passed": false,
"ai_score": 30,
"internal_score": 55,
"timestamp": "2025-04-09T07:58:30.921Z",
"summary": "The token shows significant bearish signals with a high RSI indicating overbought conditions, negative price changes, and a downtrend forecast from AI. Despite some positive community engagement and buy-to-sell ratios, the overall market dynamics and technical indicators suggest a strong sell sentiment. Given the current conditions, it is not a good time to buy this token.",
"detection_price": 0.00004558404626886283,
"token_image": "https://ipfs.io/ipfs/QmUzk4cQBHxCBLRH3sPxKWAsFT9CpmjsBndJGPzkEQGbkv"
}
}
}
Evaluation Results
Evaluation Results
GET/api/eval-results
Retrieves the latest token evaluation results with filtering options.
Query Parameters:
limit (integer, optional): Maximum number of results to return
offset (integer, optional): Number of results to skip
chain (string, optional): Filter by blockchain network
search (string, optional): Search term for tokens
quantId (string, optional): Filter by quant ID
passed (string, optional): Filter by pass/fail status
uniqueTokensOnly (string, optional): Return only unique tokens
onlyScored (string, optional): Return only scored evaluations
timeTo (string, optional): End time for results (ISO format)
timeFrom (string, optional): Start time for results (ISO format)
evaluationResultType (string, optional): Filter by evaluation type
Response:
{
"results": [
{
"id": 20083701,
"tokenId": 30938,
"userQuantId": 4,
"createdAt": "2025-05-08T08:45:30.837Z",
"updatedAt": "2025-05-08T08:45:30.837Z",
"evaluationResultType": "TOKEN_BUY",
"marketCap": 775354,
"passed": true,
"avgScore": 65,
"aiScore": 65,
"internalScore": 65,
"aiAnalysis": "The token exhibits strong technical momentum with high MACD and bullish on-chain prediction, supported by increasing volume and buy-to-sell ratios. Despite some sell volume increases and ranging market regime, the overall technical and AI signals lean positive. The lack of verified community engagement data introduces some uncertainty, but the technical and fundamental indicators suggest a promising entry point. Therefore, it is a GOOD TIME to BUY with medium risk tolerance.",
"aiPrompt": "...",
"token": {
"id": 30938,
"symbol": "BITCOIN",
"address": "0x2a06A17CBC6d0032Cac2c6696DA90f29D39a1a29",
"chainName": "BASE",
"DataFetcherResponseSnapshots": [...],
"detectionPrice": 0.06284334598184069,
"image": "https://dd.dexscreener.com/ds-data/tokens/base/0x2a06a17cbc6d0032cac2c6696da90f29d39a1a29.png?key=9d0df5&size=xl"
},
"performance": {
"tokenId": 30938,
"entryPriceUsd": 0.039514,
"roi": 4.21
}
}
],
"total": 2
}
Evaluation Details
GET/api/eval-details
Retrieves detailed information about a specific evaluation.
Query Parameters:
evaluationId (string, required): ID of the evaluation