French Public Procurement Market

Summarizes 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

When to use this API?

Use for

  • Measure the size and structure of a French public-procurement segment over a recent time window.

Avoid when

  • Use procurement/fr/awards when you need individual awarded-contract records.
  • Use procurement/fr/buyer-profile when the question is specifically about one public buyer.

Limitations

  • Supplier ranking is based on the latest 100 matching awards; its sample coverage is returned explicitly.

Sources and provenance

Données essentielles de la commande publique (DECP)

www.data.economie.gouv.fr

Input / Output schemas

Simplified endpoint contracts. The complete schema remains available in OpenAPI 3.1.

OpenAPI 3.1 →

Input schema
cpv_prefixstring

departmentstring

buyerstring

lookback_monthsinteger

View full JSON Schema
{
    "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
}
Output schema
filtersobject

Required

lookback_monthsinteger

Required

source_statusstring

Required

summaryobject

Required

top_buyersarray

Required

top_cpvarray

Required

top_suppliers_in_latest_samplearray

Required

supplier_sampled_countinteger | null

Required

supplier_sample_coverage_percentnumber | integer | null

Required

generated_atstring

Required

limitationsarray

View full JSON Schema
{
    "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
}

Example queries

Summarize the French public market for CPV 641 over the last 12 months.