# BOAMP procurement rankings and counts

Rank French public procurement notices: count BOAMP notices by buyer, winner, department, market type, procedure, year or month, for a keyword, notice nature. Takes group by, q, nature and more, all optional.

Rank French public procurement notices: count BOAMP notices by buyer, winner, department, market type, procedure, year or month, for a keyword, notice nature and date window. Answers who buys and who wins in a market ('top winners for cleaning contracts'). A null value groups notices without that field; winner only applies to award notices (nature ATTRIBUTION).

- Tool ID: `boamp/notice-stats`
- Provider: [BOAMP](/providers/boamp.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": {
    "group_by": {
      "type": "string",
      "enum": [
        "buyer",
        "winner",
        "department",
        "market_type",
        "nature",
        "procedure",
        "year",
        "month"
      ],
      "default": "winner",
      "description": "What to count by, e.g. 'buyer' or 'winner'"
    },
    "q": {
      "type": "string",
      "pattern": "^[^\"\\\\]{2,100}$",
      "description": "Full-text keywords on the notice, e.g. 'nettoyage'"
    },
    "nature": {
      "type": "string",
      "enum": [
        "APPEL_OFFRE",
        "ATTRIBUTION",
        "RECTIFICATIF",
        "ANNULATION",
        "MODIFICATION",
        "INTENTION_CONCLURE",
        "PRE-INFORMATION",
        "EX_ANTE_VOLONTAIRE"
      ],
      "description": "Notice nature, e.g. 'ATTRIBUTION' (award results) or 'APPEL_OFFRE' (calls for tender)"
    },
    "department": {
      "type": "string",
      "pattern": "^(0[1-9]|[1-8][0-9]|9[0-5]|2A|2B|97[1-8]|98[4-9])$",
      "description": "Department of publication, e.g. '69'"
    },
    "date_from": {
      "type": "string",
      "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      "default": "2000-01-01",
      "description": "Earliest publication 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 publication date, e.g. '2025-12-31'"
    },
    "sort": {
      "type": "string",
      "enum": [
        "count",
        "value"
      ],
      "default": "count",
      "description": "'count' biggest first, 'value' by group value, newest first for year and month"
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 20,
      "description": "Groups to return, e.g. 20"
    }
  },
  "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": "boamp/notice-stats",
  "input": {
    "group_by": "winner",
    "q": "nettoyage",
    "nature": "ATTRIBUTION",
    "date_from": "2025-01-01",
    "limit": 5
  }
}
```

## 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: BOAMP, Direction de l'information légale et administrative (DILA), Licence Ouverte 2.0.

[Provider documentation](https://boamp-datadila.opendatasoft.com/explore/dataset/boamp/api/)

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

---

[HTML page](/providers/boamp/notice-stats) · [Agent index](/llms.txt)
