# SimilarWeb Domain ## Overview | Property | Value | |----------|-------| | **Status** | active | | **Method** | `GET` | | **Endpoint** | `/v2/similarweb/domain` | | **Base URL** | `https://api.piloterr.com` | | **Credit Cost** | 2 credits per call | | **Documentation** | https://www.piloterr.com/library/similarweb-domain | ## Description Retrieve website traffic and engagement metrics for a domain from the public Similarweb page, including visits, bounce rate, rank, keywords, and traffic sources. ## Authentication - **Key Name:** `x-api-key` - **Location:** HTTP Header - **Get an API key:** https://app.piloterr.com/register ## Example Request ```bash curl --location --request GET 'https://api.piloterr.com/v2/similarweb/domain' \ --header 'Content-Type: application/json' \ --header 'x-api-key: YOUR_API_KEY' ``` ## Example Response ### Get Similarweb metrics for google.com ```json { "title": "Google", "category": "computers_electronics_and_technology/search_engines", "site_name": "google.com", "engagments": { "year": "2026", "month": "9", "visits": "85153236883", "bounce_rate": "0.2840071143603895", "time_on_site": "600", "page_per_visit": "8.684794686656113" }, "global_rank": { "rank": 1 }, "country_rank": { "rank": 1, "country_code": "US" }, "top_keywords": [ { "cpc": 0.28, "name": "gemini" } ], "category_rank": { "rank": "1", "category": "computers_electronics_and_technology/search_engines" }, "snapshot_date": "2026-09-01T00:00:00+00:00", "traffic_sources": { "direct": 0.9231211209777419 }, "top_country_shares": [ { "value": 0.2439229615698427, "country_code": "US" } ] } ``` ## Documentation ## Overview Similarweb Domain reads the public website page and returns visits, engagement, rank, keywords, and the traffic sources that page shows. ## Quickstart ``` GET https://api.piloterr.com/v2/similarweb/domain?query=google.com ``` ## Parameters | Parameter | Type | Required | Description | |---|---|---|---| | `query` | string | yes | Domain, for example `google.com` | ## Response fields `site_name`, `title`, `category`, `snapshot_date`, `engagments`, `global_rank`, `country_rank`, `category_rank`, `top_keywords`, `traffic_sources`, `top_country_shares`, `large_screenshot`. ## Notes A traffic source is included only when the public page shows a share.