खुला डाटा API
नेपाल शासन डाटा प्रोग्रामेटिक रूपमा पहुँच गर्नुहोस्। गैर-व्यावसायिक प्रयोगका लागि निःशुल्क।
Base URL: https://hamroneta.online/api/v1/open-dataएन्डपोइन्टहरू / Endpoints
Politicians Elections Promises Scorecards Statsप्रमाणीकरण / Authentication दर सीमा / Rate Limits
प्रमाणीकरण / Authentication
अनुरोध हेडरमा तपाईंको API कुञ्जी समावेश गर्नुहोस्: / Include your API key in the request header:
Authorization: Bearer YOUR_API_KEY
निःशुल्क: प्रति घण्टा १०० अनुरोध। प्रिमियम/संस्था योजनामा बढी सीमा। / Free tier: 100 requests/hour. Premium/Institution plans get higher limits.
Politicians / राजनीतिज्ञ
/politiciansसबै राजनीतिज्ञहरूको सूची ऐच्छिक फिल्टरसहित। / List all politicians with optional filters.
Parameters
party | Filter by party slug | optional |
province | Filter by province (1-7) | optional |
page | Page number | default: 1 |
Example Response
{
"data": [
{
"id": 1,
"name": "Ram Bahadur",
"name_ne": "राम बहादुर",
"party": "Example Party",
"constituency": "Kathmandu-1",
"position": "MP"
}
],
"meta": { "current_page": 1, "total": 275 }
}
Elections / निर्वाचन
/electionsऐतिहासिक र आगामी निर्वाचन तथ्याङ्क। / Historical and upcoming election data.
Parameters
year | Filter by election year | optional |
type | federal, provincial, local | optional |
Example Response
{
"data": [
{
"id": 1,
"year": 2079,
"type": "federal",
"total_voters": 17988570,
"turnout_pct": 61.17
}
]
}
Promises / प्रतिबद्धता
/promisesराजनीतिक प्रतिबद्धता र तिनको पूर्ति स्थिति ट्र्याक गर्नुहोस्। / Track political promises and their fulfillment status.
Parameters
politician_id | Filter by politician | optional |
status | kept, broken, in_progress, not_started | optional |
Example Response
{
"data": [
{
"id": 1,
"politician_id": 42,
"promise": "Build 500km of road in Province 1",
"status": "in_progress",
"progress_pct": 35
}
]
}
Scorecards / स्कोरकार्ड
/scorecardsराजनीतिज्ञ र संस्थाहरूको कार्यसम्पादन स्कोरकार्ड। / Performance scorecards for politicians and institutions.
Example Response
{
"data": [
{
"politician_id": 42,
"overall_score": 68,
"attendance": 85,
"promises_kept_pct": 40,
"public_approval": 62
}
]
}
Stats / तथ्याङ्क
/statsप्लेटफर्मको समग्र तथ्याङ्क। / Aggregated platform statistics.
Example Response
{
"total_politicians": 275,
"total_parties": 32,
"total_promises_tracked": 1842,
"total_ratings": 54200,
"active_petitions": 89
}
दर सीमा / Rate Limits
| Free | 100 requests/hour |
| Premium | 1,000 requests/hour |
| Institution | 10,000 requests/hour |
Rate limit headers are included in every response: X-RateLimit-Remaining, X-RateLimit-Limit.