68trust / 100

Defaillance Lot

by Sirenic in Security & trust

x402 APIPassing, checked 2 h ago

Batch credit risk scoring of 2 to 100 French companies (comma-separated sirens): each line has the score, class and model version of GET /v1/score/defaillance/{siren} and a closed-list basket (expose, a_surveiller, sain, non_evaluable with its cause, cessee). Rank my customers by risk and monitor the 30 most exposed: chainage.surveillance lists the whole ranked expose basket (100 at most) with its 30-day quote, targets x unit price; keep the first 30. $0.07 per SIREN, unknown SIREN included.

GET
https://api.sirenic.eu/v1/score/defaillance/lot
Price
$0.14
per call in USDC
Uptime
100%
last 30 days
Response time
44 ms
208 ms slowest 5%
Last check
Passed
2 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

GET https://api.sirenic.eu/v1/score/defaillance/lot

Each call costs $0.14 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/score/defaillance/lot?sirens=000000042%2C000000075

Parameters

ParameterTypeRequiredDescription
sirensstringYesComma-separated 9-digit SIRENs, 2 to 100 (Luhn-checked, deduplicated). Billed PER COMPANY: the signed quote is $0.07 x the number of SIRENs (2-100), an unknown SIREN included.

Example response

The provider's example. We can't check it without paying.

Example response, 91 lines
{
  "chainage": {
    "surveillance": {
      "au_dela_du_plafond_client": false,
      "devis_30_jours": "$0.05",
      "nombre_cibles": 1,
      "parametres": {
        "cibles": "000000042",
        "duree": 30
      },
      "prix_unitaire_30_jours": "$0.05",
      "route": "GET /v1/surveillance/creer"
    }
  },
  "groupes": {
    "expose": [
      {
        "effectif": 1,
        "jeu_axes": 0
      }
    ],
    "non_evaluable": [
      {
        "effectif": 1,
        "jeu_axes": 1
      }
    ]
  },
  "jeux_axes": [
    [
      "structure",
      "rentabilite",
      "liquidite",
      "dette",
      "anciennete",
      "etat",
      "bodacc"
    ],
    [
      "anciennete",
      "etat",
      "bodacc"
    ]
  ],
  "lignes": [
    {
      "axes_calcules": 7,
      "classe": "risque_eleve",
      "confiance": "forte",
      "denomination": "SOCIETE FICTIVE DELTA",
      "jeu_axes": 0,
      "motifs_principaux": [
        "rentabilite",
        "structure",
        "liquidite"
      ],
      "panier": "expose",
      "score_risque": 66,
      "signaux_bodacc": {
        "cloture_insuffisance_actif": false,
        "liquidation_judiciaire": false,
        "procedure_collective": false
      },
      "siren": "000000042",
      "trouve": true,
      "version_modele": "defaillance-v1.9"
    },
    {
      "axes_calcules": 3,
      "cause": "aucun_exercice",
      "classe": "indetermine",
      "confiance": "faible",
      "denomination": "SOCIETE FICTIVE ETA",
      "jeu_axes": 1,
      "motifs_principaux": [],
      "panier": "non_evaluable",
      "score_risque": 0,
      "siren": "000000075",
      "trouve": true
    }
  ],
  "nombre_demande": 2,
  "nombre_trouve": 2,
  "paniers": {
    "a_surveiller": 0,
    "cessee": 0,
    "expose": 1,
    "non_evaluable": 1,
    "sain": 0
  }
}

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.14.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://api.sirenic.eu/v1/score/defaillance/lot?sirens=000000042%2C000000075'

# 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/score/defaillance/lot?sirens=000000042%2C000000075' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: 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.14 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.14" });
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.14 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.sirenic.eu%2Fv1%2Fscore%2Fdefaillance%2Flot
const res = await pay("https://api.sirenic.eu/v1/score/defaillance/lot?sirens=000000042%2C000000075");
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.14 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.14"})
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/score/defaillance/lot?sirens=000000042%2C000000075")
    print(res.status_code, res.text)

Security scan

1 finding

  • Charges more than its listed price in payment
    Listed at $0.07, charges $0.14

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed40242 ms$0.14
7 h agoPassed40243 ms$0.14
12 h agoPassed40244 ms$0.14
17 h agoPassed402204 ms$0.14
22 h agoPassed40243 ms$0.14
Show 10 older checks
27 h agoPassed402156 ms$0.14
32 h agoPassed402158 ms$0.14
37 h agoPassed402222 ms$0.14
41 h agoPassed40242 ms$0.14
46 h agoPassed40246 ms$0.14
2 days agoPassed40266 ms$0.14
2 days agoPassed40242 ms$0.14
2 days agoPassed40242 ms$0.14
3 days agoPassed402118 ms$0.14
3 days agoPassed40242 ms$0.14

History

11 Oct 2026Price changed from $0.07 to $0.14