{"openapi":"3.1.0","info":{"title":"BizStats Montenegro Business Data API","version":"1.0.0","description":"Versioned read API for Montenegro company, registry, procurement, public-payment and economic data. Every dataset is documented in the public catalog with source, cadence, methodology and limitations.","contact":{"name":"BizStats.me","email":"hello@bizstats.me"},"license":{"name":"BizStats data license","url":"https://bizstats.me/data-license/"}},"servers":[{"url":"https://api.bizstats.me","description":"Production"}],"tags":[{"name":"Catalog"},{"name":"Companies"},{"name":"Procurement"},{"name":"Government"}],"paths":{"/v1/datasets/catalog":{"get":{"tags":["Catalog"],"summary":"List public BizStats datasets","responses":{"200":{"description":"Dataset catalog"}}}},"/v1/datasets/catalog/{id}":{"get":{"tags":["Catalog"],"summary":"Describe one public dataset","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Dataset definition"},"404":{"description":"Dataset not found"}}}},"/v1/companies/{pib}":{"get":{"tags":["Companies"],"summary":"Get a company profile and annual filing history","parameters":[{"name":"pib","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]{8}$"}}],"responses":{"200":{"description":"Company history and linked public records","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"404":{"description":"Company not found"}}}},"/v1/companies":{"get":{"tags":["Companies"],"summary":"List and rank companies with filters","responses":{"200":{"description":"Paginated company results"}}}},"/v1/search":{"get":{"tags":["Companies"],"summary":"Search companies by name or PIB","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Company search results"}}}},"/v1/procurements/search":{"get":{"tags":["Procurement"],"summary":"Search Montenegro public procurement notices","responses":{"200":{"description":"Procurement search results"}}}},"/v1/procurements/{id}":{"get":{"tags":["Procurement"],"summary":"Get a procurement notice, lots, events and awards","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Procurement detail"}}}},"/v1/procurements/buyers/{buyer}":{"get":{"tags":["Procurement"],"summary":"Get a procurement buyer profile","parameters":[{"name":"buyer","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Buyer procurement history"}}}},"/v1/procurements/suppliers/{pib}":{"get":{"tags":["Procurement"],"summary":"Get a supplier award profile","parameters":[{"name":"pib","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]{8}$"}}],"responses":{"200":{"description":"Supplier award history"}}}},"/v1/public-payments/search":{"get":{"tags":["Government"],"summary":"Search State Treasury payment records","responses":{"200":{"description":"Payment search results"}}}},"/v1/regions":{"get":{"tags":["Companies"],"summary":"Aggregate company activity by municipality","responses":{"200":{"description":"Municipality aggregates"}}}},"/v1/sectors":{"get":{"tags":["Companies"],"summary":"Aggregate company activity by sector","responses":{"200":{"description":"Sector aggregates"}}}},"/v1/movers":{"get":{"tags":["Companies"],"summary":"Rank year-over-year company changes","responses":{"200":{"description":"Company movers"}}}},"/v1/changes":{"get":{"tags":["Companies"],"summary":"List detected company and procurement changes","responses":{"200":{"description":"Change events"}}}},"/v1/persons/{slug}":{"get":{"tags":["Companies"],"summary":"Get a source-linked public company-role profile","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Person and company roles"}}}},"/v1/development-projects/search":{"get":{"tags":["Government"],"summary":"Search published development-project records","responses":{"200":{"description":"Development-project results"}}}},"/v1/government/indicators/{slug}":{"get":{"tags":["Government"],"summary":"Get a frequency-aware annual economic-indicator series","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Indicator data and provenance"}}}},"/v1/datasets/status":{"get":{"tags":["Catalog"],"summary":"Get source freshness and ingestion status","responses":{"200":{"description":"Dataset freshness status"}}}}}}