API docs
A JSON API over HTTPS. Every response says where each fact came from and whether it has been checked: verified, pending or unverified.
Base URL and key
Base URL: https://peopledb.neupane.com.np/api
Send your key as a bearer token. Keys are issued per environment with the scopes your plan allows; request access to get one. Keep keys on your server, never in a browser or app.
curl -H "Authorization: Bearer $PEOPLEDB_KEY" https://peopledb.neupane.com.np/api/v1/meScreen a name
curl -X POST https://peopledb.neupane.com.np/api/v1/screen \
-H "Authorization: Bearer $PEOPLEDB_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "Ram Bahadur Thapa", "birthDate": "1975"}'You get ranked matches with a score, the reasons they matched, PEP status and roles held. Names match across English and Devanagari spellings; a birth date more than a year off rules a person out.
Read a profile
curl -H "Authorization: Bearer $PEOPLEDB_KEY" \
https://peopledb.neupane.com.np/api/v1/people/{id}/profileEvery node and link carries source, sourceUrl and verification; the delivery block lists the credits you must show and the time the data is as of. Responses send an ETag, so repeated reads can be answered with 304.
Main calls
| What | Call | Use |
|---|---|---|
| Screening | POST /v1/screen | Screen one name; POST /v1/screen/batch screens up to 1 000 |
| Search | GET /v1/people?q= | Find people by name in either script, with filters and paging |
| Profile | GET /v1/people/{id}/profile | Identity, offices, career, education and links, with sources |
| Timeline | GET /v1/people/{id}/timeline | Offices and roles in date order |
| Lineage | GET /v1/people/{id}/lineage | Ancestors and descendants on both sides (bamsawali use) |
| Changes | GET /v1/changes?since= | Everything that changed since a time, for syncing |
| History | GET /v1/history/{id}?asOf= | What the record said on a past date |
| Watchlists | /v1/watchlist, /v1/webhooks | Signed callbacks when a watched person changes |
| Export | GET /v1/export | The whole dataset you are entitled to, as NDJSON |
| Usage | GET /v1/usage | Your usage this month against your quota |
Rules that apply to every response
- Fields are only ever added; ignore fields you do not know.
- Your plan's tier decides how much detail you get; a field above it is left out, never filled with a placeholder.
- Your use decides which kinds of data you get at all (see For business).
- Errors are JSON:
{"error": "..."}with the HTTP status.
Full reference
The complete OpenAPI 3.1 contract: https://peopledb.neupane.com.np/api/openapi.yaml. Load it into your API client or code generator.