Instagram การค้นหารีล API (V1)
สถานะสุขภาพของ API
สถานะดี มีสภาพ จำกัด ส่วนใหญ่ไม่มีสภาพ ไม่มีข้อมูล
กำลังโหลดสถานะสุขภาพ...
ค้นหา Instagram Reels ด้วยคีย์เวิร์ดหรือแฮชแท็ก โดยใช้โทเคนสำหรับแบ่งหน้า ใช้ค้นหาวิดีโอสั้น ติดตามหัวข้อ และดูผลลัพธ์ที่ตรงกันในหน้าถัดไป
พารามิเตอร์
| ชื่อ | ตำแหน่ง | ชนิดข้อมูล | จำเป็น | ค่าเริ่มต้น | คำอธิบาย |
|---|---|---|---|---|---|
token |
query | string |
ใช่ | - | โทเค็นสำหรับเข้าถึงบริการ API |
keyword |
query | string |
ใช่ | - | คำสำคัญหรือแฮชแท็กสำหรับการกรอง Reels |
paginationToken |
query | string |
ไม่ใช่ | |
โทเค็นสำหรับดึงผลลัพธ์หน้าถัดไป |
ตัวอย่างโค้ด
bash
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/instagram/search-reels/v1?token=YOUR_API_KEY&keyword=VALUE'
text
ฉันต้องการใช้ API "การค้นหารีล (V1)" จาก JustOneAPI.
URL หลัก: https://api.justoneapi.com.
เส้นทาง API: /api/instagram/search-reels/v1?token=YOUR_API_KEY&keyword=VALUE
เอนด์พอยต์ API: BASE_URL + /api/instagram/search-reels/v1?token=YOUR_API_KEY&keyword=VALUE
เมธอด HTTP: GET
การยืนยันตัวตน: เพิ่มพารามิเตอร์ "token" เข้าไปใน URL.
คำนิยาม OpenAPI: https://docs.justoneapi.com/openapi/instagram/reels-search-v1-th.json
พารามิเตอร์:
- token (query): โทเค็นสำหรับเข้าถึงบริการ API (จำเป็น)
- keyword (query): คำสำคัญหรือแฮชแท็กสำหรับการกรอง Reels (จำเป็น)
- paginationToken (query): โทเค็นสำหรับดึงผลลัพธ์หน้าถัดไป
รูปแบบที่ส่งกลับ: จัดการ JSON หรือข้อความอย่างปลอดภัยตามค่า Content-Type ที่ได้รับจริง
การจัดการผลตอบกลับและรหัสข้อผิดพลาด:
1. ตรวจสอบผลการทำงานจากฟิลด์ "code" ในผลตอบกลับ (รหัส 0 หมายถึงสำเร็จ)
2. แนะนำให้ตั้งระยะเวลารอ 120 วินาที หาก 120 วินาทีนานเกินไป ให้ตั้งอย่างน้อย 60 วินาที แต่คำขอบางรายการอาจหมดเวลาก่อนได้รับผลลัพธ์
3. รหัสผลลัพธ์:
- 0: สำเร็จ
- 100: โทเคนไม่ถูกต้องหรือถูกปิดใช้งาน
- 301: ดึงข้อมูลไม่สำเร็จ โปรดลองอีกครั้ง
- 302: เกินขีดจำกัดอัตราการเรียก
- 303: ใช้โควตารายวันครบแล้ว
- 400: พารามิเตอร์ไม่ถูกต้อง
- 500: ข้อผิดพลาดภายในเซิร์ฟเวอร์
- 600: ไม่มีสิทธิ์เข้าถึง
- 601: ยอดเงินคงเหลือไม่เพียงพอ
- 602: ถึงวงเงินของโทเคนแล้ว
4. รหัส 601 หมายถึงยอดเงินที่ใช้ร่วมกันของบัญชีไม่เพียงพอ รหัส 602 หมายถึงโทเคน API ถึงวงเงินสะสมของตนเองแล้ว การกำหนดวงเงินโทเคนจะไม่โอนเงินออกจากยอดเงินที่ใช้ร่วมกันของบัญชี
กรุณาช่วยเขียนสคริปต์ในภาษาโปรแกรมที่ฉันชื่นชอบเพื่อเรียกใช้ API และจัดการการตอบกลับ.
python
import requests
BASE_URL = "https://api.justoneapi.com" # ให้โดยเซิร์ฟเวอร์ OpenAPI
url = BASE_URL + "/api/instagram/search-reels/v1?token=YOUR_API_KEY&keyword=VALUE"
response = requests.get(url, timeout=120)
print(response.status_code)
if response.content:
content_type = response.headers.get("content-type", "").lower()
if "json" in content_type:
try:
print(response.json())
except ValueError:
print(response.text)
elif content_type.startswith("text/") or "xml" in content_type or content_type.split(";", 1)[0].strip() in {"application/javascript", "application/x-www-form-urlencoded", "application/graphql"}:
print(response.text)
else:
with open("response.bin", "wb") as output:
output.write(response.content)
print(f"Saved {len(response.content)} bytes to response.bin")
js
const BASE_URL = "https://api.justoneapi.com"; // ให้โดยเซิร์ฟเวอร์ OpenAPI
const url = BASE_URL + "/api/instagram/search-reels/v1?token=YOUR_API_KEY&keyword=VALUE";
const response = await fetch(url, {
method: "GET",
signal: AbortSignal.timeout(120000)
});
console.log(response.status);
const responseBytes = await response.arrayBuffer();
if (responseBytes.byteLength) {
const contentType = (response.headers.get("content-type") || "").toLowerCase();
const mediaType = contentType.split(";", 1)[0].trim();
const textual = contentType.startsWith("text/") || contentType.includes("json") || contentType.includes("xml") || ["application/javascript", "application/x-www-form-urlencoded", "application/graphql"].includes(mediaType);
if (textual) {
const responseText = new TextDecoder().decode(responseBytes);
let data = responseText;
if (contentType.includes("json")) {
try { data = JSON.parse(responseText); } catch { /* Keep the raw body. */ }
}
console.log(data);
} else {
console.log(`Received ${responseBytes.byteLength} binary bytes`);
}
}
java
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
public class Main {
public static void main(String[] args) throws Exception {
final String BASE_URL = "https://api.justoneapi.com"; // ให้โดยเซิร์ฟเวอร์ OpenAPI
final String url = BASE_URL + "/api/instagram/search-reels/v1?token=YOUR_API_KEY&keyword=VALUE";
HttpClient client = HttpClient.newBuilder().connectTimeout(Duration.ofSeconds(120)).build();
HttpRequest.Builder builder = HttpRequest.newBuilder()
.uri(URI.create(url))
.timeout(Duration.ofSeconds(120))
.method("GET", HttpRequest.BodyPublishers.noBody());
HttpRequest request = builder.build();
HttpResponse<byte[]> response = client.send(request, HttpResponse.BodyHandlers.ofByteArray());
System.out.println(response.statusCode());
String contentType = response.headers().firstValue("content-type").orElse("").toLowerCase();
String mediaType = contentType.split(";", 2)[0].trim();
if (contentType.startsWith("text/") || contentType.contains("json") || contentType.contains("xml") || mediaType.equals("application/javascript") || mediaType.equals("application/x-www-form-urlencoded") || mediaType.equals("application/graphql")) {
System.out.println(new String(response.body(), StandardCharsets.UTF_8));
} else {
Files.write(Path.of("response.bin"), response.body());
System.out.println("Saved " + response.body().length + " bytes to response.bin");
}
}
}
go
package main
import (
"fmt"
"io"
"os"
"strings"
"net/http"
"time"
)
const BASE_URL = "https://api.justoneapi.com" // ให้โดยเซิร์ฟเวอร์ OpenAPI
func main() {
client := &http.Client{Timeout: 120 * time.Second}
url := BASE_URL + "/api/instagram/search-reels/v1?token=YOUR_API_KEY&keyword=VALUE"
req, _ := http.NewRequest("GET", url, nil)
resp, _ := client.Do(req)
defer resp.Body.Close()
fmt.Println(resp.StatusCode)
bodyBytes, _ := io.ReadAll(resp.Body)
contentType := strings.ToLower(resp.Header.Get("Content-Type"))
mediaType := strings.TrimSpace(strings.SplitN(contentType, ";", 2)[0])
if strings.HasPrefix(contentType, "text/") || strings.Contains(contentType, "json") || strings.Contains(contentType, "xml") || mediaType == "application/javascript" || mediaType == "application/x-www-form-urlencoded" || mediaType == "application/graphql" {
fmt.Println(string(bodyBytes))
} else {
os.WriteFile("response.bin", bodyBytes, 0600)
fmt.Printf("Saved %d bytes to response.bin\n", len(bodyBytes))
}
}
php
<?php
$BASE_URL = 'https://api.justoneapi.com'; // ให้โดยเซิร์ฟเวอร์ OpenAPI
$url = $BASE_URL . '/api/instagram/search-reels/v1?token=YOUR_API_KEY&keyword=VALUE';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 120);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
$response = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
$contentType = strtolower((string) curl_getinfo($ch, CURLINFO_CONTENT_TYPE));
curl_close($ch);
echo $status . PHP_EOL;
$mediaType = trim(explode(';', $contentType, 2)[0]);
if (str_starts_with($contentType, 'text/') || str_contains($contentType, 'json') || str_contains($contentType, 'xml') || in_array($mediaType, ['application/javascript', 'application/x-www-form-urlencoded', 'application/graphql'], true)) {
echo $response;
} else {
file_put_contents('response.bin', $response);
echo 'Saved ' . strlen($response) . ' bytes to response.bin' . PHP_EOL;
}
ฟิลด์ที่ได้รับการตอบกลับ
ฟิลด์สำคัญในผลการตอบกลับที่สำเร็จ (code = 0).
ผลลัพธ์และการแสดงผลแบบแบ่งหน้า5 ฟิลด์
data
หน้าแสดงผลการค้นหา Reels และค่าที่ส่งกลับสำหรับการดำเนินการต่อ.
| ฟิลด์ | ชนิดข้อมูล | คำอธิบาย |
|---|---|---|
data |
object |
เนื้อหาของหน้าแสดงผลสำหรับคำค้นหา Reels ปัจจุบัน. |
data.count |
integer |
จำนวนรายการ Reels ที่รายงานในหน้าแสดงผลนี้. |
data.items |
array |
Reels ที่ส่งกลับในหน้าแสดงผลนี้. ลิสต์อาจว่างเปล่า. |
data.items[] |
object |
Reels หนึ่งในผลลัพธ์การค้นหา. |
pagination_token |
string |
ส่งตัวแปรการต่อเนื่องที่ส่งกลับมาเป็น paginationToken โดยใช้คีย์เวิร์ดเดียวกันเพื่อขอหน้าใหม่ หน้าเว็บว่างสามารถมีตัวแปรได้ |
ข้อมูลเมตาดาต้าของวิดีโอ13 ฟิลด์
data.data.items[]
| ฟิลด์ | ชนิดข้อมูล | คำอธิบาย |
|---|---|---|
id |
string |
ตัวระบุ Reels ที่ส่งกลับโดย Instagram. |
code |
string |
รหัสสั้นที่ใช้ในลิงก์ Reels. |
permalink |
string |
URL ของ Instagram โดยตรงสำหรับ Reels หากมี. |
media_type |
integer |
รหัสประเภทสื่อ. การค้นหาในตัวอย่างที่ได้รับการยืนยันจะส่งค่า 2 สำหรับวิดีโอ. |
product_type |
string |
ป้ายกำกับประเภทผลิตภัณฑ์. ตัวอย่าง Reels ที่ได้รับการยืนยันจะส่งคลิป. |
media_format |
string |
ป้ายกำกับรูปแบบสื่อที่ส่งกลับสำหรับ Reels. |
is_video |
boolean |
ว่าสื่อเป็นวิดีโอหรือไม่. |
taken_at |
integer |
เวลาเผยแพร่เป็นเวลา Unix ในหน่วยวินาที. |
taken_at_ts |
integer |
ฟิลด์เวลาการเผยแพร่ที่ส่งกลับในหน่วยวินาทีของ Unix. |
taken_at_date |
string |
ฟิลด์เวลาการเผยแพร่ที่จัดรูปแบบไว้พร้อมกับ Reels. |
is_paid_partnership |
boolean |
วิดีโอมีการระบุว่าเป็นวิดีโอที่ต้องจ่ายค่าสมาชิกหรือไม่。 |
is_pinned |
boolean |
วิดีโอมีการระบุว่าเป็นวิดีโอที่ถูกแท็บไว้หรือไม่。 |
is_in_profile_grid |
boolean |
วิดีโอจะแสดงอยู่ในกรอบโปรไฟล์ของผู้สร้างหรือไม่。 |
วิดีโอและภาพถ่าย46 ฟิลด์
data.data.items[]
| ฟิลด์ | ชนิดข้อมูล | คำอธิบาย |
|---|---|---|
video_url |
string |
URL ของวิดีโอที่ส่งกลับมา。 |
thumbnail_url |
string |
URL ของภาพตัวอย่างที่ส่งกลับมา。 |
video_duration |
number |
ระยะเวลาของวิดีโอที่รายงานในหน่วยเดิมของการตอบกลับ。 |
video_codec |
string |
ชื่อไฟล์ไฟล์วิดีโอที่ส่งกลับมา。 |
has_audio |
boolean |
วิดีโอมีเสียงหรือไม่。 |
original_width |
integer |
ความกว้างของไฟล์ต้นฉบับในพิกเซล |
original_height |
integer |
ความสูงของไฟล์ต้นฉบับในพิกเซล |
number_of_qualities |
integer |
จำนวนรูปแบบคุณภาพของวิดีโที่รายงาน。 |
video_versions |
array |
รูปแบบวิดีโอที่มีอยู่ในการตอบกลับ。 |
video_versions[] |
object |
รูปแบบวิดีโอหนึ่งรูปแบบของวิดีโอ。 |
video_versions[].id |
string |
ตัวระบุของเวอร์ชันวิดีโอ |
video_versions[].type |
integer |
รหัสแพลตฟอร์มสำหรับรูปแบบวิดีโอนี้。 |
video_versions[].url |
string |
URL ของเวอร์ชันวิดีโอ |
video_versions[].width |
integer |
ความกว้างของรูปแบบวิดีโอนี้ในพิกเซล。 |
video_versions[].height |
integer |
ความสูงของรูปแบบวิดีโอนี้ในพิกเซล。 |
video_versions[].bandwidth |
integer |
ค่าความแรงสัญญาณที่รายงานสำหรับรูปแบบวิดีโอนี้。 |
image_versions |
object |
ภาพตัวเลือกและภาพตัวอย่างสำหรับวิดีโอ。 |
image_versions.items |
array |
รูปแบบภาพตัวเลือกที่รายงานสำหรับวิดีโอ。 |
image_versions.items[] |
object |
รูปภาพตัวเลือกหนึ่งรูปแบบ。 |
image_versions.items[].url |
string |
URL ของรูปภาพรูปแบบนี้。 |
image_versions.items[].width |
integer |
ความกว้างของรูปภาพรูปแบบนี้ในพิกเซล。 |
image_versions.items[].height |
integer |
ความสูงของรูปภาพรูปแบบนี้ในพิกเซล。 |
image_versions.items[].is_spatial_image |
boolean |
Instagram จะระบุภาพว่าเป็นภาพแบบสเปซหรือไม่。 |
image_versions.additional_items |
object |
ภาพต้นฉบับที่ส่งกลับมาพร้อมกับวิดีโอ。 |
image_versions.additional_items.first_frame |
object |
รูปภาพต้นฉบับรูปแบบหนึ่ง。 |
image_versions.additional_items.first_frame.url |
string |
URL ของรูปภาพรูปแบบนี้。 |
image_versions.additional_items.first_frame.width |
integer |
ความกว้างของรูปภาพรูปแบบนี้ในพิกเซล。 |
image_versions.additional_items.first_frame.height |
integer |
ความสูงของรูปภาพรูปแบบนี้ในพิกเซล。 |
image_versions.additional_items.first_frame.is_spatial_image |
boolean |
Instagram จะระบุภาพว่าเป็นภาพแบบสเปซหรือไม่。 |
image_versions.additional_items.igtv_first_frame |
object |
ภาพต้นฉบับเพิ่มเติมในฟิลด์ IGTV。 |
image_versions.additional_items.igtv_first_frame.url |
string |
URL ของรูปภาพรูปแบบนี้。 |
image_versions.additional_items.igtv_first_frame.width |
integer |
ความกว้างของรูปภาพรูปแบบนี้ในพิกเซล。 |
image_versions.additional_items.igtv_first_frame.height |
integer |
ความสูงของรูปภาพรูปแบบนี้ในพิกเซล。 |
image_versions.additional_items.igtv_first_frame.is_spatial_image |
boolean |
Instagram จะระบุภาพว่าเป็นภาพแบบสเปซหรือไม่。 |
image_versions.scrubber_spritesheet_info_candidates |
object |
ไฟล์สปีตสำหรับการดูตัวอย่างของลิทเทลไทม์。 |
image_versions.scrubber_spritesheet_info_candidates.default |
object |
การตั้งค่าของไฟล์สปีตสำหรับการดูตัวอย่างลิทเทลไทม์เริ่มต้น。 |
image_versions.scrubber_spritesheet_info_candidates.default.sprite_urls |
array |
URL ของไฟล์สปีต。 |
image_versions.scrubber_spritesheet_info_candidates.default.sprite_urls[] |
string |
URL ของภาพในไฟล์สปีตหนึ่งภาพ。 |
image_versions.scrubber_spritesheet_info_candidates.default.sprite_width |
integer |
ความกว้างของไฟล์สปีตในพิกเซล。 |
image_versions.scrubber_spritesheet_info_candidates.default.sprite_height |
integer |
ความสูงของแผ่นสตอรี่ในพิกเซล |
image_versions.scrubber_spritesheet_info_candidates.default.thumbnail_width |
integer |
ความกว้างของไอ้มิลล์สำหรับการดูตัวอย่างลำดับเวลาในพิกเซล. |
image_versions.scrubber_spritesheet_info_candidates.default.thumbnail_height |
integer |
ความสูงของไอ้มิลล์สำหรับการดูตัวอย่างลำดับเวลาในพิกเซล. |
image_versions.scrubber_spritesheet_info_candidates.default.thumbnails_per_row |
integer |
จำนวนภาพขนาดเล็กต่อแถวในแผ่นสตอรี่ |
image_versions.scrubber_spritesheet_info_candidates.default.total_thumbnail_num_per_sprite |
integer |
จำนวนภาพขนาดเล็กทั้งหมดที่รายงานต่อแผ่นสตอรี่ |
image_versions.scrubber_spritesheet_info_candidates.default.max_thumbnails_per_sprite |
integer |
จำนวนภาพขนาดเล็กสูงสุดที่รายงานต่อแผ่นสตอรี่ |
image_versions.scrubber_spritesheet_info_candidates.default.file_size_kb |
integer |
ขนาดไฟล์แผ่นสตอรี่ที่รายงานในกิโลไบต์ |
ผู้สร้างและผู้ร่วมงาน18 ฟิลด์
data.data.items[]
| ฟิลด์ | ชนิดข้อมูล | คำอธิบาย |
|---|---|---|
user |
object |
บัญชีผู้เขียนที่ถูกส่งกลับมาสำหรับ Reel. |
user.id |
string |
ตัวระบุบัญชี Instagram ในรูปแบบข้อความ. |
user.username |
string |
ชื่อผู้ใช้ Instagram ที่แสดงสำหรับบัญชีนี้. |
user.full_name |
string |
ชื่อที่แสดงสำหรับบัญชี. |
user.profile_pic_url |
string |
URL ของรูปโปรไฟล์สำหรับบัญชี. |
user.profile_pic_id |
string |
ตัวระบุรูปโปรไฟล์ของบัญชี. |
user.is_private |
boolean |
ว่าบัญชีนั้นถูกจัดเป็นส่วนตัวหรือไม่. |
user.is_verified |
boolean |
ว่าบัญชีนั้นแสดงสถานะที่ได้รับการยืนยันหรือไม่. |
user.follower_count |
integer |
จำนวนผู้ติดตามที่รายงานสำหรับบัญชี |
coauthor_producers |
array |
บัญชีผู้ร่วมเขียนที่เกี่ยวข้องกับ Reel หากมี. |
coauthor_producers[] |
object |
บัญชีผู้ร่วมเขียนหนึ่งบัญชี. |
coauthor_producers[].id |
string |
ตัวระบุบัญชี Instagram ในรูปแบบข้อความ. |
coauthor_producers[].username |
string |
ชื่อผู้ใช้ Instagram ที่แสดงสำหรับบัญชีนี้. |
coauthor_producers[].full_name |
string |
ชื่อที่แสดงสำหรับบัญชี. |
coauthor_producers[].profile_pic_url |
string |
URL ของรูปโปรไฟล์สำหรับบัญชี. |
coauthor_producers[].profile_pic_id |
string |
ตัวระบุรูปโปรไฟล์ของบัญชี. |
coauthor_producers[].is_private |
boolean |
ว่าบัญชีนั้นถูกจัดเป็นส่วนตัวหรือไม่. |
coauthor_producers[].is_verified |
boolean |
ว่าบัญชีนั้นแสดงสถานะที่ได้รับการยืนยันหรือไม่. |
คำบรรยายและคำบรรยายเสริม25 ฟิลด์
data.data.items[]
| ฟิลด์ | ชนิดข้อมูล | คำอธิบาย |
|---|---|---|
caption |
object |
คำอธิบายที่แนบมาด้วยกับ Reel. |
caption.id |
string |
ตัวระบุบันทึกคำอธิบายในรูปแบบข้อความ. |
caption.text |
string |
ข้อความคำอธิบายที่ผู้เขียนได้โพสต์. |
caption.text_translation |
string | null |
ข้อความคำอธิบายแปลเมื่อมีการแสดงผลในคำตอบ |
caption.created_at |
integer |
เวลาที่บันทึกสำหรับการสร้างคำอธิบายเป็นไทม์สแต็กยูนิกซ์ในหน่วยวินาที |
caption.hashtags |
array |
หัวข้อที่ระบุในคำอธิบาย รายการอาจว่างเปล่า |
caption.hashtags[] |
string |
หนึ่งสตริงหัวข้อที่รายงานสำหรับคำอธิบาย |
caption.mentions |
array |
การกล่าวถึงที่ระบุในคำอธิบาย รายการอาจว่างเปล่า |
caption.mentions[] |
string |
หนึ่งสตริงการกล่าวถึงที่รายงานสำหรับคำอธิบาย |
caption.user_id |
string |
ตัวระบุบัญชีที่บันทึกไว้ในคำอธิบาย |
caption.user |
object |
บัญชีที่เชื่อมโยงกับคำอธิบาย |
caption.user.id |
string |
ตัวระบุบัญชี Instagram ในรูปแบบข้อความ. |
caption.user.username |
string |
ชื่อผู้ใช้ Instagram ที่แสดงสำหรับบัญชีนี้. |
caption.user.full_name |
string |
ชื่อที่แสดงสำหรับบัญชี. |
caption.user.profile_pic_url |
string |
URL ของรูปโปรไฟล์สำหรับบัญชี. |
caption.user.profile_pic_id |
string |
ตัวระบุรูปโปรไฟล์ของบัญชี. |
caption.user.is_private |
boolean |
ว่าบัญชีนั้นถูกจัดเป็นส่วนตัวหรือไม่. |
caption.user.is_verified |
boolean |
ว่าบัญชีนั้นแสดงสถานะที่ได้รับการยืนยันหรือไม่. |
video_subtitles_enabled |
boolean |
ว่าวิดีโอคำบรรยายถูกเปิดใช้งานสำหรับ Reel หรือไม่ |
video_subtitles_locale |
string | null |
ค่าของภาษาธรรมชาติที่รายงานสำหรับคำบรรยายของ Reel เมื่อมี |
video_subtitles_uri |
string | null |
URI ของไฟล์คำบรรยายเมื่อมี |
translated_video_subtitles |
array | null |
เวอร์ชันคำบรรยายที่แปลเมื่อมีในคำตอบ |
translated_video_subtitles[] |
object |
หนึ่งเวอร์ชันคำบรรยายที่แปล |
translated_video_subtitles[].language |
string |
ป้ายกำกับของภาษาที่ใช้คำบรรยายที่แปล |
translated_video_subtitles[].uri |
string |
URI สำหรับเวอร์ชันคำบรรยายที่แปลนี้ |
ตัวชี้วัดการมีส่วนร่วม14 ฟิลด์
data.data.items[]
| ฟิลด์ | ชนิดข้อมูล | คำอธิบาย |
|---|---|---|
play_count |
integer |
จำนวนครั้งที่วิดีโอเล่นที่รายงานสำหรับ Reel |
ig_play_count |
integer |
จำนวนครั้งที่ Instagram วิดีโอเล่นแยกต่างหากสำหรับ Reel |
fb_play_count |
integer | null |
จำนวนครั้งที่ Facebook วิดีโอเล่นเมื่อมีในคำตอบ |
like_count |
integer | null |
จำนวนครั้งที่ Like วิดีโอเล่นสำหรับ Reel ซึ่งอาจเป็น null |
ig_like_count |
integer |
จำนวนครั้งที่ Like วิดีโอจาก Instagram เมื่อมีในคำตอบ |
fb_like_count |
integer | null |
จำนวนครั้งที่ Like วิดีโอจาก Facebook เมื่อมีในคำตอบ |
comment_count |
integer |
จำนวนความคิดเห็นที่รายงานสำหรับ Reel |
share_count |
integer | null |
จำนวนครั้งที่แชร์ที่รายงานสำหรับ Reel |
repost_count |
integer | null |
จำนวนครั้งที่ Repost วิดีโอรายงานสำหรับ Reel ซึ่งอาจเป็น null |
share_count_disabled |
boolean |
ว่าจำนวนครั้งแชร์ของ Reel ถูกระบุว่าไม่สามารถใช้งานได้หรือไม่ |
like_and_view_counts_disabled |
boolean |
ว่าการดูและการแสดงความคิดเห็นสำหรับ Reel ถูกกำหนดให้ไม่สามารถใช้งานได้หรือไม่。 |
can_reshare |
boolean |
ว่าการ Reel ถูกกำหนดให้สามารถปรับโครงสร้างใหม่ได้หรือไม่。 |
can_save |
boolean |
ว่าการ Reel ถูกกำหนดให้สามารถบันทึกไว้ได้หรือไม่。 |
has_more_comments |
boolean | null |
ว่าการ Reel แต่ละรายการถูกกำหนดให้มีความคิดเห็นมากขึ้นหรือไม่。 |
ข้อมูลเสียง35 ฟิลด์
data.data.items[]
| ฟิลด์ | ชนิดข้อมูล | คำอธิบาย |
|---|---|---|
clips_metadata |
object |
ข้อมูลเมตาดาต้าเสียงที่เกี่ยวข้องกับ Reel。 |
clips_metadata.audio_type |
string |
ชื่อประเภทเสียงที่ส่งกลับมาสำหรับ Reel。 |
clips_metadata.audio_canonical_id |
string |
ตัวระบุเสียงมาตรฐานที่รายงานสำหรับ Reel。 |
clips_metadata.original_sound_info |
object | null |
ข้อมูลเสียงต้นฉบับเมื่อมีอยู่。 |
clips_metadata.original_sound_info.audio_id |
string |
ตัวระบุเสียงต้นฉบับในรูปแบบข้อความ。 |
clips_metadata.original_sound_info.original_audio_title |
string |
ชื่อที่แสดงสำหรับเสียงต้นฉบับ。 |
clips_metadata.original_sound_info.original_media_id |
string |
ตัวระบุสื่อที่เกี่ยวข้องกับเสียงต้นฉบับ。 |
clips_metadata.original_sound_info.duration_in_ms |
integer |
ความยาวของเสียงต้นฉบับในหน่วยมิลลิวินาที。 |
clips_metadata.original_sound_info.progressive_download_url |
string |
URL ของเสียงต้นฉบับเมื่อส่งกลับมา。 |
clips_metadata.original_sound_info.is_explicit |
boolean |
ว่าการเสียงต้นฉบับถูกกำหนดให้เป็นแบบเปิดเผยหรือไม่。 |
clips_metadata.original_sound_info.ig_artist |
object |
ศิลปิน Instagram ที่เกี่ยวข้องกับเสียงต้นฉบับ。 |
clips_metadata.original_sound_info.ig_artist.id |
string |
ตัวระบุบัญชี Instagram ในรูปแบบข้อความ. |
clips_metadata.original_sound_info.ig_artist.username |
string |
ชื่อผู้ใช้ Instagram ที่แสดงสำหรับบัญชีนี้. |
clips_metadata.original_sound_info.ig_artist.full_name |
string |
ชื่อที่แสดงสำหรับบัญชี. |
clips_metadata.original_sound_info.ig_artist.profile_pic_url |
string |
URL ของรูปโปรไฟล์สำหรับบัญชี. |
clips_metadata.original_sound_info.ig_artist.profile_pic_id |
string |
ตัวระบุรูปโปรไฟล์ของบัญชี. |
clips_metadata.original_sound_info.ig_artist.is_private |
boolean |
ว่าบัญชีนั้นถูกจัดเป็นส่วนตัวหรือไม่. |
clips_metadata.original_sound_info.ig_artist.is_verified |
boolean |
ว่าบัญชีนั้นแสดงสถานะที่ได้รับการยืนยันหรือไม่. |
clips_metadata.music_info |
object | null |
ข้อมูลเพลงเมื่อส่งกลับมาสำหรับ Reel。 |
clips_metadata.music_info.music_asset_info |
object |
ข้อมูลเมตาดาต้าของแหล่งข้อมูลเพลงที่ใช้ใน Reel。 |
clips_metadata.music_info.music_asset_info.id |
string |
ตัวระบุแหล่งข้อมูลเพลงในรูปแบบข้อความ。 |
clips_metadata.music_info.music_asset_info.audio_id |
string |
ตัวระบุเสียงสำหรับแหล่งข้อมูลเพลง。 |
clips_metadata.music_info.music_asset_info.title |
string |
ชื่อที่แสดงสำหรับแหล่งข้อมูลเพลง。 |
clips_metadata.music_info.music_asset_info.display_artist |
string |
ข้อมูลเกี่ยวกับศิลปินที่แสดงสำหรับแหล่งข้อมูลเพลง。 |
clips_metadata.music_info.music_asset_info.artist_id |
string | null |
ตัวระบุศิลปินที่ส่งกลับมาสำหรับแหล่งข้อมูลเพลง。 |
clips_metadata.music_info.music_asset_info.ig_username |
string | null |
ชื่อผู้ใช้ Instagram ที่เกี่ยวข้องกับแหล่งข้อมูลเพลงเมื่อมีอยู่。 |
clips_metadata.music_info.music_asset_info.duration_in_ms |
integer |
ความยาวของแหล่งข้อมูลเพลงในหน่วยมิลลิวินาที。 |
clips_metadata.music_info.music_asset_info.cover_artwork_uri |
string |
ที่อยู่ของภาพปกสำหรับแหล่งข้อมูลเพลง。 |
clips_metadata.music_info.music_asset_info.cover_artwork_thumbnail_uri |
string |
ที่อยู่ของรูปภาพปกสำหรับแหล่งข้อมูลเพลง. |
clips_metadata.music_info.music_asset_info.progressive_download_url |
string |
URL ของการเล่นเสียงที่ส่งกลับสำหรับแหล่งข้อมูลเพลง. |
clips_metadata.music_info.music_asset_info.fast_start_progressive_download_url |
string |
URL ของการเล่นเสียงแบบเร็วที่ส่งกลับสำหรับแหล่งข้อมูลเพลง. |
clips_metadata.music_info.music_asset_info.has_lyrics |
boolean |
ว่าบทเพลงมีการระบุว่าสามารถเข้าถึงได้หรือไม่สำหรับแหล่งข้อมูลเพลง. |
clips_metadata.music_info.music_asset_info.is_explicit |
boolean |
ว่าบทเพลงถูกระบุว่าเป็นแบบเฉพาะเจาะจงหรือไม่สำหรับแหล่งข้อมูลเพลง. |
clips_metadata.music_info.music_asset_info.highlight_start_times_in_ms |
array |
ตำแหน่งเริ่มต้นของช่วงไฮไลต์ในหน่วยมิลลิวินาที |
clips_metadata.music_info.music_asset_info.highlight_start_times_in_ms[] |
integer |
ตำแหน่งเริ่มต้นของช่วงไฮไลต์หนึ่งช่วงในหน่วยมิลลิวินาที |
ป้ายกำกับสถานที่และเนื้อหา8 ฟิลด์
data.data.items[]
| ฟิลด์ | ชนิดข้อมูล | คำอธิบาย |
|---|---|---|
location |
object | null |
สถานที่ที่ถูกติดแท็กเมื่อส่งกลับ. |
location.id |
string |
ตัวระบุที่กำหนดให้กับสถานที่ที่ถูกติดแท็ก. |
location.name |
string |
ชื่อของสถานที่ที่ติดแท็ก |
location.short_name |
string |
ชื่อสั้นของสถานที่ที่ถูกติดแท็ก. |
location.city |
string |
ชื่อเมืองที่ส่งกลับสำหรับสถานที่ที่ถูกติดแท็ก. |
ai_label_info |
object | null |
ข้อมูลแท็ก AI เมื่อส่งกลับสำหรับ Reel. |
ai_label_info.attribution_label_text |
string | null |
ข้อความที่แสดงสำหรับแท็ก AI. |
ai_label_info.subtitle_text |
string |
ข้อความเสริมที่มาพร้อมกับแท็ก AI. |
ตัวอย่างผลการตอบกลับ
กำลังโหลดตัวอย่างการตอบกลับ...