# DECP public contract award search

Search French public contracts actually awarded. Takes dataset, supplier siret, buyer siret and more, all optional.

Search French public contracts actually awarded (DECP essential data: object, CPV, procedure, amount, duration, notification date, buyer SIRET, supplier SIRETs). Filter by supplier SIRET to find a company's public-sector customers, by buyer SIRET for an incumbent map, by CPV prefix, keywords in the object, minimum amount and notification dates. 'current' covers data published from 2024 on (2022 format), 'legacy' 2018 to early 2024. Newest first.

- Tool ID: `decp/contract-search`
- Provider: [DECP](/providers/decp.md)
- Capability: [B2B data](/tools/b2b-data.md)
- Price: no charge per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

No charge per call. A workspace is still needed so your agent can call it.


```json
{
  "model": "per_call",
  "amountUsd": 0
}
```

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "dataset": {
      "type": "string",
      "enum": [
        "current",
        "legacy"
      ],
      "default": "current",
      "description": "'current' = DECP format of 22/12/2022 (published 2024 onwards); 'legacy' = format of 22/03/2019 (2018 to February 2024)"
    },
    "supplier_siret": {
      "type": "string",
      "pattern": "^[0-9]{14}$",
      "description": "SIRET of a winning supplier (any of the first three), e.g. '43602011900018'"
    },
    "buyer_siret": {
      "type": "string",
      "pattern": "^[0-9]{14}$",
      "description": "SIRET of the public buyer, e.g. '21690123100011' (Ville de Lyon)"
    },
    "cpv": {
      "type": "string",
      "pattern": "^[0-9]{2,8}$",
      "description": "CPV code or prefix, e.g. '4521' or '90910000'"
    },
    "q": {
      "type": "string",
      "pattern": "^[^\"\\\\]{2,100}$",
      "description": "Words in the contract object, e.g. 'restauration scolaire'"
    },
    "amount_min": {
      "type": "number",
      "minimum": 0,
      "maximum": 100000000000,
      "default": 0,
      "description": "Minimum contract amount in euros, e.g. 100000"
    },
    "date_from": {
      "type": "string",
      "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      "default": "2000-01-01",
      "description": "Earliest notification date, e.g. '2025-01-01'"
    },
    "date_to": {
      "type": "string",
      "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      "default": "2099-12-31",
      "description": "Latest notification date, e.g. '2025-06-30'"
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "default": 10,
      "description": "Contracts to return, e.g. 10"
    },
    "offset": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9950,
      "default": 0,
      "description": "Number of contracts to skip for paging, e.g. 0"
    }
  },
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "decp/contract-search",
  "input": {
    "buyer_siret": "21690123100011",
    "date_from": "2025-01-01",
    "date_to": "2025-06-30",
    "amount_min": 100000,
    "limit": 3
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

Licence: Licence Ouverte 2.0 (Etalab).

Attribution: Données essentielles de la commande publique, Direction des affaires juridiques (ministère de l'Économie), Licence Ouverte 2.0.

[Provider documentation](https://data.economie.gouv.fr/explore/dataset/decp-2022-marches-valides/api/)

[REST inspection](https://api.agentik.cc/v1/tools/decp/contract-search) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/decp/contract-search) · [Agent index](/llms.txt)
