81trust / 100

Requete Lister

by Sirenic in Company & people data

x402 APIPassing, checked 58 min ago

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.

GET https://api.sirenic.eu/v1/entreprises/requete/lister

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
33 ms typical, 33 ms slowest 5%
Last check
58 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X 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"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// 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(await res.json());

Example input

{
  "criteres": "[{\"champ\":\"siege.departement\",\"op\":\"=\",\"valeur\":\"69\"},{\"champ\":\"finances.ca\",\"op\":\">\",\"valeur\":1000000}]",
  "page": "1",
  "tri": "-finances.ca"
}

Example output

{
  "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"
  }
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
58 min agoPassed40233 ms$0.02
6 h agoPassed402129 ms$0.02