Get Category Stats
get_category_statsGet aggregate CPV category statistics: tender counts, average and median values, average offer counts, and deadline lengths. Choose month, quarter, or year windows; the response verifies the actual window applied.
Instructions
Get aggregate statistics for a CPV category: tender count, average and median value, average offers count, average deadline length.
The response includes the actual days window the API applied - the
upstream API sometimes ignores the requested window, so verify it.
Examples: get_category_stats("302") get_category_stats("45240000-1", window="quarter")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpv | Yes | ||
| window | No | year |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||