Utility Endpoints
These endpoints sit outside the four data domains. None of them return market data, and none require an API token except the token-usage probe (which authenticates you because it reports your own quota).
Service Index
Returns service metadata plus a machine-readable directory of every public API endpoint, grouped by domain.
- Method:
GET - URL:
/ - Auth: Not required
curl -s https://api.indvested.com/
{
"message": "Project Copernicus — Indian mutual fund and NSE/BSE index analytics API.",
"meta": { "codename": "copernicus", "version": "1.0" },
"endpoints": {
"mutual_funds": [
{
"method": "GET",
"url": "https://api.indvested.com/api/mf/get_all_amcs",
"description": "List all AMCs",
"auth": true
}
],
"nse": [],
"bse": [],
"calculators": [],
"status": [],
"token": []
}
}
GET /api/ responds with a 302 redirect to /. Use this endpoint to
discover the API surface programmatically; the auth flag on each entry says
whether that route requires x-api-token at the origin.
Ping
Liveness probe for load balancers and uptime checks. Returns the literal text
pong (not JSON).
- Method:
GET - URL:
/ping - Auth: Not required
curl -s https://api.indvested.com/ping
pong
About
Returns the service description and build identity.
- Method:
GET - URL:
/about - Auth: Not required
curl -s https://api.indvested.com/about
{
"message": "A comprehensive platform for exploratory data analysis of Indian mutual funds and market indices.",
"codename": "copernicus",
"version": "1.0"
}
Health
Real-time health check — deliberately not cached — reporting which node answered, which cache backend is in use, and whether the node’s data is fresh.
- Method:
GET - URL:
/health - Auth: Not required
curl -s https://api.indvested.com/health
{
"mode": "forward_node",
"cacheBackend": "fs",
"timestamp": "2026-11-26T00:35:12.482000+05:30",
"status": "ok",
"cache": {
"lastUpdated": "2026-11-26T00:31:04.190000+05:30",
"fileCount": 18422,
"ageMinutes": 4.1
}
}
modeisforward_nodefor the read-only edge node ornormalfor the backend.statusisok,stale, ordegraded. On the edge node,stalemeans the cache sync has been idle for more than 120 minutes;degradedmeans no cache files were found at all.- On the backend (
mode: "normal") there is nocacheblock — instead the response carriesdb: "reachable"ordb: "unreachable: …"andstatusreflects database reachability. - The edge node’s
cache.fileCountandageMinutesare the practical way to detect a stalled sync.
Token Usage Status
Returns the live quota position of your own API token. The call does not consume quota.
- Method:
GET - URL:
/api/token/get_usage_status - Auth: Required (your own token, in
x-api-token)
curl -s https://api.indvested.com/api/token/get_usage_status \
-H "x-api-token: YOUR_TOKEN"
{
"tokenName": "indvest-analyser",
"accessCount": 4210,
"accessLimit": 50000,
"remainingAccessCount": 45790,
"percentOfTokenUsage": 8.42,
"expired": false,
"createdAt": "2026-01-14T09:12:00+05:30",
"expiresAt": "2027-01-14T09:12:00+05:30",
"daysUntilExpiry": 413
}
expired reports the effective state: true if the token has been revoked
or if its expiry time has passed, even when the stored flag has not been
flipped yet. A token can therefore return 200 here while the calls that
validate it at the origin return 403 — this is the endpoint’s purpose.
Errors:
| Status | When |
|---|---|
403 |
x-api-token header missing, or the token is unknown |
405 |
Method is not GET (the response carries Allow: GET) |
Forms
The two public forms on indvest.io post here. Both accept JSON, are
CSRF-exempt, and are token-exempt. GET on either returns a small help
message instead of 405.
Contact
- Method:
POST - URL:
/contact - Auth: Not required
| Field | Type | Required | Constraints |
|---|---|---|---|
name |
string | Yes | ≤ 100 characters |
email |
string | Yes | Valid email address |
message |
string | Yes | ≤ 5000 characters |
curl -s -X POST https://api.indvested.com/contact \
-H "Content-Type: application/json" \
-d '{"name": "Ada", "email": "[email protected]", "message": "Hello"}'
{ "message": "Inquiry submitted" }
Submissions run through a spam classifier before persistence. A submission judged to be spam receives the same success response, so the endpoint gives no signal either way.
API Access Request
- Method:
POST - URL:
/api_access_request - Auth: Not required
| Field | Type | Required | Description |
|---|---|---|---|
name |
string | Yes | Your name |
ownerEmail |
string | Yes | Valid email address to contact |
requestReason |
string | No | What you intend to build |
curl -s -X POST https://api.indvested.com/api_access_request \
-H "Content-Type: application/json" \
-d '{"name": "Ada", "ownerEmail": "[email protected]", "requestReason": "Research"}'
{ "message": "API access request submitted successfully" }
Computation Stats
Read-only operational counters for the metric-computation pipeline. These are primarily for monitoring the platform itself; the payloads are not versioned API contract.
| URL | Returns |
|---|---|
/stat |
Pipeline status dashboard (computed hourly, cached) |
/stat/get_mutual_funds_compute_returns_stats |
Per-fund compute_returns counters |
Both are unauthenticated and return 404 when the underlying cache has not
been populated.