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/me

Screen 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}/profile

Every 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

WhatCallUse
ScreeningPOST /v1/screenScreen one name; POST /v1/screen/batch screens up to 1 000
SearchGET /v1/people?q=Find people by name in either script, with filters and paging
ProfileGET /v1/people/{id}/profileIdentity, offices, career, education and links, with sources
TimelineGET /v1/people/{id}/timelineOffices and roles in date order
LineageGET /v1/people/{id}/lineageAncestors and descendants on both sides (bamsawali use)
ChangesGET /v1/changes?since=Everything that changed since a time, for syncing
HistoryGET /v1/history/{id}?asOf=What the record said on a past date
Watchlists/v1/watchlist, /v1/webhooksSigned callbacks when a watched person changes
ExportGET /v1/exportThe whole dataset you are entitled to, as NDJSON
UsageGET /v1/usageYour usage this month against your quota

Rules that apply to every response

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.