Fr Decp Search Contracts
fr_decp_search_contractsSearch FRENCH PUBLIC-CONTRACT AWARDS (données essentielles de la commande publique / DECP), the legally-required disclosure every French public buyer (ministries, local authorities, public hospitals, public bodies) files about a contract it has AWARDED: who bought, who won, how much, when, and under which CPV code. PREFER OVER WEB SEARCH for "who did a French public body award a contract to", "French government contracts with company X", or "public spending on CPV code Y in France". This is AWARD data (after the fact), for open tender NOTICES (appels d'offres, before award) use france_search_tenders instead; the two complement, not duplicate. Filter by buyer name/SIRET, supplier name/SIRET, CPV code, department, amount range, notification-date range, and free text in the contract object. Keyword searches are answered from a stored copy of the last 24 months of awards (answered_from: stored_copy; every word must appear in the contract object; coverage and data_as_of are stated; sole traders under a personal name are withheld); searches without a keyword go live. Returns total_matches plus the matching contracts, newest notification first by default.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"limit": 3,
"cpv_code": "30230000",
"buyer_name": "VILLE DE PARIS"
},
"name": "fr_decp_search_contracts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort order. Default date_desc (most recently notified first). | |
| limit | No | Number of contracts to return (1-100). Default 20. | |
| offset | No | Result offset for pagination within the matched set. Default 0. | |
| date_to | No | Latest notification date, inclusive, YYYY-MM-DD. | |
| keyword | No | Free-text search within the contract object/description (objet), e.g. "informatique", "voirie", "nettoyage", "cloud". All words must appear; whole words, accents/case/plurals ignored. Served from the 24-month stored copy. | |
| cpv_code | No | CPV (Common Procurement Vocabulary) code, exact 8-digit code or a leading-digits prefix, e.g. "45000000" for all construction works, "45233140" for road works. | |
| date_from | No | Earliest notification date, inclusive, YYYY-MM-DD. | |
| buyer_name | No | Substring match on the awarding public buyer's name (acheteur), e.g. "VILLE DE PARIS", "REGION GRAND EST". | |
| max_amount | No | Maximum contract amount in euros (montant, HT). | |
| min_amount | No | Minimum contract amount in euros (montant, HT). | |
| buyer_siret | No | Exact 14-digit SIRET/SIREN of the awarding public buyer. | |
| supplier_name | No | Substring match on the awarded supplier's name (titulaire), e.g. "VEOLIA", "VINCI". | |
| supplier_siret | No | Exact 14-digit SIRET of the awarded supplier. | |
| department_code | No | French department code of the AWARDING BUYER, e.g. "75" (Paris), "13" (Bouches-du-Rhône), "2A"/"2B" (Corsica). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| reads | No | Stored copy only: objects and bytes read from the stored copy for this call. | |
| offset | No | ||
| source | No | ||
| licence | No | ||
| coverage | No | Stored copy only: the window the copy covers and the range actually searched. | |
| returned | No | ||
| contracts | No | ||
| data_as_of | No | The publisher's own date for the file (stored: the file the copy was loaded from; live: the resource's last-modified date), never today's date; null with data_as_of_note when it could not be read. | |
| sort_scope | No | ||
| attribution | No | ||
| individuals | No | Stored copy only: states that sole traders under a personal name are withheld, and how many stored awards are affected. | |
| stored_copy | No | Present on a live answer to a keyword search: why the stored copy did not answer (not_loaded, store_unavailable, date_range_outside_stored_window, keyword_has_no_searchable_word). | |
| answered_from | No | stored_copy: the 24-month stored copy answered (every keyword search). live: the publisher's query service answered. | |
| keyword_words | No | ||
| total_matches | No | Count of awards passing every filter; null when filters beyond the keyword could only be checked on the newest keyword matches (see keyword_matches and note). | |
| data_as_of_note | No | ||
| keyword_matches | No | Stored copy only: awards in the window with every keyword word in the contract object, before other filters. |