v1

latestOpenAPI 3.1.02026-07-2414103.5 MB

Similar Sites

Returns the top 40 most similar websites to a domain & their similarity score.

get/{domain_name}/similar-sites/similarsites

Path parameters

domain_namestring required

Enter website of interest, without 'www.' or brackets {}.

Query parameters

api_keystring required

Your Similarweb API key.

formatstring required

[optional] Format in which the reply should be returned. Possible values: 'json' (default) or 'xml'.

limitstring

[optional] Select the number of results that are returned. Maximum = 40.

offsetstring

[optional] Specify an offset from where to start returning data.

sortstring

[optional] The metric you'd like the results to be ordered by.

ascstring

[optional] The order of results. Enter "true" for ascending, or "false" for descending.

Response

200

global_rankinginteger
categorystring
category_rankinginteger

Example response

{
  "meta": {
    "query": {
      "limit": 20
    },
    "request": {
      "format": "json",
      "domain": "cnn.com",
      "country": "world"
    },
    "status": "Success"
  },
  "similar_sites": [
    {
      "url": "washingtonpost.com",
      "score": 1
    }
  ],
  "global_ranking": 91,
  "category": "News_and_Media",
  "category_ranking": 14
}