Integrieren Sie Luminara AI in Ihre Anwendung mit unserer leistungsstarken REST API. Einfache Integration mit Standard-HTTP-Requests.
Integrieren Sie Luminara AI mit einfachen fetch()-Aufrufen. Keine zusätzlichen Pakete nötig — verwenden Sie einfach die REST API mit Ihrem API Key.
const API_KEY = 'lum_xxxxxxxxxxxxx';
const BASE_URL = 'https://api.luminara-ai.de';
const headers = {
'X-API-Key': API_KEY,
'Content-Type': 'application/json',
};
// List your stores
const stores = await fetch(`${BASE_URL}/api/stores`, { headers })
.then(res => res.json());
// Get visibility status
const status = await fetch(`${BASE_URL}/api/visibility-addon/status`, { headers })
.then(res => res.json());
console.log(`AI Visibility Score: ${status.latestScore}`);
// List tracked keywords
const keywords = await fetch(`${BASE_URL}/api/visibility-addon/keywords`, { headers })
.then(res => res.json());Registrieren Sie sich und erstellen Sie einen API Key in Ihrem Dashboard.
Senden Sie Ihre ersten API-Requests mit Ihrem API Key.
Integrieren Sie die API-Antworten in Ihre Anwendung.
Alle API-Requests erfordern einen gültigen API Key im Authorization Header.
X-API-Key: lum_xxxxxxxxxxxxxSicherheitshinweis: Teilen Sie Ihren API Key niemals öffentlich. Verwenden Sie Umgebungsvariablen für die sichere Speicherung.
| Methode | Endpoint | Beschreibung | Auth |
|---|---|---|---|
| GET | /api/stores | Alle Stores auflisten | Required |
| GET | /api/products | Liste aller Produkte abrufen | Required |
| POST | /api/products | Neues Produkt erstellen | Required |
| PUT | /api/products/:id | Produkt aktualisieren | Required |
| DELETE | /api/products/:id | Produkt löschen | Required |
| GET | /api/services | Liste aller Services abrufen | Required |
| POST | /api/validate | Schema-Validierung durchführen | Required |
| GET | /api/visibility-addon/status | AI Visibility Status & Score | Required |
| GET | /api/visibility-addon/keywords | Getrackte Keywords auflisten | Required |
| POST | /api/stores/:storeId/scan | Website-Scan auslösen | Required |
| GET | /api/stores/:storeId/scan-results | Scan-Ergebnisse abrufen | Required |
| GET | /api/visibility-addon/citations | AI-Zitierungen auflisten | Required |
| GET | /api/visibility-addon/competitors | Konkurrenten & Rankings abrufen | Required |
| GET | /api/gsc/analytics | Google Search Console Daten | Required |
| GET | /api/content/recommendations | Content-Empfehlungen abrufen | Required |
| GET | /api/sentiment/overview | Sentiment-Analyse Overview | Required |
Rate-Limit-Informationen werden in den Antwort-Headern zurückgegeben: RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset.
Testen Sie alle Endpunkte direkt in der interaktiven Swagger UI. Alle 50+ Endpunkte mit Schemas, Beispielen und Try-It-Out Funktion.
Swagger UI öffnen# List all products
curl -X GET "https://api.luminara-ai.de/api/products?storeId=YOUR_STORE_ID" \
-H "X-API-Key: lum_xxxxxxxxxxxxx"
# Start a website scan
curl -X POST "https://api.luminara-ai.de/api/stores/YOUR_STORE_ID/scan" \
-H "X-API-Key: lum_xxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"fullCrawl": true}'
# Get visibility score
curl -X GET "https://api.luminara-ai.de/api/visibility-addon/status" \
-H "X-API-Key: lum_xxxxxxxxxxxxx"const API_KEY = 'lum_xxxxxxxxxxxxx';
const BASE_URL = 'https://api.luminara-ai.de';
const headers = {
'X-API-Key': API_KEY,
'Content-Type': 'application/json',
};
// List products
const products = await fetch(
`${BASE_URL}/api/products?storeId=YOUR_STORE_ID`,
{ headers }
).then(res => res.json());
// Create a product
await fetch(`${BASE_URL}/api/products`, {
method: 'POST',
headers,
body: JSON.stringify({
storeId: 'YOUR_STORE_ID',
title: 'Premium Coffee Maker',
brand: 'BrewMaster',
category: 'Kitchen Appliances',
}),
});
// Start a scan
await fetch(`${BASE_URL}/api/stores/YOUR_STORE_ID/scan`, {
method: 'POST',
headers,
body: JSON.stringify({ fullCrawl: true }),
});
// Error handling
const res = await fetch(`${BASE_URL}/api/stores/YOUR_STORE_ID`, { headers });
if (res.status === 429) {
const retryAfter = res.headers.get('Retry-After');
console.log(`Rate limited. Retry after ${retryAfter}s`);
}import requests
API_KEY = 'lum_xxxxxxxxxxxxx'
BASE_URL = 'https://api.luminara-ai.de'
headers = {'X-API-Key': API_KEY}
# List stores
stores = requests.get(f'{BASE_URL}/api/stores', headers=headers).json()
# Get visibility status
status = requests.get(f'{BASE_URL}/api/visibility-addon/status', headers=headers).json()
print(f"Score: {status['latestScore']}")
# Add a keyword to track
requests.post(
f'{BASE_URL}/api/visibility-addon/keywords',
headers={**headers, 'Content-Type': 'application/json'},
json={'keyword': 'best coffee maker'}
)