# French Public Contracts (DECP) Lookup

> French Public Contracts (DECP) Lookup is a paid API for AI agents from api-production-24833.up.railway.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-18).

Returns public procurement awards won by a French company (by SIREN/SIRET), including contract counts, total values by year and CPV sector, and recent award details from official DECP open data.

## Facts

- Endpoint: GET https://api-production-24833.up.railway.app/v1/marches-publics?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/french-public-contracts-decp-lookup-1621fb9e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__E-JgHDS7t_Vi7oTDVuy4

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability french-public-contracts-decp-lookup-1621fb9e
```

Example prompt: Can you pull the public procurement history for the French company with SIREN 552032534 — I want to know how many public contracts they've won, the total value, and which sectors they've been active in over the last two years?

## When to prefer this

Use this endpoint when you need to assess a French company's public-sector business footprint using official government data (DECP). Preferred over general company data APIs when the specific need is procurement history, public buyer relationships, or CPV sector activity. Ideal for supplier due diligence, procurement compliance checks, or competitive intelligence on French public contracts. Covers only the last 24 months and excludes personal data for sole traders.

## Known failure modes

- Invalid SIREN format (not 9 or 14 digits) — returns validation error
- SIREN not found in DECP database — returns empty result set or zero contracts
- Company exists but has no recorded public contracts in last 24 months — returns zeroed synthesis
- Degraded data freshness ('degradee') if upstream DECP source is temporarily unavailable — returns cached data with warning
- Rate limiting or upstream timeout — returns error without charge

## How this service works

French public procurement awards by SIREN (DECP): the public contracts a French company has won, from the official consolidated open data (Licence Ouverte). Use it to size a supplier's public-sector business, check its track record with public buyers or spot dependence before contracting. Returns contract count and total value, by year and CPV sector, plus the latest awards with buyer, procedure and amount. Last 24 months, no personal data on sole traders. Errors are never charged.

## Output

A JSON object containing: a synthesis (total contract count, total value in EUR, number of distinct public buyers, first and last notification dates); a breakdown by year (year, contract count, total EUR); a breakdown by CPV sector (division code, label, contract count, total EUR); and a list of recent awards (contract ID, subject, procedure type, amount, department, buyer SIRET, notification date). Also includes data freshness indicator and any warnings.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "siren"
     ],
     "properties": {
      "siren": {
       "type": "string",
       "pattern": "^([0-9]{9}|[0-9]{14})$",
       "description": "French company identifier: SIREN (9 digits, Luhn-valid) or SIRET (14 digits)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "siren",
      "source",
      "synthese",
      "parAnnee",
      "parSecteurCpv",
      "marchesRecents"
     ],
     "properties": {
      "siren": {
       "type": "string"
      },
      "source": {
       "type": "object"
      },
      "parAnnee": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "annee": {
          "type": "number"
         },
         "nombreMarches": {
          "type": "number"
         },
         "montantTotalEur": {
          "type": "number"
         }
        }
       }
      },
      "synthese": {
       "type": "object",
       "required": [
        "nombreMarches",
        "montantTotalEur",
        "nombreAcheteurs"
       ],
       "properties": {
        "nombreMarches": {
         "type": "number"
        },
        "montantTotalEur": {
         "type": "number"
        },
        "nombreAcheteurs": {
         "type": "number"
        },
        "derniereNotification": {
         "type": [
          "string",
          "null"
         ]
        },
        "premiereNotification": {
         "type": [
          "string",
          "null"
         ]
        }
       }
      },
      "fraicheur": {
       "enum": [
        "temps_reel",
        "cache",
        "degradee"
       ],
       "type": "string"
      },
      "verifieLe": {
       "type": "string"
      },
      "attestation": {
       "type": "object"
      },
      "parSecteurCpv": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "libelle": {
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/french-public-contracts-decp-lookup-1621fb9e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api-production-24833.up.railway.app](https://www.zero.xyz/host/api-production-24833.up.railway.app/llms.txt)
