Données essentielles de la commande publique (DECP)
www.data.economie.gouv.frBuilds monthly or yearly time series of awarded French public-contract volumes and amounts from DECP.
0.020 USD
Charged on valid result · Empty result not charged · Errors not charged
www.data.economie.gouv.frSimplified endpoint contracts. The complete schema remains available in OpenAPI 3.1.
cpv_prefixstringdepartmentstringbuyerstringlookback_monthsintegergranularitystring{
"type": "object",
"properties": {
"cpv_prefix": {
"type": "string",
"pattern": "^[0-9]{1,8}$"
},
"department": {
"type": "string",
"pattern": "^(?:[0-9]{2,3}|2A|2B)$"
},
"buyer": {
"type": "string",
"minLength": 2,
"maxLength": 200
},
"lookback_months": {
"type": "integer",
"minimum": 1,
"maximum": 60,
"default": 24
},
"granularity": {
"type": "string",
"enum": [
"month",
"year"
],
"default": "month"
}
},
"additionalProperties": false
}filtersobjectRequired
lookback_monthsintegerRequired
granularitystringRequired
source_statusstringRequired
periods_countinteger | nullRequired
latest_period_contracts_change_percentnumber | integer | nullRequired
seriesarrayRequired
generated_atstringRequired
limitationsarray{
"type": "object",
"properties": {
"filters": {
"type": "object",
"properties": {
"cpv_prefix": {
"type": [
"string",
"null"
]
},
"department": {
"type": [
"string",
"null"
]
},
"buyer": {
"type": [
"string",
"null"
]
},
"date_from": {
"type": [
"string",
"null"
]
},
"date_to": {
"type": [
"string",
"null"
]
}
},
"required": [
"cpv_prefix",
"department",
"buyer",
"date_from",
"date_to"
],
"additionalProperties": false
},
"lookback_months": {
"type": "integer"
},
"granularity": {
"type": "string",
"enum": [
"month",
"year"
]
},
"source_status": {
"type": "string",
"enum": [
"ok",
"unavailable"
]
},
"periods_count": {
"type": [
"integer",
"null"
]
},
"latest_period_contracts_change_percent": {
"type": [
"number",
"integer",
"null"
]
},
"series": {
"type": "array",
"items": {
"type": "object",
"properties": {
"period": {
"type": "string"
},
"contracts_count": {
"type": "integer"
},
"total_amount": {
"type": [
"number",
"integer",
"null"
]
},
"average_amount": {
"type": [
"number",
"integer",
"null"
]
}
},
"required": [
"period",
"contracts_count",
"total_amount",
"average_amount"
],
"additionalProperties": false
}
},
"generated_at": {
"type": "string"
},
"limitations": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"filters",
"lookback_months",
"granularity",
"source_status",
"periods_count",
"latest_period_contracts_change_percent",
"series",
"generated_at"
],
"additionalProperties": false
}