databasestringจำเป็น
Regional Semrush database, e.g. "us", "uk", "de".
https://api.sandbase.ai/v1/api/semrush/question-keywordsQuestion-form keyword ideas for a seed phrase, with search volume, CPC and competition.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Returns question-form keyword ideas for a seed phrase, such as how to choose running shoes. Each row has the search volume and the CPC. You send a phrase and a regional database.
phrase against us, uk and de to compare question demand by country.curl -X POST "https://api.sandbase.ai/v1/api/semrush/question-keywords" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"phrase": "running shoes", "database": "us"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
database | string | Yes | Regional Semrush database, e.g. "us", "uk", "de". |
phrase | string | Yes | Keyword to analyze, e.g. "running shoes". |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
"Keyword;Search Volume;CPC\r\nhow to choose running shoes;110000;0.43\r\nhow long do …"
| Field | Meaning |
|---|---|
[0] | Column 1 of each row, with the header Keyword. It holds the question-form keyword, for example how long do running shoes last. |
[1] | Column 2 of each row, with the header Search Volume. It holds the search volume for the keyword in the chosen database. For example, how to choose running shoes shows 110000. |
[2] | Column 3 of each row, with the header CPC. It holds the cost per click as a decimal number such as 0.43. The response does not show the currency. |
Keyword;Search Volume;CPC, and lines are separated by \r\n.; to get the columns. In the field list, [0], [1] and [2] mean the first, second and third column of a line.Keyword, Search Volume and CPC columns.Billed at the actual cost of each call, about $0.08 for the request above. Failed calls are not charged.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/semrush/question-keywords" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"phrase": "running shoes",
"database": "us"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
databasestringจำเป็นRegional Semrush database, e.g. "us", "uk", "de".
phrasestringจำเป็นKeyword to analyze, e.g. "running shoes".
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Semrush Question KeywordsAPI นี้ Semrush | เริ่มต้นที่ $0.08 ต่อครั้ง | JSON |
Semrush | เริ่มต้นที่ $0.08 ต่อครั้ง | JSON |
Semrush | เริ่มต้นที่ $0.08 ต่อครั้ง | JSON |
Semrush | เริ่มต้นที่ $0.08 ต่อครั้ง | JSON |
Semrush | $0.004 ต่อการเรียก | JSON |
Semrush | เริ่มต้นที่ $0.04 ต่อครั้ง | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/semrush/question-keywords โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
เริ่มต้นที่ $0.08 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: database (string) และ phrase (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Semrush Question Keywords ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Semrush API แยกต่างหาก