# France Public Contract Awards — Who Wins French Tenders (DECP) (`openregistry/france-public-contract-awards`) Actor

Find who wins French public contracts: buyer, winning companies (names from SIRET), amount, CPV code, procedure, offers received, place of execution. Official DECP open data from the Ministry of Economy, 750,000+ contracts, updated daily. Pay per contract.

- **URL**: https://apify.com/openregistry/france-public-contract-awards.md
- **Developed by:** [Mahé Perrin](https://apify.com/openregistry) (community)
- **Categories:** Business, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.00 / 1,000 contract delivereds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## France Public Contract Awards — who wins French public tenders (DECP)

Search the **contracts already awarded** by French public buyers — ministries, regions, cities, hospitals, schools,
public companies — and see **who won, for how much, after how many offers**. Built on the official **DECP** open data
(*données essentielles de la commande publique*) published by the French Ministry of Economy: 750,000+ contracts,
updated daily.

**$2 per 1,000 contracts.** Company names added for free.

### Why it is useful

- **Market sizing and pricing**: what is really paid for cleaning, IT maintenance or road works in your area.
- **Competitive intelligence**: every contract your competitors won (`winnerSirets`), and at what price.
- **Sales targeting**: the buyers who purchase what you sell, and when their multi-year contracts end
  (`notifiedAt` + `durationMonths`).
- **Teaming**: find the companies that win large contracts and may need subcontractors.

The DECP source gives buyers and winners as SIRET numbers only. This tool **adds the company names, city and NAF
code** from the official company register (recherche-entreprises.api.gouv.fr).

### Input

| Field | What it does |
|---|---|
| `keywords` | Full-text search in the contract subject (French) |
| `cpvCodes` | CPV codes or prefixes (`72` IT services, `45` works, `909` cleaning) |
| `departments` | Place of execution |
| `notifiedAfter`, `notifiedBefore` | Award (notification) dates |
| `minAmount`, `maxAmount` | Amount in euros excl. VAT |
| `buyerSirets`, `winnerSirets` | Follow given buyers or companies (SIREN or SIRET) |
| `procedures` | Open tender, adapted procedure, negotiated… |
| `enrichNames` | Add names, city, NAF code (on by default) |
| `sortBy`, `maxResults` | Most recent or largest first; cap (max 10,000 per search) |

```json
{ "cpvCodes": ["72"], "departments": ["35", "75"], "notifiedAfter": "2026-01-01", "minAmount": 40000, "maxResults": 500 }
```

### Output

| Field | Example |
|---|---|
| `contractId`, `nature`, `subject` | 2026S28158, Marché, PRESTATIONS DE NETTOYAGE DES LOCAUX ET DE LA VITRERIE |
| `cpvCode`, `procedure`, `frameworkAgreement` | 90911200-8, Appel d'offres ouvert, Accord-cadre |
| `notifiedAt`, `publishedAt`, `durationMonths` | 2026-11-13, 2026-11-13, 48 |
| `amountEur`, `priceType`, `offersReceived` | 112341.49, Mixte, 7 |
| `buyerSiret`, `buyerName`, `buyerCity` | public buyer |
| `winnerSiret`, `winnerName`, `winners[]` | up to 3 co-contractors, each with `id`, `name`, `city`, `nafCode` |
| `executionPlace`, `socialClauses`, `environmentalClauses`, `subcontractingDeclared`, `innovative` | 34, Clause sociale, … |

### Pricing

Pay per event: **$0.002 per contract** delivered. Set `maxResults` or a maximum charge per run to cap the cost.

### Good to know

- Coverage: contracts declared under the decree of 22/12/2022 format (from 2024 onward, plus earlier data republished in
  that format). Buyers declare contracts of €40,000 or more; small contracts are often missing. Amounts are those
  declared by buyers (sometimes estimates for framework agreements).
- The source returns at most 10,000 contracts per search: split by date or department for larger extractions.
- Licence: Licence Ouverte / Etalab 2.0. Data from data.economie.gouv.fr.

### Step-by-step guide

- [Qui gagne les marchés publics ? Exporter les marchés attribués en France (DECP) en Excel](https://app.mahedesk.com/outils/guides/qui-gagne-les-marches-publics/) (en français)

# Actor input Schema

## `keywords` (type: `array`):

Full-text search in the contract subject (French), e.g. nettoyage, logiciel, travaux de voirie. Several keywords must all match.

## `cpvCodes` (type: `array`):

EU procurement codes; a prefix covers the whole family: 72 = IT services, 45 = construction works, 909 = cleaning. Any of them matches.

## `departments` (type: `array`):

French department codes, e.g. 75, 35, 2A, 974. Any of them matches.

## `notifiedAfter` (type: `string`):

Notification date of the contract (YYYY-MM-DD).

## `notifiedBefore` (type: `string`):

Notification date of the contract (YYYY-MM-DD).

## `minAmount` (type: `integer`):

Keep contracts of at least this amount.

## `maxAmount` (type: `integer`):

Keep contracts of at most this amount.

## `buyerSirets` (type: `array`):

Follow given public buyers (a 9-digit SIREN covers all its establishments).

## `winnerSirets` (type: `array`):

Every contract won by given companies — yours or your competitors'.

## `procedures` (type: `array`):

Leave empty for every procedure.

## `enrichNames` (type: `boolean`):

The source only gives SIRET numbers: look up buyer and winner names, city and NAF code in the official company register (slower, same price).

## `sortBy` (type: `string`):

With a maximum number of results, decides which contracts you get first.

## `maxResults` (type: `integer`):

The run stops once this many contracts are delivered (the source returns at most 10,000 per search).

## Actor input object example

```json
{
  "keywords": [
    "logiciel"
  ],
  "departments": [
    "35"
  ],
  "enrichNames": true,
  "sortBy": "date",
  "maxResults": 100
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "keywords": [
        "logiciel"
    ],
    "departments": [
        "35"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("openregistry/france-public-contract-awards").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "keywords": ["logiciel"],
    "departments": ["35"],
}

# Run the Actor and wait for it to finish
run = client.actor("openregistry/france-public-contract-awards").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "keywords": [
    "logiciel"
  ],
  "departments": [
    "35"
  ]
}' |
apify call openregistry/france-public-contract-awards --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,openregistry/france-public-contract-awards"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/WBZiLooFjMfiwH3ev/builds/cf8Pj5CSBobcE0FWj/openapi.json
