{
  "summary": "Pull FULL Ahrefs GB organic keyword list (raw per-keyword) for a single domain, save raw + per-URL aggregate",
  "agentCount": 1,
  "logs": [
    "Ahrefs raw pull: serkan"
  ],
  "result": {
    "domains": [
      {
        "site": "serkan",
        "ahrefs_rows_pulled": 250,
        "en_keyword_rows": 247,
        "unique_urls": 71,
        "ahrefs_units_cost": 5750,
        "sample_rows": [
          "hair transplant turkey,1,9600,https://www.drserkanaygin.com/,1767",
          "hair types,1,17000,https://www.drserkanaygin.com/blog/types-of-curly-hair/,193",
          "best hair transplant in turkey,1,1000,https://www.drserkanaygin.com/,164",
          "turkey hair transplant,1,2200,https://www.drserkanaygin.com/,153",
          "how much is a hair transplant in turkey,2,1800,https://www.drserkanaygin.com/hair-transplant/cost/turkey/,137",
          "dr serkan aygin,3,500,https://www.drserkanaygin.com/,124",
          "hair transplantation in turkey,1,300,https://www.drserkanaygin.com/,115",
          "turkish hair transplant,2,450,https://www.drserkanaygin.com/,111",
          "hair transplant istanbul,2,1000,https://www.drserkanaygin.com/,106",
          "types of hair,2,2100,https://www.drserkanaygin.com/blog/types-of-curly-hair/,102"
        ],
        "notes": "Single Ahrefs call: target=drserkanaygin.com, mode=subdomains, country=gb, date=2026-06-01, order_by=sum_traffic:desc, limit=1000, output=csv. The API returned 250 rows (server-side cap; the requested limit of 1000 was not honored — the response was capped at 250 rows). apiUsageCosts: rows=250, units-cost-row=23, units-cost-total-actual=5750 (cache miss). No errors. EN filter applied on best_position_url, normalized (lowercase host, stripped trailing slash, URL-decoded). EN buckets seen: root '/' (74 rows), /blog/ (114 rows), /hair-transplant/ (53 rows), root-leaf single-segment (6 rows: /guideline, /hair-transplant-turkey-before-after, /hair-transplant-turkey-reviews). No /faq/, /hair-loss/, or /beforeafter/<name> URLs appeared in the top-250 traffic set. EXCLUDED 3 rows with language-code first segments: /it/ (1: trapianto capelli turchia), /de/ (1: haartransplantation türkei), /tr/ (1: saç ekimi istanbul). No /uk/ or /us/ path segments present in this dataset. Files written and verified with wc -l: serkan_ahrefs_raw.csv = 248 lines (1 header + 247 EN rows), serkan_ahrefs_agg.csv = 72 lines (1 header + 71 unique URLs). Outputs at /opt/automator/cinik-rponse/files/raw/serkan_ahrefs_raw.csv and /opt/automator/cinik-rponse/files/raw/serkan_ahrefs_agg.csv. Top aggregated URL is the homepage with 74 keywords and 4724 summed traffic."
      }
    ]
  }
}