API B2B · Contrat v1.0

L'infrastructure
de confiance de ton produit auto.

Intègre AVA dans ton concessionnaire, agrégateur ou marketplace. Scoring fiabilité moteur, détection d'arnaque, cote marché, calibration par feedback. Contrat HMAC-signé, 3 300+ véhicules référencés, 9 000+ pannes indexées.

Véhicules référencés
3 300+
Pannes indexées
9 000+
Uptime SLA
99.9 %
Latence P99
< 400ms

Endpoints disponibles

MéthodeEndpointDescriptionv
POST/v1/analyzeScoring principal : offre d'emploi, contrat, annonce auto, deal B2B.1.0
GET/v1/analyzeLiveness probe (sans auth).1.0
POST/v1/feedback/{analysis_id}Outcome feedback — nourrit le loop de calibration.1.1
GET/v1/market/timelineTime-series marché (France Travail, 15 ROMEs × 7 départements).1.3
POST/v1/simulate/{analysis_id}What-If simulator : déterministe, zéro LLM, 1h in-memory cache.1.3

Authentification · HMAC SHA-256

Chaque requête transporte la signature dans le header X-Nexus-Signature. Le corps brut de la requête est signé HMAC-SHA256 avec le shared_secret que tu obtiens en signant le contrat. La vérification utilise timingSafeEqual côté serveur (pas de timing attacks).

Header
X-Nexus-Signature
Format
sha256=<hex>
Secret rotation
tous les 90 jours

Playground interactif

Playground · signe ta requête en live

Choisis un endpoint, colle ton payload, récupère la signature HMAC-SHA256 + la commande curl. La signature se calcule dans ton navigateur (Web Crypto API), ton secret ne quitte jamais la page.

Exemples de code

Node.js / TypeScript
import { createHmac } from "node:crypto";

const SECRET = process.env.AVA_NEXUS_SHARED_SECRET!;
const body = JSON.stringify({ object_type: "job_offer", format: "full", object: {...} });

const signature = "sha256=" + createHmac("sha256", SECRET).update(body).digest("hex");

const res = await fetch("https://avantachat.com/v1/analyze", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "X-Nexus-Signature": signature,
    "X-Nexus-Version": "v1.0",
    "X-Nexus-Request-Id": crypto.randomUUID(),
  },
  body,
});
const { analysis_id, score, flags } = await res.json();
Python
import hmac, hashlib, json, uuid, requests, os

SECRET = os.environ["AVA_NEXUS_SHARED_SECRET"].encode()
body = json.dumps({"object_type": "job_offer", "format": "full", "object": {...}}, separators=(",", ":"))

signature = "sha256=" + hmac.new(SECRET, body.encode(), hashlib.sha256).hexdigest()

r = requests.post(
    "https://avantachat.com/v1/analyze",
    headers={
        "Content-Type": "application/json",
        "X-Nexus-Signature": signature,
        "X-Nexus-Version": "v1.0",
        "X-Nexus-Request-Id": str(uuid.uuid4()),
    },
    data=body,
)
print(r.json())
Tarifs · Q2 2026

3 formules · paiement à l'appel.

Starter
0,08 €
/ appel · < 10k/mois
Growth
0,04 €
/ appel · 10k → 100k
Scale
custom
> 100k · SLA dédié
Analyser une annonce