idstringจำเป็น
The IMDb title identifier in tt<digits> format.
https://api.sandbase.ai/v1/api/imdb/title-more-like-this-queryGet IMDb titles similar to a specified title ID using selected language and country preferences. Use it to support related-title discovery, recommendations, or catalog curation.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Returns a list of IMDb title IDs that IMDb considers similar to a given title. It needs one IMDb title ID in tt<digits> format, and it accepts an optional languageCountry value.
tt0111161.curl -X POST "https://api.sandbase.ai/v1/api/imdb/title-more-like-this-query" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id": "tt0111161"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The IMDb title identifier in tt<digits> format. |
languageCountry | string | No | Language and country preferences. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"title": {
"connections": {
"edges": []
},
"moreLikeThisTitles": {
"edges": [
{
"node": {
"id": "tt0114369"
}
}
]
}
}
}
| Field | Meaning |
|---|---|
title.moreLikeThisTitles.edges[] | One similar title per list item. |
title.moreLikeThisTitles.edges[].node.id | IMDb ID of a similar title, in tt<digits> format. For tt0111161 the response includes tt0114369, tt0120689, and tt0108052. |
title.connections.edges[] | List of connected titles. It was empty in this response, so some titles may return no connections. |
node.id to IMDb Base Info to get the title name and basic details.id input from the IMDb title page URL. It starts with tt followed by digits.languageCountry accepts en_US, fr_CA, fr_FR, de_DE, hi_IN, it_IT, pt_BR, es_ES, es_US, or es_MX. The default is en_US.$0.007143 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/imdb/title-more-like-this-query" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "tt0111161",
"languageCountry": "en_US"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
idstringจำเป็นThe IMDb title identifier in tt<digits> format.
languageCountrystringLanguage and country preferences.
ค่าเริ่มต้น: "en_US"
ค่าที่เป็นไปได้: en_US, fr_CA, fr_FR, de_DE, hi_IN, it_IT, pt_BR, es_ES, es_US, es_MX
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
IMDb RecommendationsAPI นี้ IMDb | $0.007143 ต่อการเรียก | JSON |
IMDb | $0.007143 ต่อการเรียก | JSON |
IMDb | $0.007143 ต่อการเรียก | JSON |
IMDb | $0.007143 ต่อการเรียก | JSON |
IMDb | $0.007143 ต่อการเรียก | JSON |
IMDb | $0.007143 ต่อการเรียก | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/imdb/title-more-like-this-query โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.007143 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: id (string). ตัวเลือก: languageCountry (หนึ่งใน en_US, fr_CA, fr_FR, de_DE, hi_IN, it_IT, pt_BR, es_ES, es_US, es_MX). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น IMDb Recommendations ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง IMDb API แยกต่างหาก