API Reference

Use SEO Boost Hub endpoints to manage locations, keywords, content, and insight data with predictable REST patterns.

Base URL https://api.seoboosthub.com/v1

Locations

GET /v1/locations
GET /v1/locations/{id}
POST /v1/locations
PATCH /v1/locations/{id}

Keywords

GET /v1/locations/{id}/keywords
POST /v1/locations/{id}/keywords
DELETE /v1/keywords/{id}

Rank Scans

GET /v1/keywords/{id}/scans

Content Posts

GET /v1/locations/{id}/posts
POST /v1/locations/{id}/posts

Insights

GET /v1/locations/{id}/insights

Example

Below is an example request and response for listing locations.

Example Request
curl -X GET https://api.seoboosthub.com/v1/locations \
  -H "Authorization: Bearer sbh_live_abc123def456ghi789" \
  -H "Accept: application/json"
Example Response 200 OK
{
  "data": [
    {
      "id": "loc_01hx7a9b2c",
      "name": "Downtown Coffee Shop",
      "address": "123 Main St, Berlin",
      "city": "Berlin",
      "country": "DE",
      "rank_score": 72,
      "status": "active",
      "keywords_count": 12,
      "last_scan_at": "2025-11-28T08:00:00Z",
      "created_at": "2025-01-15T10:30:00Z"
    }
  ],
  "meta": {
    "current_page": 1,
    "per_page": 15,
    "total": 1
  }
}