Données essentielles de la commande publique (DECP)
www.data.economie.gouv.frSummarizes the size and structure of a French public-procurement segment from awarded DECP contracts.
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_monthsinteger{
"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": 12
}
},
"additionalProperties": false
}filtersobjectRequired
lookback_monthsintegerRequired
source_statusstringRequired
summaryobjectRequired
top_buyersarrayRequired
top_cpvarrayRequired
top_suppliers_in_latest_samplearrayRequired
supplier_sampled_countinteger | nullRequired
supplier_sample_coverage_percentnumber | integer | nullRequired
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"
},
"source_status": {
"type": "string",
"enum": [
"ok",
"partial",
"unavailable"
]
},
"summary": {
"type": "object",
"properties": {
"contracts_count": {
"type": [
"integer",
"null"
]
},
"total_amount": {
"type": [
"number",
"integer",
"null"
]
},
"average_amount": {
"type": [
"number",
"integer",
"null"
]
},
"median_amount": {
"type": [
"number",
"integer",
"null"
]
},
"minimum_amount": {
"type": [
"number",
"integer",
"null"
]
},
"maximum_amount": {
"type": [
"number",
"integer",
"null"
]
}
},
"required": [
"contracts_count",
"total_amount",
"average_amount",
"median_amount",
"minimum_amount",
"maximum_amount"
],
"additionalProperties": false
},
"top_buyers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"siret": {
"type": [
"string",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
},
"contracts_count": {
"type": "integer"
},
"total_amount": {
"type": [
"number",
"integer",
"null"
]
}
},
"required": [
"siret",
"name",
"contracts_count",
"total_amount"
],
"additionalProperties": false
}
},
"top_cpv": {
"type": "array",
"items": {
"type": "object",
"properties": {
"cpv": {
"type": [
"string",
"null"
]
},
"contracts_count": {
"type": "integer"
},
"total_amount": {
"type": [
"number",
"integer",
"null"
]
}
},
"required": [
"cpv",
"contracts_count",
"total_amount"
],
"additionalProperties": false
}
},
"top_suppliers_in_latest_sample": {
"type": "array",
"items": {
"type": "object",
"properties": {
"siren": {
"type": "string"
},
"contracts_count_in_sample": {
"type": "integer"
}
},
"required": [
"siren",
"contracts_count_in_sample"
],
"additionalProperties": false
}
},
"supplier_sampled_count": {
"type": [
"integer",
"null"
]
},
"supplier_sample_coverage_percent": {
"type": [
"number",
"integer",
"null"
]
},
"generated_at": {
"type": "string"
},
"limitations": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"filters",
"lookback_months",
"source_status",
"summary",
"top_buyers",
"top_cpv",
"top_suppliers_in_latest_sample",
"supplier_sampled_count",
"supplier_sample_coverage_percent",
"generated_at"
],
"additionalProperties": false
}