Developer
API Reference
Integrate InjSight AI into your own apps. The REST API provides real-time Injective wallet intelligence, risk scores, and AI-powered analysis.
Base URL
https://injsight-ai-backend.onrender.comAll endpoints are relative to this base URL.
Authentication
Protected endpoints require a Bearer JWT token in the Authorization header. Obtain a token by calling POST /api/auth/login.
Authorization: Bearer eyJhbGci...
Endpoints (18)
| Method | Endpoint | Auth | Description |
|---|---|---|---|
| POST | /api/public/analyze-wallet | Public | Analyze any Injective wallet — returns portfolio, risk score, AI report. |
| GET | /api/public/demo-wallet | Public | Get a demo wallet analysis to preview the product. |
| POST | /api/auth/signup | Public | Register a new user account. |
| POST | /api/auth/login | Public | Log in and receive a JWT token pair. |
| GET | /api/wallets | Required | List all saved wallets for the authenticated user. |
| POST | /api/wallets | Required | Save a new wallet to monitor. |
| DELETE | /api/wallets/{id} | Required | Remove a saved wallet. |
| GET | /api/analysis | Required | Get full analysis history for the authenticated user. |
| GET | /api/reports | Required | Get all AI reports for the authenticated user. |
| GET | /api/alerts | Required | Get risk change alerts for the authenticated user. |
| GET | /api/insights | Required | Get AI-generated insights from saved wallets. |
| POST | /api/insights/generate | Required | Trigger fresh insight generation across all saved wallets. |
| POST | /api/v1/ai/chat | Public | Ask a question about any wallet — returns AI answer. |
| GET | /api/injective/{address}/portfolio | Public | Get live token balances for an Injective address. |
| GET | /api/injective/{address}/staking | Public | Get staking delegations and pending rewards. |
| GET | /api/injective/{address}/ecosystem | Public | Get ecosystem exposure breakdown. |
| GET | /api/injective/{address}/market | Public | Get market context with live prices and 24h changes. |
| GET | /api/injective/{address}/transactions | Public | Get recent transaction history from Injective Mainnet. |