# SimilarWeb Search API (similarweb.search)

- Canonical page: [https://everyinfra.com/en/similarweb-api/search](https://everyinfra.com/en/similarweb-api/search?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "similarweb", "action": "search", "params": {...}}
- Price: $0.001389 per call ($1.39 per 1,000 requests); failed calls and empty results are not charged
- Returns: list
- Mode: sync; add "mode": "async" for slow tasks

SimilarWeb Search reads the traffic overview of one website, given its domain in `keyword`: global, country and category rank, estimated monthly visits, bounce rate, pages per visit, average visit duration, the countries, search terms, referring sites and social networks that send traffic, the mix of traffic sources, the competitors SimilarWeb lists, and basic facts about the company behind the site. Marketers, investors and sales teams use it to size up a website, benchmark it against rivals and see where its visitors come from.

Despite the name, it does not search the web for a term: pass a domain such as example.com. The figures are SimilarWeb's model estimates, not the site's own analytics, so compare sites against each other rather than against your own numbers. A lower rank number is better, `bounce_rate` is a share where 0.6 means 60 percent, and `avg_visit_duration` is in seconds.

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=similarweb&action=search

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| keyword | not declared | yes | not declared | Specifies the target domain to analyze (such as example.com) rather than a general search keyword query. Depending on the action selected, this parameter retrieves traffic overviews for search, lists similar sites for competitors, or extracts domain visitor profiles for audience. Returned metrics are third-party estimations and do not reflect internal GA4 analytics measurements. |
| limit | integer (1–) | no | not declared | The most rows to return in this call, an integer of 1 or more. The default applies when you leave it out, and a call can return fewer rows. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | The record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms. |
| url | Link to the record on the platform. |
| name | Name of the object itself, for account, product and business capabilities. |
| text | Body text with HTML removed, returned in full and never cut short (on a few platforms the list results themselves carry only an excerpt; the platform's field notes say so). |
| category | Category name in the platform's own taxonomy, not normalized across platforms. |
| global_rank | Global traffic rank; a smaller number ranks higher. |
| country_rank | Traffic rank in its country. |
| category_rank | Traffic rank within its category. |
| country | Country or region: a full name or an ISO code depending on the platform, not normalized. |
| monthly_visits | platform-native meaning |
| bounce_rate | platform-native meaning |
| pages_per_visit | platform-native meaning |
| avg_visit_duration | platform-native meaning |
| company_name | platform-native meaning |
| company_founded | platform-native meaning |
| company_employees_min | platform-native meaning |
| company_employees_max | platform-native meaning |
| company_hq_country | platform-native meaning |
| company_hq_city | platform-native meaning |
| top_countries | platform-native meaning |
| top_keywords | platform-native meaning |
| traffic_sources | platform-native meaning |
| top_referrals | platform-native meaning |
| social_distribution | platform-native meaning |
| competitors | platform-native meaning |
| snapshot_date | platform-native meaning |
| email | Contact email address, passed through as is. |
| emails | Contact email addresses (a record can have several), passed through as is with duplicates removed. |
| phone | Contact phone number, passed through without format normalization. |
| platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |

## Example

```bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "similarweb",
  "action": "search",
  "params": {
    "keyword": "example.com"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "similarweb",
        "action": "search",
        "params": {
            "keyword": "example.com",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-09-26T08:56:04Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "similarweb",
  "action": "search",
  "results": [
    {
      "id": "example.com",
      "url": "https://www.similarweb.com/website/example.com",
      "name": "example.com",
      "text": "",
      "category": "computers_electronics_and_technology/programming_and_developer_software",
      "global_rank": 7941,
      "country_rank": 12471,
      "category_rank": 280,
      "monthly_visits": 9345666,
      "bounce_rate": 0.6514912791710534,
      "avg_visit_duration": "00:02:30",
      "top_countries": [
        {
          "countryAlpha2Code": "US",
          "countryAlpha2CodeRaw": "US",
          "countryUrlCode": "united-states",
          "visitsShare": 0.1329426107445016,
          "visitsShareChange": 0.23721803817648812
        },
        {
          "countryAlpha2Code": "GB",
          "countryAlpha2CodeRaw": "GB",
          "countryUrlCode": "united-kingdom",
          "visitsShare": 0.09609787381537664,
          "visitsShareChange": 0.748813150577166
        },
        {
          "countryAlpha2Code": "IN",
          "countryAlpha2CodeRaw": "IN",
          "countryUrlCode": "india",
          "visitsShare": 0.0812021419465102,
          "visitsShareChange": 0.2577621588969865
        }
      ],
      "top_keywords": [
        {
          "name": "www.example.com",
          "estimatedValue": null,
          "volume": null,
          "cpc": null
        },
        {
          "name": "example.com",
          "estimatedValue": null,
          "volume": null,
          "cpc": 0.71
        },
        {
          "name": "price comparison",
          "estimatedValue": null,
          "volume": null,
          "cpc": 1.64
        }
      ],
      "traffic_sources": [
        {
          "source": "ads",
          "rank": 1,
          "percentage": 0.464616847938312,
          "isHigher": null
        },
        {
          "source": "direct",
          "rank": 2,
          "percentage": null,
          "isHigher": null
        },
        {
          "source": "referrals",
          "rank": 3,
          "percentage": null,
          "isHigher": null
        }
      ],
      "top_referrals": [
        {
          "domain": "",
          "icon": "",
          "visitsShare": 0.23747686624030057,
          "isLocked": true,
          "isAvailable": true
        },
        {
          "domain": "",
          "icon": "",
          "visitsShare": 0.04233750061365961,
          "isLocked": true,
          "isAvailable": true
        },
        {
          "domain": "",
          "icon": "",
          "visitsShare": 0.03883400072797977,
          "isLocked": true,
          "isAvailable": true
        }
      ],
      "social_distribution": [
        {
          "name": "Reddit",
          "visitsShare": 0.3005705760443808,
          "icon": "https://site-images.similarcdn.com/image?url=reddit.com&t=2&s=1&h=66f2412047e0362ec60d5583d4b186511a8e859446bb112c60d22968facae906"
        },
        {
          "name": "Youtube",
          "visitsShare": 0.1996099164167749,
          "icon": "https://site-images.similarcdn.com/image?url=youtube.com&t=2&s=1&h=e117fb09ba0a34dee9830863bf927d29fc864e342583a36a667bf12346e88e20"
        },
        {
          "name": "Pinterest",
          "visitsShare": 0.12311561331673827,
          "icon": "https://site-images.similarcdn.com/image?url=pinterest.com&t=2&s=1&h=ec976160ca16242c6ab9ed7bc48e7b0f04c4100ceac5bcb6d3ea55450aa12210"
        }
      ],
      "competitors": [
        "simplilearn.com",
        "pennfoster.edu",
        "mygreatlearning.com"
      ],
      "snapshot_date": "2026-08-01T00:00:00+00:00",
      "platform": "similarweb"
    }
  ],
  "count": 1,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## FAQ

### Why does `keyword` take a domain?

Because this capability analyzes one website instead of searching the web. Pass the site's domain, such as example.com. The same input works for the SimilarWeb Competitors and Audience capabilities, which return similar sites and the visitor profile of that website, so one domain list can drive all three.

### What do category values like computers_electronics_and_technology mean?

`category` is the site's category in SimilarWeb's own taxonomy, so a value such as computers_electronics_and_technology is a SimilarWeb label, not a code shared with other platforms. `category_rank` is the site's traffic rank within that category, which makes it a fairer benchmark than `global_rank` for niche sites.

### How current are the traffic figures?

Check `snapshot_date`: it is the date of the snapshot the figures come from, and traffic data lags behind, so do not read `monthly_visits` as a live count for the current month. When you track a site over time, store each result with its `snapshot_date` and compare snapshots rather than call dates.

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=similarweb
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
