API Reference

Integriere Search-Console.PRO in deine Anwendungen. REST API mit JSON-Responses.

Verfügbarkeit: API-Zugang ist ab dem Pro-Plan verfügbar.

Authentifizierung

Alle API-Requests erfordern einen API-Key im Header.

API-Key erstellen

  1. Gehe zu "Einstellungen" → "API"
  2. Klick auf "Neuen API-Key erstellen"
  3. Name eingeben (zur Identifikation)
  4. Key wird einmalig angezeigt – sicher speichern!

Header

Authorization: Bearer YOUR_API_KEY

Base URL

https://api.search-console.pro/v1
Sicherheit: Teile deinen API-Key niemals öffentlich. Bei Verdacht auf Kompromittierung: Key sofort löschen und neuen erstellen.

Endpoints

Properties

GET /properties

Liste aller Properties

GET /properties/{id}

Einzelne Property mit Details

Performance-Daten

GET /properties/{id}/performance

Tägliche Performance-Daten (Klicks, Impressions, CTR, Position)

Parameter: start_date, end_date

GET /properties/{id}/keywords

Keywords mit Metriken

Parameter: start_date, end_date, limit, offset, sort

GET /properties/{id}/urls

URLs mit Metriken

Parameter: start_date, end_date, limit, offset, sort

SCI Index

GET /properties/{id}/sci

Aktueller SCI Score und Historie

Parameter: start_date, end_date

URL-Inspektion

POST /properties/{id}/inspect

URL-Indexierungsstatus prüfen

Body: { "url": "https://..." }

POST /properties/{id}/index

URL zur Indexierung einreichen

Body: { "url": "https://..." }

Reports

POST /properties/{id}/reports

Report generieren

Body: { "type": "pdf", "start_date": "...", "end_date": "..." }

Rate Limits

Um faire Nutzung zu gewährleisten, gelten folgende Limits:

Plan Requests/Stunde Requests/Tag
Pro 1.000 10.000
Agency 5.000 50.000
Business 10.000 100.000
Enterprise Custom Custom

Rate Limit Headers

Jede Response enthält:

X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 950
X-RateLimit-Reset: 1704067200

Bei Überschreitung

Status 429 Too Many Requests mit Retry-After Header.

Code-Beispiele

cURL

curl -X GET "https://api.search-console.pro/v1/properties" \
  -H "Authorization: Bearer YOUR_API_KEY"

Python

import requests

API_KEY = "your_api_key"
BASE_URL = "https://api.search-console.pro/v1"

headers = {
    "Authorization": f"Bearer {API_KEY}"
}

# Properties abrufen
response = requests.get(f"{BASE_URL}/properties", headers=headers)
properties = response.json()

# Performance-Daten
property_id = properties[0]["id"]
params = {
    "start_date": "2026-01-01",
    "end_date": "2026-01-07"
}
response = requests.get(
    f"{BASE_URL}/properties/{property_id}/performance",
    headers=headers,
    params=params
)
performance = response.json()

JavaScript (Node.js)

const axios = require('axios');

const API_KEY = 'your_api_key';
const BASE_URL = 'https://api.search-console.pro/v1';

const client = axios.create({
  baseURL: BASE_URL,
  headers: {
    'Authorization': `Bearer ${API_KEY}`
  }
});

// Properties abrufen
const { data: properties } = await client.get('/properties');

// Keywords abrufen
const { data: keywords } = await client.get(
  `/properties/${properties[0].id}/keywords`,
  {
    params: {
      start_date: '2026-01-01',
      end_date: '2026-01-07',
      limit: 100,
      sort: '-clicks'
    }
  }
);

PHP

$api_key = 'your_api_key';
$base_url = 'https://api.search-console.pro/v1';

$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    'Authorization: Bearer ' . $api_key
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

// Properties abrufen
curl_setopt($ch, CURLOPT_URL, $base_url . '/properties');
$response = curl_exec($ch);
$properties = json_decode($response, true);

curl_close($ch);

Weiterlesen

API-Zugang freischalten

Integriere Search-Console.PRO in deine Workflows – ab dem Pro-Plan.

Kostenlos starten