GEO Audit API

Analysez la conformité GEO (Generative Engine Optimization) de n'importe quel site web. Obtenez un rapport complet avec scores, diagnostics et corrections prioritaires.

Documentation API

Endpoint

POST /api/audit

Request Body

{
  "url": "https://example.com",
  "options": {
    "timeout": 30000,
    "categories": ["technical", "schema", "content", "seo", "accessibility", "reputation"]
  }
}

Le champ options est facultatif. Par défaut, toutes les catégories sont auditées.

Exemple de Réponse

{
  "id": "audit_abc123",
  "url": "https://example.com",
  "timestamp": "2026-04-09T12:00:00.000Z",
  "duration_ms": 4523,
  "score": {
    "total": 72,
    "grade": "B",
    "seo": 78,
    "rp": 65,
    "competition": 5,
    "geo_equation": 28.6
  },
  "categories": {
    "technical": {
      "name": "technical",
      "label": "Technique",
      "score": 18,
      "max_score": 20,
      "percentage": 90,
      "grade": "A",
      "checks": [...]
    }
  },
  "summary": {
    "total_checks": 42,
    "passed": 30,
    "warnings": 8,
    "failed": 4,
    "top_fixes": [...],
    "strengths": ["HTTPS actif", "Temps de réponse rapide"]
  }
}

cURL

curl -X POST http://localhost:3000/api/audit \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com"}'