Get Facebook post or reel
curl --request GET \
--url https://api.aisa.one/apis/v1/facebook/posts \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/facebook/posts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/facebook/posts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/facebook/posts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/facebook/posts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/facebook/posts")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/facebook/posts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"author": {
"avatarUrl": "https://scontent-bos5-1.xx.fbcdn.net/v/t39.30808-1/514261429_10161957814226701_4543987082209670710_n.jpg?stp=c0.0.721.721a_cp0_dst-jpg_s40x40_tt6&_nc_cat=110&ccb=1-7&_nc_sid=e99d92&_nc_ohc=uyR1txJfOkQQ7kNvwHtN2QJ&_nc_oc=AdrGClplp0F2h2TolejNQ2iULFmor5zBt9rLR-BfwhoITH_juE07WURY5_PB2gUUozQ&_nc_zt=24&_nc_ht=scontent-bos5-…",
"name": "Rob Gill",
"platformUserId": "pfbid0uBmCwXFmk9pA4PiBCQrHHU6RGhnfmfVhjSCYj4VjdSgwzjMeamJqm39UqeCdEEdTl",
"profileUrl": "https://www.facebook.com/rob.gill.75",
"verified": false
},
"comments": [],
"lookupStatus": "found",
"media": {
"captionsUrl": null,
"durationSec": 37.64,
"height": 1920,
"imageUrl": null,
"imageUrls": null,
"thumbnailUrl": "https://scontent-bos5-1.xx.fbcdn.net/v/t51.71878-10/660112739_25957974367215059_110893655217320703_n.jpg?stp=dst-jpg_s960x960_tt6&_nc_cat=109&ccb=1-7&_nc_sid=5fad0e&_nc_ohc=XXjYUlYXsXMQ7kNvwGg3lr9&_nc_oc=AdpGmc_ITdYsRAu1lw7lgHS0jBbI1fL5c3VG4hyIURvYbteKGCgLnf-kl-nsbx9KQdc&_nc_zt=23&_nc_ht=scontent-bos5-1.xx&_nc_gid=By5…",
"videoHdUrl": "https://video-bos5-1.xx.fbcdn.net/o1/v/t2/f2/m86/AQNJdGdrSnjGzK4cq5gtbF1YJkHJxmv7r2V6lKscQLUfoFkpQJqiXL1p-xRP8hXm_uzQBVPJhXwU3TE41uNJC29Sd5NTRgWLO5uJpgY.mp4?_nc_cat=108&_nc_sid=5e9851&_nc_ht=video-bos5-1.xx.fbcdn.net&_nc_ohc=bCPjaL1CxfYQ7kNvwHGGFX2&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5GQUNFQk9PSy4uQzMuNzIwLm…",
"videoUrl": "https://video-bos5-1.xx.fbcdn.net/o1/v/t2/f2/m367/AQPifrfcgYSM0szrgSfU6HXGgyc_676Q7R_bJ9tqkyZbxmII7geMl27xpAqH4AgCW7HXoTfBhgskFxtKF4ne8vG2uQw44KtjK11jRbiH4A.mp4?_nc_cat=101&_nc_sid=8bf8fe&_nc_ht=video-bos5-1.xx.fbcdn.net&_nc_ohc=02-IX_hmNCQQ7kNvwFf2nGG&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5GQUNFQk9PSy4uQzMuMz…",
"width": 1080
},
"metrics": {
"comments": 10,
"likes": 110,
"reactions": null,
"shares": 0,
"views": null
},
"music": {
"albumArtUrl": "https://scontent-bos5-1.xx.fbcdn.net/v/t39.30808-6/504219432_90029957196451_5125107072007623706_n.jpg?stp=dst-jpg_s168x128_tt6&_nc_cat=1&ccb=1-7&_nc_sid=2f2557&_nc_ohc=ViTN-uA-1C0Q7kNvwEC5I94&_nc_oc=AdrKctFKyf4KpuE_4vFL2qUvcYwfYyAj7iCNiUS6BXhQidU4AlmHiNtiNGjebKWtZqA&_nc_zt=23&_nc_ht=scontent-bos5-1.xx&_nc_gid=By5MPaBr…",
"musicId": "1736166400619393",
"trackTitle": "Sabrina Carpenter · Manchild",
"type": "LIBRARY_MUSIC"
},
"post": {
"description": "Being a dad of 3 looks a little like… 🕺🤣♥️",
"feedbackId": "ZmVlZGJhY2s6MTAxNjI5NTIxMDU5MTE3MDE=",
"linkAttachment": null,
"platform": "facebook",
"postId": "10162952105911701",
"publishedAt": "2026-04-07T19:02:33.000Z",
"url": "https://www.facebook.com/reel/823172974137208"
},
"transcript": null
},
"meta": {
"creditsCharged": 1,
"requestId": "req_fb5a02ce-9b0e-4b27-8854-0a6e40760e3d",
"version": "v1"
}
}Facebook
Get Facebook post or reel
Returns a Facebook post or Reel by URL. Required input: url.
GET
https://api.aisa.one
/
apis
/
v1
/
facebook
/
posts
Get Facebook post or reel
curl --request GET \
--url https://api.aisa.one/apis/v1/facebook/posts \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/facebook/posts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/facebook/posts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/facebook/posts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/facebook/posts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/facebook/posts")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/facebook/posts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"author": {
"avatarUrl": "https://scontent-bos5-1.xx.fbcdn.net/v/t39.30808-1/514261429_10161957814226701_4543987082209670710_n.jpg?stp=c0.0.721.721a_cp0_dst-jpg_s40x40_tt6&_nc_cat=110&ccb=1-7&_nc_sid=e99d92&_nc_ohc=uyR1txJfOkQQ7kNvwHtN2QJ&_nc_oc=AdrGClplp0F2h2TolejNQ2iULFmor5zBt9rLR-BfwhoITH_juE07WURY5_PB2gUUozQ&_nc_zt=24&_nc_ht=scontent-bos5-…",
"name": "Rob Gill",
"platformUserId": "pfbid0uBmCwXFmk9pA4PiBCQrHHU6RGhnfmfVhjSCYj4VjdSgwzjMeamJqm39UqeCdEEdTl",
"profileUrl": "https://www.facebook.com/rob.gill.75",
"verified": false
},
"comments": [],
"lookupStatus": "found",
"media": {
"captionsUrl": null,
"durationSec": 37.64,
"height": 1920,
"imageUrl": null,
"imageUrls": null,
"thumbnailUrl": "https://scontent-bos5-1.xx.fbcdn.net/v/t51.71878-10/660112739_25957974367215059_110893655217320703_n.jpg?stp=dst-jpg_s960x960_tt6&_nc_cat=109&ccb=1-7&_nc_sid=5fad0e&_nc_ohc=XXjYUlYXsXMQ7kNvwGg3lr9&_nc_oc=AdpGmc_ITdYsRAu1lw7lgHS0jBbI1fL5c3VG4hyIURvYbteKGCgLnf-kl-nsbx9KQdc&_nc_zt=23&_nc_ht=scontent-bos5-1.xx&_nc_gid=By5…",
"videoHdUrl": "https://video-bos5-1.xx.fbcdn.net/o1/v/t2/f2/m86/AQNJdGdrSnjGzK4cq5gtbF1YJkHJxmv7r2V6lKscQLUfoFkpQJqiXL1p-xRP8hXm_uzQBVPJhXwU3TE41uNJC29Sd5NTRgWLO5uJpgY.mp4?_nc_cat=108&_nc_sid=5e9851&_nc_ht=video-bos5-1.xx.fbcdn.net&_nc_ohc=bCPjaL1CxfYQ7kNvwHGGFX2&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5GQUNFQk9PSy4uQzMuNzIwLm…",
"videoUrl": "https://video-bos5-1.xx.fbcdn.net/o1/v/t2/f2/m367/AQPifrfcgYSM0szrgSfU6HXGgyc_676Q7R_bJ9tqkyZbxmII7geMl27xpAqH4AgCW7HXoTfBhgskFxtKF4ne8vG2uQw44KtjK11jRbiH4A.mp4?_nc_cat=101&_nc_sid=8bf8fe&_nc_ht=video-bos5-1.xx.fbcdn.net&_nc_ohc=02-IX_hmNCQQ7kNvwFf2nGG&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5GQUNFQk9PSy4uQzMuMz…",
"width": 1080
},
"metrics": {
"comments": 10,
"likes": 110,
"reactions": null,
"shares": 0,
"views": null
},
"music": {
"albumArtUrl": "https://scontent-bos5-1.xx.fbcdn.net/v/t39.30808-6/504219432_90029957196451_5125107072007623706_n.jpg?stp=dst-jpg_s168x128_tt6&_nc_cat=1&ccb=1-7&_nc_sid=2f2557&_nc_ohc=ViTN-uA-1C0Q7kNvwEC5I94&_nc_oc=AdrKctFKyf4KpuE_4vFL2qUvcYwfYyAj7iCNiUS6BXhQidU4AlmHiNtiNGjebKWtZqA&_nc_zt=23&_nc_ht=scontent-bos5-1.xx&_nc_gid=By5MPaBr…",
"musicId": "1736166400619393",
"trackTitle": "Sabrina Carpenter · Manchild",
"type": "LIBRARY_MUSIC"
},
"post": {
"description": "Being a dad of 3 looks a little like… 🕺🤣♥️",
"feedbackId": "ZmVlZGJhY2s6MTAxNjI5NTIxMDU5MTE3MDE=",
"linkAttachment": null,
"platform": "facebook",
"postId": "10162952105911701",
"publishedAt": "2026-04-07T19:02:33.000Z",
"url": "https://www.facebook.com/reel/823172974137208"
},
"transcript": null
},
"meta": {
"creditsCharged": 1,
"requestId": "req_fb5a02ce-9b0e-4b27-8854-0a6e40760e3d",
"version": "v1"
}
}
请求示例待验证。 此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式,请替换为自己的参数。正式调用前,可用免费的报价模式(X-AISA-Cost-Mode: quote)查看预估费用。
请求规范
- 方法与路径: GET /apis/v1/facebook/posts
- 可用状态: enabled
- 请求 URL 模板:
https://api.aisa.one/apis/v1/facebook/posts - includeComments: query; 可选
- includeTranscript: query; 可选
- url: query; 必填
{
"operationId": "facebook.posts",
"method": "GET",
"path": "/apis/v1/facebook/posts",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"in": "query",
"name": "includeComments",
"required": false,
"schema": {
"description": "When true, includes a sample of top-level comments when available.",
"type": "boolean"
}
},
{
"in": "query",
"name": "includeTranscript",
"required": false,
"schema": {
"description": "When true, includes a plain-text transcript when available for the video.",
"type": "boolean"
}
},
{
"in": "query",
"name": "url",
"required": true,
"schema": {
"description": "Public permalink to the Facebook post or reel.",
"maxLength": 4096,
"minLength": 1,
"type": "string"
}
}
],
"security": [
{
"bearerAuth": []
}
],
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
已观察到的响应结构
以下结构来自探针或抽样请求的成功结果,只反映已观察到的部分:字段和类型可能变化,不保证每次都有。已有正式响应定义优先;这里不发布真实响应值。- HTTP 状态 / 最近观察日期: 200 / 2026-11-28
{
"additionalProperties": true,
"properties": {
"data": {
"additionalProperties": true,
"properties": {
"author": {
"additionalProperties": true,
"properties": {
"avatarUrl": {
"type": "string"
},
"name": {
"type": "string"
},
"profileUrl": {
"type": [
"null",
"string"
]
},
"verified": {
"type": "boolean"
}
},
"type": "object"
},
"comments": {
"items": {},
"type": "array"
},
"media": {
"additionalProperties": true,
"properties": {
"height": {
"type": [
"null",
"integer"
]
},
"imageUrl": {
"type": [
"null",
"string"
]
},
"thumbnailUrl": {
"type": [
"null",
"string"
]
},
"videoUrl": {
"type": [
"null",
"string"
]
},
"width": {
"type": [
"null",
"integer"
]
}
},
"type": "object"
},
"post": {
"additionalProperties": true,
"properties": {
"description": {
"type": "string"
},
"postId": {
"type": "string"
},
"publishedAt": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"meta": {
"additionalProperties": true,
"properties": {
"version": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
费用与请求规则
按实际用量收费。 默认请求预估费用:$0.014 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。响应时间
- 通常 10 秒内返回。