数据 API / Similarweb / Website
SimilarSites
SimilarSites. Response follows the SimilarWeb v5 envelope (meta + data). Date window (upstream SimilarWeb constraint): start_date and end_date must span EXACTLY 3 consecutive months — a 1- or 2-month span is rejected with upstream error 120 ('must span exactly 3 month(s)'). That span must also be SimilarWeb's most recent supported window, which advances forward each month; an older or out-of-range span is rejected with error 101 ('Dates not in range'). In practice, request the three most recent completed months (e.g. if the latest published month is 2026-07, use start_date=2026-05 and end_date=2026-07). To read the exact currently-supported range, call SimilarWeb's /describe endpoint for this API.
参数
查询
domainstring必填Target domain, e.g. example.com.
start_datestring必填Start month, format YYYY-MM. Must be exactly 2 months before end_date: the window has to span exactly 3 consecutive months within SimilarWeb's latest supported range (see the endpoint description).
end_datestring必填End month, format YYYY-MM. Together with start_date must span exactly 3 consecutive months, and must be the most recent supported month (the window rolls forward monthly; see the endpoint description).
granularitystring可选允许值: monthly
Time granularity. Allowed: monthly.
limitinteger必填Number of rows to return; max 20, billed as 20 if exceeded.
countrystring可选允许值: us · ww
Two-letter country code. Allowed: us, ww. Default: ww. Coverage is limited to ww and us on the current plan.
web_sourcestring可选允许值: desktop · mobile_web · total
Traffic source device split. Allowed: desktop, mobile_web, total.
main_domain_onlyboolean可选Restrict to the main domain only (true/false).
offsetinteger可选Row offset for pagination.
traffic_sourcestring可选Traffic-source filter.
请求示例
curl -G "https://openapi.felo.ai/v1/beta/similarweb/website/similar-sites" \
--data-urlencode "domain=<string>" \
--data-urlencode "start_date=<string>" \
--data-urlencode "end_date=<string>" \
--data-urlencode "limit=<integer>" \
-H "Authorization: Bearer $FELO_API_KEY"响应
响应示例
{
"meta": {
"query": {
"limit": 5,
"offset": 0,
"asc": null,
"sort": null
},
"request": {
"format": "json",
"domain": "cnn.com",
"granularity": "monthly",
"start_date": "2026-05-01",
"end_date": "2026-07-31",
"metrics": [
"rank",
"affinity",
"has_adsense"
],
"category": null
},
"status": "success",
"last_updated": "2026-07-31"
},
"data": [
{
"domain": "bbc.com",
"category": "News_and_Media",
"rank": 95,
"affinity": 1,
"has_adsense": true
}
]
}响应字段
metaobject可选SimilarWeb v5 response envelope metadata.
statusstring必填Operation status; success for a successful lookup.
last_updatedstring可选Date of the most recent available data point (YYYY-MM-DD).
requestobject可选Normalized request parameters used for this lookup.
queryobject可选Pagination/sort echo when applicable (limit, offset, asc, sort).
dataobject[]可选domainstring可选categorystring可选rankinteger可选affinitynumber可选has_adsenseboolean可选