NSI (Bulgaria)
liveGovernmentDemographicsEuropeBulgarian National Statistical Institute (НСИ / NSI) — Open Data API.
3tools
0msauth
free tier50 calls/day
Tools
list_datasetsList NSI Bulgaria open-data datasets with their numeric id and English (or Bulgarian) name.
No parameters required.
Try it
Response
get_datasetFetch a single NSI Bulgaria dataset by numeric id as a JSON-stat 2.0 object
No parameters required.
Try it
Response
get_fieldsFetch the field/dimension metadata for an NSI dataset (its column codes plus Bulgarian and English names)
No parameters required.
Try it
Response
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
List available tools
bash
curl -X POST https://gateway.pipeworx.io/nsi-bg/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'Call a tool
bash
curl -X POST https://gateway.pipeworx.io/nsi-bg/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"list_datasets","arguments":{}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("list_datasets", {});ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("bulgarian national statistical institute (нси / nsi) — open data api");