# France Public Procurement Contracts DECP 2025-2026 (`phonic_lily/france-public-contracts-decp-2025-2026`) Actor

Search French public procurement contracts notified in 2025-2026 (DECP essential data): buyer, supplier company, object, amount, CPV code, procedure, nature, notification date, duration and number of offers. Suppliers are legal entities only. Embedded data, pay per record.

- **URL**: https://apify.com/phonic_lily/france-public-contracts-decp-2025-2026.md
- **Developed by:** [Henri bousquet](https://apify.com/phonic_lily) (community)
- **Categories:** Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.80 / 1,000 records

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

### What this Actor does

Search French public procurement contracts notified in 2025-2026 (DECP essential data): buyer, supplier company, object, amount, CPV code, procedure, nature, notification date, duration and number of offers. Suppliers are legal entities only. Embedded data, pay per record.

**No scraping, no live dependency, no login**: the data is embedded in the Actor and searched locally. You pay per record returned (pay-per-event `contract-result`), never for empty runs.

### What you get

- 318,601 records, snapshot 2026-11-12.
- Source licence: Licence Ouverte 2.0 (Etalab).
- 22 input filters, all optional and combinable; results export as JSON, CSV, Excel, XML or HTML from the console or the API.

### Quick start

Press **Try for free** with the pre-filled input, or paste it into the Input tab:

```json
{
  "buyerDepartments": [
    "Paris"
  ],
  "maxResults": 10
}
```

That run returns up to 10 records and costs about $0.04 (10 x $0.004). A run of 1,000 records costs $4.00. `maxResults` (up to 10,000) caps both the output and the bill.

### Example output

One real record from the data, columns as returned:

```json
{
  "contract_key": "2000703240001320260000170016|34340353103351",
  "contract_uid": "2000703240001320260000170016",
  "notification_date": "2026-11-06",
  "notification_year": 2026,
  "supplier_siren": "343403531",
  "supplier_siret": "34340353103351",
  "supplier_name": "COLLECTES VALORISATION ENERGIE DECHETS - COVED",
  "supplier_size": "GE",
  "supplier_city": "Paris 8e Arrondissement",
  "supplier_department": "Paris",
  "buyer_siret": "20007032400013",
  "buyer_name": "CC DU TERRITOIRE DE LUNEVILLE A BACCARAT",
  "buyer_city": "Lunéville",
  "buyer_department": "Meurthe-et-Moselle"
}
```

### Input

Every filter is optional; combine them freely.

- `query` (string): Keyword in object, supplier or buyer name (accent- and case-insensitive substring).
- `supplierSiren` (string): Supplier SIREN (accent- and case-insensitive substring).
- `buyerSiret` (string): Buyer SIRET (full or partial) (accent- and case-insensitive substring).
- `cpvPrefix` (string): CPV code (full or prefix, e.g. 45) (accent- and case-insensitive substring).
- `buyerDepartments` (array): Buyer department names (e.g. Haute-Savoie), case-insensitive exact. Records with an empty value never match.
- `supplierDepartments` (array): Supplier department names (exact, case-insensitive). Records with an empty value never match.
- `buyerRegions` (array): Buyer region names (exact, case-insensitive). Records with an empty value never match.
- `procedures` (array): Procedure (exact text). Records with an empty value never match.
- `natures` (array): Contract nature (Marche, ...). Records with an empty value never match.
- `supplierSizes` (array): Supplier size: PME, ETI, GE. Records with an empty value never match.
- `notificationYears` (array): Notification years (e.g. 2025). Records with an empty value never match.
- `minAmountEur` (number): Min amount (EUR). Records with an empty value never match.
- `maxAmountEur` (number): Max amount (EUR). Records with an empty value never match.
- `minOffers` (number): Min offers received. Records with an empty value never match.
- `maxOffers` (number): Max offers received. Records with an empty value never match.
- `notifiedFrom` (string): Notified from. ISO date YYYY-MM-DD (inclusive).
- `notifiedTo` (string): Notified to. ISO date YYYY-MM-DD (inclusive).
- `sortBy` (string): Sort by. Sort order of results. Default: file order (or distance when a radius is given).
- `onlyNewSinceLastRun` (boolean): Only new since my last run. Watch mode: return only records that appeared since your previous run with the same watch name, oldest first. Schedule the Actor (hourly, daily, weekly) to get an alert feed. Nothing is billed when there is nothing new. Sorting is ignored in this mode.
- `watchName` (string): Watch name. Name of the watch. Use one name per saved search so each keeps its own position.
- `lookbackDays` (integer): First run: days of history. First run of a watch only: return the records published within this many days before the newest matching record.
- `resetWatch` (boolean): Reset this watch. Forget the position of this watch and start again as a first run.
- `maxResults` (integer): Max results. Maximum records returned and billed (1..10000).

### Output fields

- `contract_key` : Contract uid + supplier SIRET.
- `contract_uid` : DECP contract uid (shared by co-contractors).
- `notification_date` : Notification date (ISO), null if invalid.
- `notification_year` : Year.
- `supplier_siren` : Supplier SIREN.
- `supplier_siret` : Supplier SIRET.
- `supplier_name` : Supplier legal name.
- `supplier_size` : PME / ETI / GE, null if unknown.
- `supplier_city` : Supplier city.
- `supplier_department` : Supplier department name.
- `buyer_siret` : Buyer SIRET.
- `buyer_name` : Buyer name.
- `buyer_city` : Buyer city.
- `buyer_department` : Buyer department name.
- `buyer_region` : Buyer region.
- `object` : Contract object (first 500 chars).
- `amount_eur` : Declared amount EUR, null if absent.
- `amount_normalised_eur` : Source-normalised amount EUR, null if absent.
- `amount_flag` : suspect / aberrant / null.
- `cpv_code` : CPV code.
- `procedure` : Procedure.
- `nature` : Nature.
- `duration_months` : Duration in months.
- `offers_received` : Offers received, null if not declared.
- `innovative` : Innovative contract flag.

Every record also carries `license` and `attribution` so you can republish with the required credit. Empty values are returned as `null` (never as 0).

### Call it from code

```python
from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("phonic_lily/france-public-contracts-decp-2025-2026").call(run_input={"buyerDepartments": ["Paris"], "maxResults": 10})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

```bash
curl -X POST "https://api.apify.com/v2/acts/phonic_lily~france-public-contracts-decp-2025-2026/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>" \
  -H "Content-Type: application/json" -d '{"buyerDepartments": ["Paris"], "maxResults": 10}'
```

### Pricing

Pay per event: $0.004 per record returned, no start fee, nothing billed for an empty run.

| Records returned | Cost |
|---|---|
| 10 | $0.04 |
| 100 | $0.40 |
| 1,000 | $4.00 |
| 10,000 | $40.00 |

### Use it from an AI agent (MCP)

Add this Actor as a tool to Claude, Cursor or any MCP client through the Apify MCP server:

```
https://mcp.apify.com?tools=phonic_lily/france-public-contracts-decp-2025-2026
```

The agent gets the input schema above and pays per record like any other run.

### FAQ

**Where does the data come from?** DECP consolidated tabular dataset (data.gouv.fr, Licence Ouverte 2.0), current data only (superseded modifications excluded), notification dates up to 2026-07. One row per supplier per contract (contract_key = uid|supplier SIRET). A supplier row is kept only if the supplier is a legal entity: confirmed by the INSEE SIRENE extract (not an individual entrepreneur, fully diffusible), or, when absent from the extract, classified ETI/GE or carrying a company legal form in its name. Rows with no supplier SIREN or an unverifiable supplier (possible individual) are dropped. Amounts are as declared: amount_flag marks values the source qualifies as suspect or aberrant; amount fields are null when absent, never 0. Offers received and duration are null when not declared. Dates before 2000 are source errors and set to null. This Actor holds the contracts notified in 2025-2026; the other years are in sibling Actors named france-public-contracts-decp-<years>, split only to keep each embedded file small.

**How fresh is it?** Snapshot 2026-11-12. The data is embedded in the Actor and updated when the publisher rebuilds it, so a run never depends on a live source and never fails because a site is down.

**What does a run cost?** $0.004 per returned record, nothing for runs that return no record. Apify free plan credit ($5) covers about 1,250 records.

**Do I need a proxy, an account on the source or a browser?** No: the Actor reads its own embedded file.

### Data and licence

DECP consolidated tabular dataset (data.gouv.fr, Licence Ouverte 2.0), current data only (superseded modifications excluded), notification dates up to 2026-07. One row per supplier per contract (contract_key = uid|supplier SIRET). A supplier row is kept only if the supplier is a legal entity: confirmed by the INSEE SIRENE extract (not an individual entrepreneur, fully diffusible), or, when absent from the extract, classified ETI/GE or carrying a company legal form in its name. Rows with no supplier SIREN or an unverifiable supplier (possible individual) are dropped. Amounts are as declared: amount_flag marks values the source qualifies as suspect or aberrant; amount fields are null when absent, never 0. Offers received and duration are null when not declared. Dates before 2000 are source errors and set to null. This Actor holds the contracts notified in 2025-2026; the other years are in sibling Actors named france-public-contracts-decp-<years>, split only to keep each embedded file small.

Snapshot date: 2026-11-12.

### Watch mode (new records only)

Set `onlyNewSinceLastRun` to true and schedule the Actor: each run returns only the records that appeared since your last run with the same `watchName` (field `notification_date`), oldest first, and bills nothing when there is nothing new. The data is refreshed by the publisher; see the snapshot date above.

# Actor input Schema

## `query` (type: `string`):

Keyword in object, supplier or buyer name (accent- and case-insensitive substring).

## `supplierSiren` (type: `string`):

Supplier SIREN (accent- and case-insensitive substring).

## `buyerSiret` (type: `string`):

Buyer SIRET (full or partial) (accent- and case-insensitive substring).

## `cpvPrefix` (type: `string`):

CPV code (full or prefix, e.g. 45) (accent- and case-insensitive substring).

## `buyerDepartments` (type: `array`):

Buyer department names (e.g. Haute-Savoie), case-insensitive exact. Records with an empty value never match.

## `supplierDepartments` (type: `array`):

Supplier department names (exact, case-insensitive). Records with an empty value never match.

## `buyerRegions` (type: `array`):

Buyer region names (exact, case-insensitive). Records with an empty value never match.

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

Procedure (exact text). Records with an empty value never match.

## `natures` (type: `array`):

Contract nature (Marche, ...). Records with an empty value never match.

## `supplierSizes` (type: `array`):

Supplier size: PME, ETI, GE. Records with an empty value never match.

## `notificationYears` (type: `array`):

Notification years (e.g. 2025). Records with an empty value never match.

## `minAmountEur` (type: `number`):

Min amount (EUR). Records with an empty value never match.

## `maxAmountEur` (type: `number`):

Max amount (EUR). Records with an empty value never match.

## `minOffers` (type: `number`):

Min offers received. Records with an empty value never match.

## `maxOffers` (type: `number`):

Max offers received. Records with an empty value never match.

## `notifiedFrom` (type: `string`):

ISO date YYYY-MM-DD (inclusive).

## `notifiedTo` (type: `string`):

ISO date YYYY-MM-DD (inclusive).

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

Sort order of results. Default: file order (or distance when a radius is given).

## `onlyNewSinceLastRun` (type: `boolean`):

Watch mode: return only records that appeared since your previous run with the same watch name, oldest first. Schedule the Actor (hourly, daily, weekly) to get an alert feed. Nothing is billed when there is nothing new. Sorting is ignored in this mode.

## `watchName` (type: `string`):

Name of the watch. Use one name per saved search so each keeps its own position.

## `lookbackDays` (type: `integer`):

First run of a watch only: return the records published within this many days before the newest matching record.

## `resetWatch` (type: `boolean`):

Forget the position of this watch and start again as a first run.

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

Maximum records returned and billed (1..10000).

## Actor input object example

```json
{
  "buyerDepartments": [
    "Paris"
  ],
  "onlyNewSinceLastRun": false,
  "watchName": "default",
  "lookbackDays": 30,
  "resetWatch": false,
  "maxResults": 10
}
```

# Actor output Schema

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

Dataset items returned by the run.

# 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 = {
    "buyerDepartments": [
        "Paris"
    ],
    "maxResults": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("phonic_lily/france-public-contracts-decp-2025-2026").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 = {
    "buyerDepartments": ["Paris"],
    "maxResults": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("phonic_lily/france-public-contracts-decp-2025-2026").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 '{
  "buyerDepartments": [
    "Paris"
  ],
  "maxResults": 10
}' |
apify call phonic_lily/france-public-contracts-decp-2025-2026 --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,phonic_lily/france-public-contracts-decp-2025-2026"
        }
    }
}
```

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/DvYq1NDAjKsWt61fD/builds/ZxFkso7RhjCbpw0QQ/openapi.json
