Generic Pxweb V1 Skill

Access official statistics from any PxWebApi v1 installation (the PxWeb 1.0 API). Use when querying statistical databases that run the older POST-based PxWeb API — base URLs of the form `/api/v1/{lang}/{database}/…`, or SSB's `/api/v0/`. Trigger on "PxWebApi v1", "PxWeb v1", "PxWeb API", "PXAPI", "statbank API", "Statistikkbanken API", "Statistikdatabasen API", or when a PxWeb URL contains `/api/v0/` or `/api/v1/`. Covers hierarchy navigation, table search, metadata, the JSON query body (`{"query": […], "response": {…}}`), the item/all/top/agg/vs filters, elimination rules, output formats, and error handling. For installations already migrated to PxWebApi v2 (SSB `data.ssb.no/api/pxwebapi/v2`, SCB `statistikdatabasen.scb.se/api/v2`) prefer `generic-pxweb-v2-skill`, `ssb-pxwebapi-v2` or `scb-pxwebapi-v2` instead.

janbrus 3425daa 14 files · 228.5 KB Updated

File contents

janbrus/pxwebapi-skills/tree/main/pxwebapi-v1-generic-skill commit 3425daa020

Frequently asked questions

npx skillmds@latest add janbrus/generic-pxweb-v1-skill