Erste Schritte

Bringen Sie Ihre erste SEO Boost Hub API-Anfrage in wenigen Minuten zum Laufen.

Voraussetzungen

  • Ein aktives SEO Boost Hub-Konto mit aktiviertem API-Zugriff
  • Ein API-Schlüssel, generiert unter Einstellungen → API-Schlüssel in Ihrem Dashboard

Basis-URL

Alle API-Anfragen werden an die folgende Basis-URL gestellt:

https://seoboosthub.com/api/v1

Ihr erster API-Aufruf

Lassen Sie uns Ihre Standortliste abrufen. Dies ist der einfachste Endpunkt, um Ihr Setup zu überprüfen:

Anfrage
curl -X GET https://seoboosthub.com/api/api/v1/locations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json"
Antwort 200 OK
{
  "data": [
    {
      "id": "loc_01hx7a9b2c",
      "name": "Downtown Coffee Shop",
      "address": "123 Main St, Berlin",
      "city": "Berlin",
      "country": "DE",
      "rank_score": 72,
      "status": "active",
      "created_at": "2025-01-15T10:30:00Z"
    },
    {
      "id": "loc_01hx7a9b3d",
      "name": "Airport Lounge",
      "address": "456 Airport Rd, Munich",
      "city": "Munich",
      "country": "DE",
      "rank_score": 58,
      "status": "active",
      "created_at": "2025-02-20T14:15:00Z"
    }
  ],
  "meta": {
    "current_page": 1,
    "per_page": 15,
    "total": 2
  }
}

Nächste Schritte