{
  "name": "French Companies SIRENE Lookup API",
  "version": "1.1.1",
  "docs": "https://sirene-lookup-api.corinaflorea8.workers.dev/docs",
  "auth": "Send your Gumroad license key in the X-License-Key header (or Authorization: Bearer <key>).",
  "endpoints": {
    "GET /v1/siren/{siren}": "Company by 9-digit SIREN. ?include=directors to add directors.",
    "GET /v1/siret/{siret}": "Establishment by 14-digit SIRET, with its company.",
    "GET /v1/search": "q (name/address), postal_code, naf, department, region, active (default true), sole_trader, page, per_page (max 25).",
    "GET /v1/usage": "Your calls this month and remaining quota.",
    "GET /v1/health": "No auth. Service status."
  },
  "fair_use": "5000 data calls per license per calendar month (UTC), max 60 calls/minute per key (enforced). Calls rejected for input, auth, rate limit or upstream errors are not counted toward the monthly quota.",
  "attribution": {
    "source": "INSEE, répertoire Sirene, via API Recherche d'entreprises (DINUM, recherche-entreprises.api.gouv.fr)",
    "licence": "Licence Ouverte / Open Licence 2.0 (Etalab)",
    "licence_url": "https://www.etalab.gouv.fr/licence-ouverte-open-licence/",
    "notice": "Not an official service. Partially diffused records (diffusion.status != \"O\") are masked. commercial_opt_out=true means the record must not be used for commercial prospecting (GDPR art. 21). Data on sole traders (entrepreneurs individuels) is personal data under the GDPR."
  }
}