Marches Publics
by French Public Contracts (DECP) in Onchain & crypto
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.
https://api-production-24833.up.railway.app/v1/marches-publics- Price
- $0.02
- per call in USDC
- Uptime
- 95.3%
- last 30 days
- Response time
- 205 ms
- 271 ms slowest 5%
- Last check
- Passed
- 15 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://api-production-24833.up.railway.app/v1/marches-publics
Each call costs $0.02 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
GET https://api-production-24833.up.railway.app/v1/marches-publics?siren=339609661Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
siren | string | Yes | French company identifier: SIREN (9 digits, Luhn-valid) or SIRET (14 digits). |
Example response
The provider's example. We can't check it without paying.
Example response, 63 lines
{
"avertissements": [
"Données déclaratives publiées par les acheteurs publics (fichiers consolidés des 24 derniers mois) : couverture incomplète, l'absence de marché ne prouve pas l'absence d'activité avec le secteur public."
],
"fraicheur": "cache",
"marchesRecents": [
{
"acheteurSiret": "49301782600022",
"cpv": "45112710",
"dateNotification": "2024-08-26",
"departement": "25",
"id": "2024-08-36",
"montantEur": 91814.17,
"objet": "LOT N° 03 ESPACES VERTS - Travaux de résidentialisation du bâtiment sis 11, rue des Causses situé dans le Quartier de Planoise à Besançon",
"procedure": "Procédure adaptée"
}
],
"parAnnee": [
{
"annee": 2024,
"montantTotalEur": 10053069.06,
"nombreMarches": 13
},
{
"annee": 2022,
"montantTotalEur": 168203,
"nombreMarches": 1
},
{
"annee": 2018,
"montantTotalEur": 276107,
"nombreMarches": 1
}
],
"parSecteurCpv": [
{
"division": "45",
"libelle": "Travaux de construction",
"montantTotalEur": 9929551.06,
"nombreMarches": 14
},
{
"division": "77",
"libelle": "Services agricoles, sylvicoles, horticoles, aquacoles et apicoles",
"montantTotalEur": 567828,
"nombreMarches": 1
}
],
"siren": "339609661",
"source": {
"licence": "Licence Ouverte 2.0 (Etalab)",
"misAJour": "2026-11-02T20:50:27.541Z",
"nom": "Données essentielles de la commande publique (DECP), fichiers consolidés, data.gouv.fr"
},
"synthese": {
"derniereNotification": "2024-08-26",
"montantTotalEur": 10497379.06,
"nombreAcheteurs": 11,
"nombreMarches": 15,
"premiereNotification": "2018-04-27"
},
"verifieLe": "2026-11-03T00:03:31.280Z"
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.02.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://api-production-24833.up.railway.app/v1/marches-publics?siren=339609661'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://api-production-24833.up.railway.app/v1/marches-publics?siren=339609661' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.02 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.02" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.02 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi-production-24833.up.railway.app%2Fv1%2Fmarches-publics
const res = await pay("https://api-production-24833.up.railway.app/v1/marches-publics?siren=339609661");
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.02 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.02"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://api-production-24833.up.railway.app/v1/marches-publics?siren=339609661")
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 15 h ago | Passed | 402 | 202 ms | $0.02 |
| 31 h ago | Passed | 402 | 203 ms | $0.02 |
| 46 h ago | Passed | 402 | 239 ms | $0.02 |
| 3 days ago | Timed out | - | - | - |
| 5 days ago | Passed | 402 | 204 ms | $0.02 |
Show 10 older checks
| 6 days ago | Passed | 402 | 202 ms | $0.02 |
| 7 days ago | Passed | 402 | 201 ms | $0.02 |
| 7 days ago | Passed | 402 | 209 ms | $0.02 |
| 8 days ago | Passed | 402 | 209 ms | $0.02 |
| 8 days ago | Passed | 402 | 201 ms | $0.02 |
| 9 days ago | Passed | 402 | 197 ms | $0.02 |
| 9 days ago | Expected HTTP 402, got 404 | 404 | 193 ms | - |
| 10 days ago | Expected HTTP 402, got 404 | 404 | 205 ms | - |
| 10 days ago | Expected HTTP 402, got 404 | 404 | 220 ms | - |
| 10 days ago | Passed | 402 | 269 ms | $0.02 |