# store402 > store402 is an online store whose customers are AI agents: every paid endpoint is protected by the x402 payment protocol and paid in USDC (scheme "exact"), on the active rails only. Active rails: eip155:8453 + solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp — mainnet (REAL USDC). Prices are per call, in USDC, scheme "exact". ## Discovery - [Catalog (JSON)](https://api.store402.fr/catalog): machine-readable list of all services, prices, free tier and discovery links. - [OpenAPI 3.1 description](https://api.store402.fr/openapi.json): full API generated from the catalog (parameters, bodies, x-x402 extension per paid operation). - [x402 discovery manifest](https://api.store402.fr/.well-known/x402): networks, facilitators, USDC assets, payTo, resources with prices. - [AI plugin manifest](https://api.store402.fr/.well-known/ai-plugin.json) and [agent card](https://api.store402.fr/.well-known/agent.json). - [llms.txt (this file)](https://api.store402.fr/llms.txt), [llms-full.txt](https://api.store402.fr/llms-full.txt), [health check](https://api.store402.fr/health), [robots.txt](https://api.store402.fr/robots.txt), [sitemap.xml](https://api.store402.fr/sitemap.xml). ## Services - [GDPR letter](https://api.store402.fr/rgpd-letter) — Generate a French GDPR request letter — POST `/rgpd-letter` — **0.05 USDC** — example: POST https://api.store402.fr/rgpd-letter with JSON body {"company":"ACME","subject":"erasure"} - [On-chain report](https://api.store402.fr/onchain-report) — Get an on-chain report for an address — GET `/onchain-report` — **0.02 USDC** — params: address (required), chain — example: GET https://api.store402.fr/onchain-report?address=0x000000000000000000000000000000000000dead&chain=base - [Price snapshot](https://api.store402.fr/price-snapshot) — Get a crypto pair price snapshot — GET `/price-snapshot` — **0.005 USDC** — free-tier eligible — params: pair (required) — example: GET https://api.store402.fr/price-snapshot?pair=BTC-USDC - [Summarize](https://api.store402.fr/summarize) — Summarize a text into its key sentences — POST `/summarize` — **0.005 USDC** — free-tier eligible — example: POST https://api.store402.fr/summarize with JSON body {"text":"store402 is a store for AI agents. Payments use the x402 protocol in USDC. The free tier offers 3 calls per day."} - [Trust check](https://api.store402.fr/trust-check) — Check an x402 endpoint before paying it — GET `/trust-check` — **0.01 USDC** — free-tier eligible — params: url (required) — example: GET https://api.store402.fr/trust-check?url=https%3A%2F%2Fexample.com%2Fsome-paid-endpoint - [Safe read](https://api.store402.fr/safe-read) — Read a web page as injection-safe Markdown — GET `/safe-read` — **0.008 USDC** — free-tier eligible — params: url (required) — example: GET https://api.store402.fr/safe-read?url=https%3A%2F%2Fexample.com%2Farticle - [Lecture sûre (pack)](https://api.store402.fr/packs/safe-read-summary) — Read a web page safely and summarize it — GET `/packs/safe-read-summary` — **0.01 USDC** — params: url (required) — example: GET https://api.store402.fr/packs/safe-read-summary?url=https%3A%2F%2Fexample.com%2Farticle - [Pré-vol (pack)](https://api.store402.fr/packs/preflight) — Check a URL then read it safely — GET `/packs/preflight` — **0.015 USDC** — params: url (required) — example: GET https://api.store402.fr/packs/preflight?url=https%3A%2F%2Fexample.com%2Fsome-paid-endpoint - [Brief marché (pack)](https://api.store402.fr/packs/market-brief) — Get live prices and a wallet report — GET `/packs/market-brief` — **0.02 USDC** — params: pair (required), address (required) — example: GET https://api.store402.fr/packs/market-brief?pair=BTC-USDC&address=0x000000000000000000000000000000000000dead - [Due diligence (pack)](https://api.store402.fr/packs/due-diligence) — Inspect URL wallet and company records — GET `/packs/due-diligence` — **0.03 USDC** — params: url (required), address (required), siren, q — example: GET https://api.store402.fr/packs/due-diligence?url=https%3A%2F%2Fexample.com%2Fsome-paid-endpoint&address=0x000000000000000000000000000000000000dead&siren=552100554&q=EDF - [France — company lookup](https://api.store402.fr/fr/company) — Look up a French company by SIREN or SIRET — GET `/fr/company` — **0.01 USDC** — free-tier eligible — params: siren, siret, q — example: GET https://api.store402.fr/fr/company?siren=552100554&siret=55210055400018&q=EDF - [France — geocode](https://api.store402.fr/fr/geocode) — Convert a French address to coordinates — GET `/fr/geocode` — **0.005 USDC** — free-tier eligible — params: address (required) — example: GET https://api.store402.fr/fr/geocode?address=10%20avenue%20de%20Wagram%20Paris - [France — reverse geocode](https://api.store402.fr/fr/reverse) — Convert coordinates to a French address — GET `/fr/reverse` — **0.005 USDC** — free-tier eligible — params: lat (required), lon (required) — example: GET https://api.store402.fr/fr/reverse?lat=48.8566&lon=2.3522 - [France — jours fériés](https://api.store402.fr/fr/holidays) — List the French public holidays of a year — GET `/fr/holidays` — **0.005 USDC** — free-tier eligible — params: year, zone — example: GET https://api.store402.fr/fr/holidays?year=2026&zone=metropole - [France — DVF+ mutations](https://api.store402.fr/fr/dvf) — Get real-estate sale prices for a city — GET `/fr/dvf` — **0.015 USDC** — params: code_insee (required), type, limit — example: GET https://api.store402.fr/fr/dvf?code_insee=75056&type=appartement&limit=20 - [France — BODACC](https://api.store402.fr/fr/bodacc) — List the latest BODACC notices of a SIREN — GET `/fr/bodacc` — **0.02 USDC** — params: siren (required) — example: GET https://api.store402.fr/fr/bodacc?siren=552100554 - [France — gel des avoirs](https://api.store402.fr/fr/sanctions) — Search the French sanctions register — GET `/fr/sanctions` — **0.02 USDC** — params: q (required) — example: GET https://api.store402.fr/fr/sanctions?q=ACME - [UE — validation TVA VIES](https://api.store402.fr/eu/vat) — Validate an EU VAT number against VIES — GET `/eu/vat` — **0.01 USDC** — params: vat (required) — example: GET https://api.store402.fr/eu/vat?vat=FR12345678901 ## How to pay (x402) 1. Call any paid endpoint WITHOUT a payment header: the server answers **HTTP 402** with a `PAYMENT-REQUIRED` response header (x402 v2, used by this server and the official SDK @x402/* v2.x) containing the base64url-encoded JSON `PaymentRequired`: `accepts[]` (one entry per active rail: scheme "exact", network, USDC asset, payTo, amount in atomic units — USDC has 6 decimals), plus the `bazaar` discovery extension describing the input/output of the resource. (x402 v1 legacy: the 402 body carries the PaymentRequired JSON instead of the header.) 2. Pick one `accepts` entry (network + USDC asset), sign a payment payload for `payTo` with your wallet, and replay the SAME request with the payment header: **`PAYMENT-SIGNATURE`** for x402 v2 (official SDK @x402/core v2.x, see `encodePaymentSignatureHeader` in @x402/core: x402Version 2 -> PAYMENT-SIGNATURE, x402Version 1 -> X-PAYMENT), or **`X-PAYMENT`** for x402 v1. 3. The facilitator verifies and settles the payment, then the endpoint runs and answers 200 JSON (with an `X-PAYMENT-RESPONSE` header on v2). - Read-only probes (T15): a **GET** on a POST-only paid route (e.g. `GET /summarize`, `GET /rgpd-letter`) answers the SAME **402** challenge as the POST — identical accepts, prices, payTo and networks, and the bazaar extension announcing `info.input.method: "POST"` with the JSON body type and input schema — so registries (x402scan, Bazaar, pay.sh) can index the service without paying. A GET that carries a payment header is NEVER verified or settled: it answers **405 with `Allow: POST`**. These GET probes never consume the free tier. - Free tier: 3 free calls per client IP per UTC day (per-client-ip-per-utc-day) on price-snapshot, summarize, trust-check, safe-read, fr-company, fr-geocode, fr-reverse, fr-holidays — mode "opt-in". In "opt-in" (default) a free call is granted only when the request carries the header `X-Store402-Free-Tier: 1` (otherwise a normal 402, no quota consumed); in "auto" every eligible request claims the offer; "off" disables the free tier. Served free calls answer without payment while the final response is < 400, with the headers `X-Free-Calls-Limit` / `X-Free-Calls-Remaining` (sent only to requests that asked for the offer, or in auto mode). The pack is not free-tier eligible. Configure with FREE_CALLS_PER_DAY (0 = disabled) and FREE_TIER_MODE. - Active networks and USDC assets: eip155:8453 -> 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913; solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp -> EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v. payTo per network: eip155:8453 -> 0x8Fcd9422A8a5f9Df641b9CF37663BbFB0b99490c; solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp -> 55TjdrvwPCqKTBMkKUCQvM369X53EjepeRnn3bHfbr7c. - Facilitators: EVM https://facilitator.payai.network — Solana https://facilitator.payai.network. - Errors are never charged: a 4xx/5xx answer from a paid handler cancels the settlement (the verified payment is NOT settled). ## Services — full reference ### GDPR letter — `POST /rgpd-letter` — 0.05 USDC OpenAPI summary: Generate a French GDPR request letter Real French RGPD letter template (articles 15/17 cited, CNIL contact, disclaimer) for a company; dataMode "template", no network call. Request body (application/json): JSON object; `company` (1-200 chars, the recipient of the letter), `siren` (optional, 9 digits), `email` (optional, the data subject's contact email) and `subject` (optional, `access` (art. 15) or `erasure` (art. 17), default `access`). ```json { "company": "ACME", "subject": "erasure" } ``` Example request: `POST https://api.store402.fr/rgpd-letter` Example 200 response: ```json { "service": "rgpd-letter", "dataMode": "template", "language": "fr", "letter": { "to": "ACME, Délégué à la protection des données", "subject": "Demande d'effacement (art. 17 RGPD)", "body": "Madame, Monsieur, ...", "generatedAt": "2026-11-24T19:36:00.000Z" }, "disclaimer": "Modèle de lettre, pas un conseil juridique." } ``` Documented error statuses besides 200/402: 400. ### On-chain report — `GET /onchain-report` — 0.02 USDC OpenAPI summary: Get an on-chain report for an address LIVE read-only on-chain report (native + USDC balances, tx count, documented risk rules) via the public mainnet RPCs of Base and Solana; EVM or Solana address. Parameters (query string): - `address` (required): Wallet address: EVM (0x + 40 hex) or Solana (base58, 32-44 chars). Example: `0x000000000000000000000000000000000000dead`. - `chain` (optional): Optional chain hint: `base` (EVM) or `solana`; deduced from the address format when omitted. Example: `base`. Example request: `GET https://api.store402.fr/onchain-report?address=0x000000000000000000000000000000000000dead&chain=base` Example 200 response: ```json { "service": "onchain-report", "dataMode": "live", "address": "0x000000000000000000000000000000000000dead", "chain": "base", "report": { "balanceNative": "0.0000", "balanceUsdc": "0.000000", "txCount": 0, "riskScore": "high", "riskRules": [ "txCount == 0 -> high" ] }, "sources": [ { "name": "Base mainnet public RPC", "url": "https://mainnet.base.org" } ] } ``` Documented error statuses besides 200/402: 400, 502, 504. ### Price snapshot — `GET /price-snapshot` — 0.005 USDC (free-tier eligible) OpenAPI summary: Get a crypto pair price snapshot LIVE price snapshot for a whitelisted pair (BTC-USDC, ETH-USDC, SOL-USDC) from the keyless Coinbase Exchange public API, 30 s cache; T17: the *-USDC products are delisted, the equivalent *-USD product is queried (USDC ≈ USD, stated in the answer); 502/504 on upstream failure (never charged). Parameters (query string): - `pair` (required): Whitelisted trading pair: BTC-USDC, ETH-USDC, SOL-USDC. T17: served from the equivalent Coinbase *-USD product (USDC ≈ USD). Example: `BTC-USDC`. Example request: `GET https://api.store402.fr/price-snapshot?pair=BTC-USDC` Example 200 response: ```json { "service": "price-snapshot", "dataMode": "live", "pair": "BTC-USDC", "priceUsdc": "67250.00", "variation24hPct": 1.85, "quote": "USD", "quoteNote": "Coinbase ne sert plus les produits *-USDC : prix du produit *-USD correspondant, USDC ≈ USD (parité 1:1).", "ts": "2026-11-24T19:36:00.000Z", "source": { "name": "Coinbase Exchange public API", "url": "https://api.exchange.coinbase.com/products/BTC-USD/stats", "license": "Public market data (Coinbase), attribution required" } } ``` Documented error statuses besides 200/402: 400, 502, 504. ### Summarize — `POST /summarize` — 0.005 USDC (free-tier eligible) OpenAPI summary: Summarize a text into its key sentences Extractive text summarization (top 3 sentences), computed locally; the submitted text is never logged. Request body (application/json): JSON object with a `text` field (1 to 10000 characters). The submitted text is never logged. ```json { "text": "store402 is a store for AI agents. Payments use the x402 protocol in USDC. The free tier offers 3 calls per day." } ``` Example request: `POST https://api.store402.fr/summarize` Example 200 response: ```json { "service": "summarize", "dataMode": "computed", "sentences": [ "store402 is a store for AI agents." ], "stats": { "sentencesIn": 3, "sentencesOut": 1 } } ``` Documented error statuses besides 200/402: 400. ### Trust check — `GET /trust-check` — 0.01 USDC (free-tier eligible) OpenAPI summary: Check an x402 endpoint before paying it Checks whether a third-party x402 endpoint is payable: one GET (no payment header), SSRF-safe, verdict pay/caution/avoid. Parameters (query string): - `url` (required): https URL of the third-party x402 endpoint to check (one GET, no payment header, SSRF-safe). Example: `https://example.com/some-paid-endpoint`. Example request: `GET https://api.store402.fr/trust-check?url=https%3A%2F%2Fexample.com%2Fsome-paid-endpoint` Example 200 response: ```json { "service": "trust-check", "verdict": "caution", "checks": [ { "id": "https", "status": "pass" } ] } ``` Documented error statuses besides 200/402: 400, 502. ### Safe read — `GET /safe-read` — 0.008 USDC (free-tier eligible) OpenAPI summary: Read a web page as injection-safe Markdown Fetches ONE public web page (SSRF-safe, one GET, https only) and returns a sanitized Markdown + local prompt-injection report (verdict clean/suspicious/dangerous). Parameters (query string): - `url` (required): https URL of the public page to read safely (one GET, SSRF-safe). Example: `https://example.com/article`. Example request: `GET https://api.store402.fr/safe-read?url=https%3A%2F%2Fexample.com%2Farticle` Example 200 response: ```json { "service": "safe-read", "url": "https://example.com/article", "markdown": "# Example\n...", "injection": { "verdict": "clean" } } ``` Documented error statuses besides 200/402: 400, 415, 502. ### Lecture sûre (pack) — `GET /packs/safe-read-summary` — 0.01 USDC OpenAPI summary: Read a web page safely and summarize it Pack « Lecture sûre »: safe-read of the page + local extractive summary of the cleaned Markdown (0.01 USDC instead of 0.013 USDC at unit price). Parameters (query string): - `url` (required): https URL of the public page to read safely + summarize (pack « Lecture sûre »). Example: `https://example.com/article`. Example request: `GET https://api.store402.fr/packs/safe-read-summary?url=https%3A%2F%2Fexample.com%2Farticle` Example 200 response: ```json { "service": "pack-safe-read-summary", "url": "https://example.com/article", "markdown": "# Example\n...", "summary": { "sentences": [ "..." ] } } ``` Documented error statuses besides 200/402: 400, 415, 502. ### Pré-vol (pack) — `GET /packs/preflight` — 0.015 USDC OpenAPI summary: Check a URL then read it safely Pack « Pré-vol »: trust-check + safe-read of the same https URL in one call (0.015 USDC instead of 0.01 + 0.008 = 0.018 USDC at unit price). Parameters (query string): - `url` (required): https URL of the unknown endpoint/page to check AND read safely (pack « Pré-vol »). Example: `https://example.com/some-paid-endpoint`. Example request: `GET https://api.store402.fr/packs/preflight?url=https%3A%2F%2Fexample.com%2Fsome-paid-endpoint` Example 200 response: ```json { "service": "pack-preflight", "pack": "preflight", "url": "https://example.com/some-paid-endpoint", "trustCheck": { "verdict": "caution", "score": 80 }, "safeRead": { "markdown": "# Example\n...", "injection": { "verdict": "clean" } }, "generatedAt": "2026-11-24T19:36:00.000Z" } ``` Documented error statuses besides 200/402: 400, 415, 502. ### Brief marché (pack) — `GET /packs/market-brief` — 0.02 USDC OpenAPI summary: Get live prices and a wallet report Pack « Brief marché »: live price-snapshot of the pair + live onchain-report of the address in one call (0.02 USDC instead of 0.005 + 0.02 = 0.025 USDC at unit price). Parameters (query string): - `pair` (required): Whitelisted trading pair: BTC-USDC, ETH-USDC, SOL-USDC. Example: `BTC-USDC`. - `address` (required): Wallet address for the on-chain report: EVM (0x + 40 hex) or Solana (base58). Example: `0x000000000000000000000000000000000000dead`. Example request: `GET https://api.store402.fr/packs/market-brief?pair=BTC-USDC&address=0x000000000000000000000000000000000000dead` Example 200 response: ```json { "service": "pack-market-brief", "pack": "market-brief", "pair": "BTC-USDC", "address": "0x000000000000000000000000000000000000dead", "priceSnapshot": { "dataMode": "live", "pair": "BTC-USDC", "priceUsdc": "67250.00" }, "onchainReport": { "dataMode": "live", "chain": "base", "report": { "balanceUsdc": "0.000000", "txCount": 0, "riskScore": "high" } }, "generatedAt": "2026-11-24T19:36:00.000Z" } ``` Documented error statuses besides 200/402: 400, 502, 504. ### Due diligence (pack) — `GET /packs/due-diligence` — 0.03 USDC OpenAPI summary: Inspect URL wallet and company records Pack « Due diligence »: trust-check of the URL + live onchain-report of the address + fr/company lookup (SIREN or name) in one call (0.03 USDC instead of 0.01 + 0.02 + 0.01 = 0.04 USDC at unit price). Parameters (query string): - `url` (required): https URL of the endpoint/site to control (trust-check). Example: `https://example.com/some-paid-endpoint`. - `address` (required): Wallet address for the on-chain report: EVM (0x + 40 hex) or Solana (base58). Example: `0x000000000000000000000000000000000000dead`. - `siren` (optional): SIREN of the French company (exactly one of siren|q). Example: `552100554`. - `q` (optional): Company name search for fr/company (exactly one of siren|q). Example: `EDF`. Example request: `GET https://api.store402.fr/packs/due-diligence?url=https%3A%2F%2Fexample.com%2Fsome-paid-endpoint&address=0x000000000000000000000000000000000000dead&siren=552100554&q=EDF` Example 200 response: ```json { "service": "pack-due-diligence", "pack": "due-diligence", "trustCheck": { "verdict": "caution", "score": 80 }, "onchainReport": { "dataMode": "live", "chain": "base", "report": { "balanceUsdc": "0.000000", "txCount": 0, "riskScore": "high" } }, "company": { "dataMode": "live", "results": [ { "siren": "552100554", "name": "EDF" } ], "count": 1 }, "generatedAt": "2026-11-24T19:36:00.000Z" } ``` Documented error statuses besides 200/402: 400, 415, 502, 504. ### France — company lookup — `GET /fr/company` — 0.01 USDC (free-tier eligible) OpenAPI summary: Look up a French company by SIREN or SIRET French company lookup by SIREN / SIRET / name (q) via the keyless API Recherche d'entreprises (api.gouv.fr): normalized SIREN/SIRET/name/legal form/NAF/status/headquarters/directors, max 5 results. Parameters (query string): - `siren` (optional): Exactly ONE of siren|siret|q. SIREN: 9 digits, Luhn-valid (pattern ^\d{9}$). Example: `552100554`. - `siret` (optional): SIRET: 14 digits, Luhn-valid (La Poste 356000000xxxxx exception: digit sum multiple of 5) (pattern ^\d{14}$). Example: `55210055400018`. - `q` (optional): Company name search, 3 to 100 characters. Example: `EDF`. Example request: `GET https://api.store402.fr/fr/company?siren=552100554&siret=55210055400018&q=EDF` Example 200 response: ```json { "service": "fr-company", "query": { "kind": "siren", "value": "552100554" }, "results": [ { "siren": "552100554", "name": "EDF" } ] } ``` Documented error statuses besides 200/402: 400, 502, 504. ### France — geocode — `GET /fr/geocode` — 0.005 USDC (free-tier eligible) OpenAPI summary: Convert a French address to coordinates Geocodes a French address to GPS coordinates via the keyless Géoplateforme IGN BAN (data.geopf.fr), max 5 results. Parameters (query string): - `address` (required): French address to geocode (3 to 200 characters). Example: `10 avenue de Wagram Paris`. Example request: `GET https://api.store402.fr/fr/geocode?address=10%20avenue%20de%20Wagram%20Paris` Example 200 response: ```json { "service": "fr-geocode", "address": "10 avenue de Wagram Paris", "results": [ { "label": "10 Avenue de Wagram 75017 Paris", "lat": 48.879, "lon": 2.304 } ] } ``` Documented error statuses besides 200/402: 400, 502, 504. ### France — reverse geocode — `GET /fr/reverse` — 0.005 USDC (free-tier eligible) OpenAPI summary: Convert coordinates to a French address Reverse geocodes lat/lon (France métropole + DOM-TOM emprise) to the nearest BAN address via the keyless Géoplateforme IGN (data.geopf.fr), max 5 results. Same price as fr-geocode, own x402 route. Parameters (query string): - `lat` (required): Latitude inside the France emprise (métropole + DOM-TOM). Example: `48.8566`. - `lon` (required): Longitude inside the France emprise (métropole + DOM-TOM). Example: `2.3522`. Example request: `GET https://api.store402.fr/fr/reverse?lat=48.8566&lon=2.3522` Example 200 response: ```json { "service": "fr-reverse", "lat": 48.8566, "lon": 2.3522, "results": [ { "label": "8 Boulevard du Palais 75001 Paris" } ] } ``` Documented error statuses besides 200/402: 400, 502, 504. ### France — jours fériés — `GET /fr/holidays` — 0.005 USDC (free-tier eligible) OpenAPI summary: List the French public holidays of a year Lists the French public holidays of a year and zone (métropole + outre-mer) via calendrier.api.gouv.fr (DINUM), keyless, max one call per year/zone cached 10 min. Parameters (query string): - `year` (optional): 4-digit year (default: current UTC year). Example: `2026`. - `zone` (optional): Zone: metropole, alsace-moselle, guadeloupe, martinique, guyane, la-reunion, mayotte, saint-pierre-et-miquelon, saint-barthelemy, saint-martin, nouvelle-caledonie, polynesie-francaise, wallis-et-futuna (default metropole). Example: `metropole`. Example request: `GET https://api.store402.fr/fr/holidays?year=2026&zone=metropole` Example 200 response: ```json { "service": "fr-holidays", "dataMode": "live", "year": "2026", "zone": "metropole", "holidays": [ { "date": "2026-01-01", "name": "Jour de l'an" }, { "date": "2026-07-14", "name": "Fête nationale" } ], "count": 11, "source": { "name": "calendrier.api.gouv.fr (DINUM)", "url": "https://calendrier.api.gouv.fr/jours-feries/metropole/2026.json", "license": "Etalab 2.0" } } ``` Documented error statuses besides 200/402: 400, 502, 504. ### France — DVF+ mutations — `GET /fr/dvf` — 0.015 USDC OpenAPI summary: Get real-estate sale prices for a city Real-estate mutations (ventes à titre onéreux) of a commune via the DVF+ OPEN-DATA API of the API données foncières (Cerema, apidf-preprod.cerema.fr), keyless: aggregates (median price, median €/m²) + sample of mutations with public fields only, no personal identifiers. DV3F / Fichiers fonciers (restricted) are NEVER called. T18: the Cerema API only knows arrondissement codes for Paris/Lyon/Marseille — a city code (75056/69123/13055) is expanded to its arrondissements (75101-75120, 69381-69389, 13201-13216) and answered as an aggregate (`aggregate: true` + `arrondissements`); an arrondissement code (e.g. 75101) is accepted directly. T19: resilient to the slow preprod — 25 s timeout per arrondissement under a 45 s global budget with adapted concurrency (8); when at least one arrondissement answers, the aggregate is returned possibly PARTIAL (`partial: true` + `arrondissements_ok` + `arrondissements_manquants`, billed since at least one result); only when none answers is it an explicit 504, never billed. Each arrondissement is cached in memory 1 h, so the next calls complete the aggregate; a simple commune gets a 25 s timeout and an explicit 504 (never billed) on failure. Parameters (query string): - `code_insee` (required): INSEE code of the commune or of an arrondissement (5 digits). Paris (75056), Lyon (69123) and Marseille (13055) are expanded to their arrondissement codes (75101-75120, 69381-69389, 13201-13216) and answered as an aggregate queried with a 25 s timeout per arrondissement under a 45 s global budget: when at least one arrondissement answers, the response is `partial: true` with `arrondissements_ok` and `arrondissements_manquants` (the missing ones); only when none answers is the answer a 504. An arrondissement code (e.g. 75101 for Paris 1er) is accepted directly (25 s timeout, 504 on failure). Example: `75056`. - `type` (optional): Optional local type filter: appartement | maison | terrain | local. Example: `appartement`. - `limit` (optional): Maximum number of mutations returned (1 to 20, default 20). Example: `20`. Example request: `GET https://api.store402.fr/fr/dvf?code_insee=75056&type=appartement&limit=20` Example 200 response: ```json { "service": "fr-dvf", "dataMode": "live", "codeInsee": "75056", "aggregate": true, "partial": true, "arrondissements": [ "75101", "75102", "75103", "75104", "75105", "75106", "75107", "75108", "75109", "75110", "75111", "75112", "75113", "75114", "75115", "75116", "75117", "75118", "75119", "75120" ], "arrondissements_ok": [ "75101", "75102", "75103", "75104", "75105", "75106", "75107", "75108", "75109", "75110", "75111", "75112", "75113", "75114", "75115", "75116", "75117", "75118" ], "arrondissements_manquants": [ "75119", "75120" ], "aggregates": { "count": 20, "medianValeur": "450000", "medianPrixM2": "12500.5" }, "mutations": [ { "date": "2026-11-12", "type": "Appartement", "surface": 59.41, "valeur": "342700", "prixM2": "5768.39", "codePostal": "75005", "commune": "Paris 5e" }, { "date": "2026-11-03", "type": "Appartement", "surface": 41.2, "valeur": "510000", "prixM2": "12378.64", "codePostal": "75011", "commune": "Paris 11e" } ], "source": { "name": "API données foncières DVF+ open-data (Cerema)", "url": "https://apidf-preprod.cerema.fr/dvf_opendata/mutations/", "license": "Etalab 2.0" } } ``` Documented error statuses besides 200/402: 400, 504. ### France — BODACC — `GET /fr/bodacc` — 0.02 USDC OpenAPI summary: List the latest BODACC notices of a SIREN Latest BODACC annonces (ventes, immatriculations, modifications, procédures collectives) of a SIREN via the DILA opendatasoft explore v2.0 API (T17: dataset annonces-commerciales, champ SIREN `registre`), keyless, max 20, licence Ouverte 2.0. Parameters (query string): - `siren` (required): SIREN of the company (9 digits, Luhn-valid). Example: `552100554`. Example request: `GET https://api.store402.fr/fr/bodacc?siren=552100554` Example 200 response: ```json { "service": "fr-bodacc", "dataMode": "live", "siren": "552100554", "annonces": [ { "date": "2026-11-18", "type": "Vente", "tribunal": "Tribunal de commerce de Paris", "detail": "Cession de parts" } ], "count": 1, "source": { "name": "API BODACC DILA — dataset annonces-commerciales (bodacc-datadila.opendatasoft.com)", "url": "https://bodacc-datadila.opendatasoft.com/api/explore/v2.0/catalog/datasets/annonces-commerciales/records", "license": "Etalab 2.0" } } ``` Documented error statuses besides 200/402: 400, 502, 504. ### France — gel des avoirs — `GET /fr/sanctions` — 0.02 USDC OpenAPI summary: Search the French sanctions register Prudent lookup (exact substring on normalized published names, no fuzzy) in the registre national des gels des avoirs (DG Trésor, gels-avoirs.dgtresor.gouv.fr — User-Agent mandatory, sent by the outbound client): match true/false + published public fields + register publication date. Consultation aid, not a labelled compliance opinion. Parameters (query string): - `q` (required): Published name/alias to look up (4 to 100 characters). Exact substring match on the normalized published name — no fuzzy matching. Example: `ACME`. Example request: `GET https://api.store402.fr/fr/sanctions?q=ACME` Example 200 response: ```json { "service": "fr-sanctions", "dataMode": "live", "query": "EDF", "match": false, "hits": 0, "maxHits": 10, "registerUpdatedAt": "24/11/2026 09:37:07", "source": { "name": "API Gels des avoirs — registre national (DG Trésor)", "url": "https://gels-avoirs.dgtresor.gouv.fr/ApiPublic/api/v1/", "license": "Etalab 2.0" }, "disclaimer": "Aide a la consultation du registre officiel ; pas un avis de conformite labellise." } ``` Documented error statuses besides 200/402: 400, 502, 504. ### UE — validation TVA VIES — `GET /eu/vat` — 0.01 USDC OpenAPI summary: Validate an EU VAT number against VIES Validates one EU VAT number against VIES (Commission européenne, REST check, one number per call per the VIES conditions of use): valid true/false + country, name and address when VIES returns them. T17: a VIES userError other than VALID/INVALID (MS_MAX_CONCURRENT_REQ, MS_UNAVAILABLE, TIMEOUT…) answers 503, never « invalid », and is never charged. Parameters (query string): - `vat` (required): EU VAT number: 2-letter country code + 8 to 12 alphanumeric characters (e.g. FR12345678901). Example: `FR12345678901`. Example request: `GET https://api.store402.fr/eu/vat?vat=FR12345678901` Example 200 response: ```json { "service": "eu-vat", "dataMode": "live", "vat": "FR12345678901", "valid": true, "countryCode": "FR", "name": "EXAMPLE SAS", "address": "1 RUE DE LA PAIX 75001 PARIS", "source": { "name": "VIES — Commission européenne", "url": "https://ec.europa.eu/taxation_customs/vies/rest-api/ms/FR/vat/FR12345678901", "license": "Service public de l'UE, conditions VIES (un numéro par appel)" }, "disclaimer": "Reflete la reponse VIES a l'instant T." } ``` Documented error statuses besides 200/402: 400, 502, 503, 504.