end_datestringจำเป็น
end_date
https://api.sandbase.ai/v1/api/similarweb/search-serp-players-timeseriesGet month-by-month clicks for the websites that appear on search results for given keywords.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Returns monthly click counts for each website that appears in search results for a keyword. You send a keywords value, a start_date, an end_date and a limit.
youtube.com gets for "running shoes" from month to month.curl -X POST "https://api.sandbase.ai/v1/api/similarweb/search-serp-players-timeseries" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"start_date": "2026-09", "end_date": "2026-09", "country": "ww", "keywords": "running shoes", "limit": 1}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
end_date | string | Yes | end_date |
keywords | string | Yes | keywords |
limit | integer | Yes | limit |
start_date | string | Yes | start_date |
country | string | No | Worldwide data only; values are case-insensitive. |
granularity | string | No | granularity |
offset | integer | No | offset |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": [
{
"clicks": 24689,
"date": "2026-09-01",
"domain": "youtube.com"
}
],
"meta": {
"last_updated": "2026-09-30",
"query": {
"asc": null,
"limit": 1,
"offset": 0,
"sort": null
},
"request": {
"country": "ww",
"end_date": "2026-09-30",
"format": "json",
"granularity": "monthly",
"is_keyword_group": false,
"keyword": "running shoes",
"start_date": "2026-09-01",
"traffic_source": "all",
"web_source": "total"
},
"status": "success"
}
}
| Field | Meaning |
|---|---|
data[].domain | The website that appeared in search results for the keyword. |
data[].date | The first day of the month the click count belongs to, in YYYY-MM-DD format. |
data[].clicks | The number of clicks the domain received from search results for the keyword in that month. |
meta.status | Shows success when the call worked. |
meta.last_updated | Date the data was last updated, in YYYY-MM-DD format. |
meta.query.limit / meta.query.offset | The page size and starting position applied to the data list. |
meta.request.keyword | The keyword the results are for. |
meta.request.start_date / meta.request.end_date | The date range used, expanded to full days. A 2026-09 input becomes 2026-09-01 to 2026-09-30. |
meta.request.granularity | The time step of the rows. The value monthly gives one row per domain per month. |
start_date and end_date as YYYY-MM. The response echoes them as full dates.limit (1 to 20) and offset to page through domains.Billed at the actual cost of each call, about $0.075 for the request above. Failed calls are not charged.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/similarweb/search-serp-players-timeseries" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": 1,
"country": "ww",
"end_date": "2026-09",
"keywords": "running shoes",
"start_date": "2026-09"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
end_datestringจำเป็นend_date
keywordsstringจำเป็นkeywords
limitintegerจำเป็นlimit
start_datestringจำเป็นstart_date
countrystringWorldwide data only; values are case-insensitive.
ค่าเริ่มต้น: "ww"
ค่าที่เป็นไปได้: ww
granularitystringgranularity
ค่าที่เป็นไปได้: monthly
offsetintegeroffset
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Similarweb | เริ่มต้นที่ $0.075 ต่อครั้ง | JSON |
Similarweb | เริ่มต้นที่ $0.225 ต่อครั้ง | JSON |
Similarweb | เริ่มต้นที่ $0.375 ต่อครั้ง | JSON |
Similarweb | เริ่มต้นที่ $0.15 ต่อครั้ง | JSON |
Similarweb | เริ่มต้นที่ $0.525 ต่อครั้ง | JSON |
Similarweb | $0.60 ต่อการเรียก | JSON |
คู่มือ:Similarweb API: request examples and billingSimilarweb API pricing: data credits vs per-call prices
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/similarweb/search-serp-players-timeseries โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
เริ่มต้นที่ $0.075 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: end_date (string), keywords (string), limit (integer) และ start_date (string). ตัวเลือก: country (หนึ่งใน ww), granularity (หนึ่งใน monthly) และ offset (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Similarweb SERP Players - Clicks over time ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Similarweb API แยกต่างหาก