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.com

All 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)

MethodEndpointAuthDescription
POST/api/public/analyze-walletPublicAnalyze any Injective wallet — returns portfolio, risk score, AI report.
GET/api/public/demo-walletPublicGet a demo wallet analysis to preview the product.
POST/api/auth/signupPublicRegister a new user account.
POST/api/auth/loginPublicLog in and receive a JWT token pair.
GET/api/walletsRequiredList all saved wallets for the authenticated user.
POST/api/walletsRequiredSave a new wallet to monitor.
DELETE/api/wallets/{id}RequiredRemove a saved wallet.
GET/api/analysisRequiredGet full analysis history for the authenticated user.
GET/api/reportsRequiredGet all AI reports for the authenticated user.
GET/api/alertsRequiredGet risk change alerts for the authenticated user.
GET/api/insightsRequiredGet AI-generated insights from saved wallets.
POST/api/insights/generateRequiredTrigger fresh insight generation across all saved wallets.
POST/api/v1/ai/chatPublicAsk a question about any wallet — returns AI answer.
GET/api/injective/{address}/portfolioPublicGet live token balances for an Injective address.
GET/api/injective/{address}/stakingPublicGet staking delegations and pending rewards.
GET/api/injective/{address}/ecosystemPublicGet ecosystem exposure breakdown.
GET/api/injective/{address}/marketPublicGet market context with live prices and 24h changes.
GET/api/injective/{address}/transactionsPublicGet recent transaction history from Injective Mainnet.