Open Data Portal
Download Tripura's SDG datasets in machine-readable formats or consume data via the public REST API. All data is published under the National Data Sharing and Accessibility Policy (NDSAP).
Download Centre
Pre-packaged datasets updated whenever new data is verified and approved.
Data is published under the National Data Sharing and Accessibility Policy (NDSAP) by the Government of India. You are free to use, share and adapt the data for any purpose, provided you attribute the source: Directorate of Economics & Statistics, Government of Tripura.
REST API Documentation
Base URL: http://localhost/api/v1/
— no authentication required for read-only endpoints.
| Method | Endpoint | Description | Auth |
|---|---|---|---|
| GET | /api/v1/goals | List all 17 SDG goals with indicator counts | Public |
| GET | /api/v1/goals/{code} | Single goal with targets and indicators | Public |
| GET | /api/v1/indicators | Paginated indicators (filter by goal) | Public |
| GET | /api/v1/indicators/{id} | Single indicator with latest observation | Public |
| GET | /api/v1/public/summary | Aggregate summary — goals, indicators, observations | Public |
| GET | /api/v1/observations | Approved observations (filter by year, indicator) | Token |
| POST | /api/v1/auth/login | Obtain a Bearer token (username + password) | Public |
| POST | /api/v1/auth/logout | Revoke Bearer token | Token |
curl -s "http://localhost/api/v1/goals" \
-H "Accept: application/json" \
| python3 -m json.tool
# Step 1 — obtain token
TOKEN=$(curl -s -X POST \
"http://localhost/api/v1/auth/login" \
-H "Content-Type: application/json" \
-d '{"username":"user","password":"pass","device_name":"app"}' \
| python3 -c \
"import sys,json; print(json.load(sys.stdin)['token'])")
# Step 2 — use token
curl -s "http://localhost/api/v1/observations?year=2026" \
-H "Authorization: Bearer $TOKEN" \
-H "Accept: application/json"
Need Bulk Data or API Tokens?
For bulk data access, API tokens, or data partnership requests, contact the Directorate of Economics & Statistics. Please include your organisation name and intended use case in your request.