Requete Lister
by Sirenic in Company & people data
List French companies matching free cross-criteria on a pre-joined table of the official registries (the same criteria as the count route): geography, NAF activity, legal form, workforce, age, last filed accounts, public signals. Active legal persons by default. 100 companies per page, sorted on identite.siren, finances.date_cloture, finances.ca, finances.resultat_net, finances.bfr_sur_ca, with the exact total and the cut stated; each page is one payment.
https://api.sirenic.eu/v1/entreprises/requete/lister- Price
- $0.02
- per call in USDC
- Uptime
- 99.0%
- last 30 days
- Response time
- 200 ms
- 276 ms slowest 5%
- Last check
- Passed
- 2 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://api.sirenic.eu/v1/entreprises/requete/lister
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.sirenic.eu/v1/entreprises/requete/lister?criteres=%5B%7B%22champ%22%3A%22siege.departement%22%2C%22op%22%3A%22%3D%22%2C%22valeur%22%3A%2269%22%7D%2C%7B%22champ%22%3A%22finances.ca%22%2C%22op%22%3A%22%3E%22%2C%22valeur%22%3A1000000%7D%5D&page=1&tri=-finances.caParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
champs | string | No | Comma-separated catalogue fields to serve (default: identity, head office, last closing date, revenue, net income); the SIREN and the fields of the criteria and of the sort are always served. |
criteres | string | No | JSON array of at most 20 conditions {"champ","op","valeur"}, URL-encoded, at most 2048 characters, combined with AND (OR goes through the in operator): champ is a filterable field of the catalogue served by GET /v1/lecture, op one of its operators, valeur typed by the field. Active legal persons by… |
page | string | No | Page number, 1 to 100, 100 companies per page; each page is a separate payment (default 1). |
tri | string | No | Sort field among identite.siren, finances.date_cloture, finances.ca, finances.resultat_net, finances.bfr_sur_ca, prefixed with - for descending order (default identite.siren); missing values come last in both orders. |
Example response
The provider's example. We can't check it without paying.
Example response, 59 lines
{
"champs": {
"identite.etat": {
"fraicheur": "sirene-stock-unites-legales",
"semantique": "état administratif Sirene : A active, C cessée",
"source": "sirene",
"type": "texte"
}
},
"criteres": [
{
"champ": "siege.departement",
"op": "=",
"valeur": "69"
},
{
"champ": "finances.ca",
"op": ">",
"valeur": 1000000
}
],
"disclaimer": "100 entreprises au plus par page payée, 100 pages au plus ; total exact et coupe dans listes_bornees ; valeurs absentes du tri en dernier ; chaque source datée dans stock.flux ; géographie du siège ; finances du dernier exercice social qualifié. / At most 100 companies per paid page, 100 pages at most; exact total and cut in listes_bornees; missing sort values last; each source dated in stock.flux; head-office geography; finances of the last qualified annual accounts.",
"listes_bornees": {
"resultats": {
"nombre_total": 23,
"tronque": false
}
},
"nombre_resultats": 23,
"page": 1,
"page_suivante": false,
"resultats": [
{
"finances": {
"ca": 4776841,
"date_cloture": "2022-12-31",
"resultat_net": -288587
},
"identite": {
"denomination": "SOCIETE FICTIVE 25",
"etat": "A",
"forme": "6540",
"naf": "47.11F",
"siren": "330864175",
"tranche_effectifs": "53"
},
"siege": {
"code_postal": "69003",
"commune": "COMMUNE FICTIVE 69383",
"departement": "69"
}
}
],
"tri": {
"champ": "finances.ca",
"ordre": "desc",
"valeurs_absentes": "en_dernier"
}
}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.sirenic.eu/v1/entreprises/requete/lister?criteres=%5B%7B%22champ%22%3A%22siege.departement%22%2C%22op%22%3A%22%3D%22%2C%22valeur%22%3A%2269%22%7D%2C%7B%22champ%22%3A%22finances.ca%22%2C%22op%22%3A%22%3E%22%2C%22valeur%22%3A1000000%7D%5D&page=1&tri=-finances.ca'
# 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.sirenic.eu/v1/entreprises/requete/lister?criteres=%5B%7B%22champ%22%3A%22siege.departement%22%2C%22op%22%3A%22%3D%22%2C%22valeur%22%3A%2269%22%7D%2C%7B%22champ%22%3A%22finances.ca%22%2C%22op%22%3A%22%3E%22%2C%22valeur%22%3A1000000%7D%5D&page=1&tri=-finances.ca' \
| 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.sirenic.eu%2Fv1%2Fentreprises%2Frequete%2Flister
const res = await pay("https://api.sirenic.eu/v1/entreprises/requete/lister?criteres=%5B%7B%22champ%22%3A%22siege.departement%22%2C%22op%22%3A%22%3D%22%2C%22valeur%22%3A%2269%22%7D%2C%7B%22champ%22%3A%22finances.ca%22%2C%22op%22%3A%22%3E%22%2C%22valeur%22%3A1000000%7D%5D&page=1&tri=-finances.ca");
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.sirenic.eu/v1/entreprises/requete/lister?criteres=%5B%7B%22champ%22%3A%22siege.departement%22%2C%22op%22%3A%22%3D%22%2C%22valeur%22%3A%2269%22%7D%2C%7B%22champ%22%3A%22finances.ca%22%2C%22op%22%3A%22%3E%22%2C%22valeur%22%3A1000000%7D%5D&page=1&tri=-finances.ca")
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 |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 205 ms | $0.02 |
| 12 h ago | Passed | 402 | 209 ms | $0.02 |
| 23 h ago | Passed | 402 | 187 ms | $0.02 |
| 35 h ago | Passed | 402 | 52 ms | $0.02 |
| 3 days ago | Timed out | - | - | - |
Show 10 older checks
| 5 days ago | Passed | 402 | 236 ms | $0.02 |
| 5 days ago | Passed | 402 | 203 ms | $0.02 |
| 6 days ago | Passed | 402 | 202 ms | $0.02 |
| 6 days ago | Passed | 402 | 224 ms | $0.02 |
| 6 days ago | Passed | 402 | 205 ms | $0.02 |
| 7 days ago | Passed | 402 | 184 ms | $0.02 |
| 7 days ago | Passed | 402 | 1.1 s | $0.02 |
| 7 days ago | Passed | 402 | 50 ms | $0.02 |
| 8 days ago | Passed | 402 | 230 ms | $0.02 |
| 8 days ago | Passed | 402 | 185 ms | $0.02 |