# France Awarded Public Contracts (DECP) – Who Won What (`bstandco/france-awarded-contracts`) Actor

See who won French public contracts and for how much: buyer, winner, amount, date, offers received. Filter by keyword, CPV code, department, buyer or competitor. Official DECP data, updated daily.

- **URL**: https://apify.com/bstandco/france-awarded-contracts.md
- **Developed by:** [BSTAndCo](https://apify.com/bstandco) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.80 / 1,000 contracts

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Awarded Public Contracts (DECP) – Who Won What

See **who won French public contracts, for how much, and against how many competitors**. This Actor reads the official **DECP** (données essentielles de la commande publique), **updated daily**, and adds the **names of buyers and winners** from the official company register.

Filter by **keyword, CPV code, department, buyer, winner, amount and date**.

### Who is it for?

- **SMEs & tradespeople bidding for public contracts** – see the prices your competitors won at before you answer a tender.
- **Sales teams** – find which public buyers purchase what you sell, how often and for how much.
- **Competitive intelligence** – follow every contract won by a competitor (by SIRET/SIREN).
- **Consultants, journalists & researchers** – analyse public spending by sector or territory.

Pairs perfectly with [France Public Tenders (BOAMP)](https://apify.com/bstandco/france-public-tenders): open tenders on one side, past results on the other.

### What data do you get?

| Field | Example |
|---|---|
| `title`, `notifiedAt`, `durationMonths` | Cleaning of the Villeurbanne urban heritage, 2026-09-08, 48 |
| `amount`, `amountLooksWrong` | 389,589 € (flag for obviously wrong source amounts) |
| `buyerName`, `buyerCity`, `buyerSiret` | SOCIETE VILLEURBANNAISE D'URBANISME, Villeurbanne |
| `winners`, `winnerNames` | MANY CLEAN (name, city, SIRET) |
| `offersReceived` | 3 |
| `procedure`, `nature`, `technique` | Open call for tenders, framework agreement… |
| `cpvCode`, `placeCode` | 90910000-9, 69100 |
| `priceForm`, `subcontractingDeclared`, `socialConsiderations`, `environmentalConsiderations` | contract details |

### How to use

Example – cleaning contracts above 50,000 € awarded in the Rhône (69) in the last 90 days:

```json
{
  "keywords": ["nettoyage"],
  "departments": ["69"],
  "minAmount": 50000
}
```

Example – every contract won by a competitor:

```json
{
  "winnerSirets": ["331089474"],
  "notifiedLastDays": 0
}
```

CPV codes are hierarchical: `4521` matches all building works codes starting with 4521. Find codes on [simap.ted.europa.eu](https://simap.ted.europa.eu/cpv).

### Privacy

Winners that are **sole proprietorships** (named after a person) are shown as *Sole proprietor (hidden)*: neither their name nor their SIRET is returned.

### Pricing

You pay a small fee per contract returned.

### Data source & license

Contracts come from the official **DECP – Arrêté du 22/12/2022 – Marchés** dataset (Ministères économiques et financiers) on [data.gouv.fr](https://www.data.gouv.fr/datasets/donnees-essentielles-de-la-commande-publique-decp-arrete-du-22-12-2022-marches), names from the **API Recherche d'entreprises** (Sirene), both under the **Licence Ouverte v2.0 (Etalab)**, which allows commercial reuse with attribution. Every result includes a `source` field. Amounts are published by the buyers themselves; a few are obviously wrong in the source and are flagged with `amountLooksWrong`.

This Actor is not affiliated with the French government.

# Actor input Schema

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

Words searched in the contract title (French), e.g. nettoyage, voirie, logiciel.

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

Official procurement codes or prefixes, e.g. 90910000-9 (cleaning) or 4521 (building works). A prefix matches all codes below it.

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

Where the contract is performed, e.g. 15, 69, 2A, 974.

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

Only contracts from these public buyers (14-digit SIRET or 9-digit SIREN).

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

Only contracts won by these companies, e.g. to follow a competitor.

## `notifiedLastDays` (type: `integer`):

0 = full history (since 2010).

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

Only contracts worth at least this amount.

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

Only contracts worth at most this amount.

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

Maximum number of contracts to return (newest first).

## Actor input object example

```json
{
  "keywords": [
    "nettoyage"
  ],
  "notifiedLastDays": 90,
  "maxResults": 50
}
```

# Actor output Schema

## `overview` (type: `string`):

Awarded public contracts with buyer, winners, amount and dates. Main fields in a table.

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

Awarded public contracts with buyer, winners, amount and dates. Every field (JSON).

# 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": [
        "nettoyage"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("bstandco/france-awarded-contracts").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": ["nettoyage"] }

# Run the Actor and wait for it to finish
run = client.actor("bstandco/france-awarded-contracts").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": [
    "nettoyage"
  ]
}' |
apify call bstandco/france-awarded-contracts --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bstandco/france-awarded-contracts"
        }
    }
}
```

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/98z2jNKbKqgad0f0z/builds/py5xbW51K7OoWIwGu/openapi.json
