🏢 x402 SIRET / SIREN API

Validation et enrichissement d'entreprises françaises via la base SIRENE officielle (data.gouv.fr).
Paiement micropayment 0.003 USDC par appel via le protocole x402.

Wallet récepteur

0x6458941857a70C6cA18c440a316035A21901A12b
Réseau : Base (USDC) · Asset : 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Endpoints

MéthodeRouteDescriptionPrix
POST/siretRecherche par SIRET (14 chiffres)0.003 USDC
POST/sirenRecherche par SIREN (9 chiffres) + dirigeants0.003 USDC
GET/healthStatut du serviceGratuit
GET/statsStatistiques paiementsGratuit
GET/docsCette pageGratuit

Exemple POST /siret

POST /siret
X-PAYMENT: <base64-payment-proof>
Content-Type: application/json

{"siret": "55208131766522"}

// Réponse 200 OK
{
  "siret": "55208131766522",
  "siren": "552081317",
  "nom": "ELECTRICITE DE FRANCE",
  "sigle": "EDF",
  "adresse": "22-30 22 AVENUE DE WAGRAM 75008 PARIS",
  "code_postal": "75008",
  "ville": "PARIS",
  "activite_principale": "35.11Z",
  "categorie": "GE",
  "etat": "A",
  "dirigeants": [{"nom": "...", "qualite": "PDG", ...}]
}

Sans paiement → HTTP 402

HTTP/1.1 402 Payment Required
{
  "x402Version": 1,
  "accepts": [{
    "scheme": "exact", "network": "base",
    "maxAmountRequired": "0.003",
    "payTo": "0x6458941857a70C6cA18c440a316035A21901A12b",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
  }],
  "error": "Payment required"
}