feat: полные региональные данные ФГИС ЦС — 86 регионов, 148 ценовых зон
API ФГИС ЦС (без авторизации): - 86 субъектов РФ × 148 ценовых зон - Индексы по группам ресурсов для всех зон (Q1 2026) - 16 регионов с >1 зоной (макс: Красноярский край = 13 зон) PDF писем Минстроя (5 файлов, 18 MB): - Агрегированные индексы СМР по видам строительства - Все субъекты РФ, ФЕР/ТЕР Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
# ФГИС ЦС API Reference
|
||||
# Base URL: https://fgiscs.minstroyrf.ru/api
|
||||
|
||||
## Working Endpoints (no auth required)
|
||||
|
||||
### 1. EstimatedPrice/CountrySubjects (GET)
|
||||
Returns all 86 regions with their IDs.
|
||||
Response: [{"id":281,"name":"Алтайский край"}, ...]
|
||||
|
||||
### 2. EstimatedPrice/PriceZones?subjectId={id} (GET)
|
||||
Returns price zones for a given region.
|
||||
Note: parameter is "subjectId", NOT "countrySubjectId"!
|
||||
Response: [{"id":118,"name":"Хабаровский край (1 зона)"}, ...]
|
||||
|
||||
### 3. EstimatedPrice/Periods?priceZoneId={id} (GET)
|
||||
Returns available periods for a price zone.
|
||||
Response: [{"id":425,"name":"1 квартал 2026 г."}, ...]
|
||||
|
||||
### 4. EstimatedPrice/Tabs?priceZoneId={id}&periodId={id} (GET)
|
||||
Returns available data tabs.
|
||||
nameType values: 10=BuildingResources, 20=IndicesForResourcesGroups,
|
||||
30=EstimatedPrices(services), 40=IndicesOfChangeEstimatedPrice(worker salary)
|
||||
|
||||
### 5. EstimatedPrice/Authorities?priceZoneId={id}&periodId={id} (GET)
|
||||
Returns authorities (Росатом, Минтранс, Транснефть, ФСК Россети).
|
||||
Response: [{"id":97,"name":"РОСАТОМ"}, ...]
|
||||
|
||||
### 6. IndicesForResourcesGroups/GetTreeViewResourceGroups (GET)
|
||||
Params: priceZoneId, periodId, isMaterials (true/false)
|
||||
Returns resource groups with zone-specific IDs.
|
||||
Response: [{"value":3161759,"text":"2 Вода"}, ...]
|
||||
IMPORTANT: groupId values are zone-specific!
|
||||
|
||||
### 7. IndicesForResourcesGroups/GetTreeViewResourcesInGroup (GET)
|
||||
Params: groupId, priceZoneId, periodId
|
||||
Returns resources within a group with actual ZONE-SPECIFIC indices.
|
||||
Response: [{"groupNumber":2,"groupName":"Вода","fsbcFullCode":"01.7.03.01-0001",
|
||||
"fsbcName":"Вода","unitName":"м3","price":"35.71","index":"1.53"}, ...]
|
||||
|
||||
### 8. IndicesForResourcesGroups (GET) - Grid data
|
||||
Params: priceZoneId, periodId, page, pageSize
|
||||
WARNING: Returns same data regardless of priceZoneId - bug or design issue.
|
||||
Total always returns 70897504.
|
||||
|
||||
### 9. IndicesForResourcesGroups/meta (GET)
|
||||
Returns field/column definitions for the grid.
|
||||
Params: priceZoneId, periodId
|
||||
|
||||
### 10. IndicesForResourcesGroups/Search (GET)
|
||||
Params: materials=true, machines=true, priceZoneId, periodId, value (search text)
|
||||
Text search within resource names.
|
||||
|
||||
### 11. IndicesOfChangeEstimatedPrice (GET) - Cost change indices
|
||||
Params: priceZoneId, periodId, authorityId, page, pageSize
|
||||
Fields: buildingTypeName, indexFer, indexTer, directCostElementType
|
||||
STATUS: Always returns empty {total:0, items:[]}. May require auth or not populated.
|
||||
|
||||
### 12. EstimatedPrice/ResourceIndexDocumentInfo (GET)
|
||||
Params: periodId
|
||||
Returns normative act info for the period.
|
||||
|
||||
## Period IDs (known)
|
||||
425 = Q1 2026
|
||||
424 = Q4 2025
|
||||
423 = Q3 2025
|
||||
422 = Q2 2025
|
||||
421 = Q1 2025
|
||||
420 = Q4 2024
|
||||
387 = Q3 2024
|
||||
386 = Q2 2024
|
||||
385 = Q1 2024
|
||||
Reference in New Issue
Block a user