Get Facebook Marketplace item
curl --request GET \
--url https://api.aisa.one/apis/v1/facebook/marketplace/items \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/facebook/marketplace/items"
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/marketplace/items', 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/marketplace/items",
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/marketplace/items"
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/marketplace/items")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/facebook/marketplace/items")
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": {
"attributes": [
{
"label": "Used - Good",
"name": "Condition",
"value": "used_good"
}
],
"availability": {
"buyNowEnabled": false,
"hidden": false,
"live": true,
"messagingEnabled": true,
"pending": false,
"shippingOffered": false,
"sold": false,
"viewerSeller": false
},
"deliveryTypes": [
"IN_PERSON"
],
"item": {
"categoryId": "1658310421102081",
"createdAt": "2026-05-15T16:57:39.000Z",
"description": "Was going to hang on to this one bc I absolutely love how it looks.",
"itemId": "1656586118821988",
"platform": "facebook",
"shareUrl": "https://www.facebook.com/marketplace/item/1656586118821988/",
"title": "Specialized Hardrock GSX - Super Clean Vintage Restomod - INCLUDES FREE TUNE UP",
"url": "https://www.facebook.com/marketplace/item/1656586118821988/"
},
"location": {
"latitude": 30.401916503906,
"longitude": -97.761840820312,
"text": "Austin, TX"
},
"lookupStatus": "found",
"photos": [
{
"accessibilityCaption": "No photo description available.",
"height": 720,
"photoId": "2810586442651711",
"url": "https://scontent.example.com/marketplace-photo.jpg",
"width": 960
}
],
"price": {
"amount": 380,
"amountMinor": 38000,
"currency": "USD",
"formatted": "$380",
"strikethroughAmount": null,
"strikethroughAmountMinor": null,
"strikethroughCurrency": null,
"strikethroughFormatted": null
},
"seller": null
},
"meta": {
"creditsCharged": 1,
"requestId": "req_01example_marketplace_item_found",
"version": "v1"
}
}Facebook
Get Facebook Marketplace item
Returns details for a Facebook Marketplace listing. Provide itemId or url.
GET
https://api.aisa.one
/
apis
/
v1
/
facebook
/
marketplace
/
items
Get Facebook Marketplace item
curl --request GET \
--url https://api.aisa.one/apis/v1/facebook/marketplace/items \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/facebook/marketplace/items"
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/marketplace/items', 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/marketplace/items",
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/marketplace/items"
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/marketplace/items")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/facebook/marketplace/items")
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": {
"attributes": [
{
"label": "Used - Good",
"name": "Condition",
"value": "used_good"
}
],
"availability": {
"buyNowEnabled": false,
"hidden": false,
"live": true,
"messagingEnabled": true,
"pending": false,
"shippingOffered": false,
"sold": false,
"viewerSeller": false
},
"deliveryTypes": [
"IN_PERSON"
],
"item": {
"categoryId": "1658310421102081",
"createdAt": "2026-05-15T16:57:39.000Z",
"description": "Was going to hang on to this one bc I absolutely love how it looks.",
"itemId": "1656586118821988",
"platform": "facebook",
"shareUrl": "https://www.facebook.com/marketplace/item/1656586118821988/",
"title": "Specialized Hardrock GSX - Super Clean Vintage Restomod - INCLUDES FREE TUNE UP",
"url": "https://www.facebook.com/marketplace/item/1656586118821988/"
},
"location": {
"latitude": 30.401916503906,
"longitude": -97.761840820312,
"text": "Austin, TX"
},
"lookupStatus": "found",
"photos": [
{
"accessibilityCaption": "No photo description available.",
"height": 720,
"photoId": "2810586442651711",
"url": "https://scontent.example.com/marketplace-photo.jpg",
"width": 960
}
],
"price": {
"amount": 380,
"amountMinor": 38000,
"currency": "USD",
"formatted": "$380",
"strikethroughAmount": null,
"strikethroughAmountMinor": null,
"strikethroughCurrency": null,
"strikethroughFormatted": null
},
"seller": null
},
"meta": {
"creditsCharged": 1,
"requestId": "req_01example_marketplace_item_found",
"version": "v1"
}
}
请求示例待验证。 此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式,请替换为自己的参数。正式调用前,可用免费的报价模式(X-AISA-Cost-Mode: quote)查看预估费用。
请求规范
- 方法与路径: GET /apis/v1/facebook/marketplace/items
- 可用状态: enabled
- 请求 URL 模板:
https://api.aisa.one/apis/v1/facebook/marketplace/items - itemId: query; 可选
- url: query; 可选
{
"operationId": "facebook.marketplace.items",
"method": "GET",
"path": "/apis/v1/facebook/marketplace/items",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"in": "query",
"name": "itemId",
"required": false,
"schema": {
"description": "Facebook Marketplace item identifier. Provide this instead of url when you already know the item id.",
"maxLength": 4096,
"minLength": 1,
"type": "string"
}
},
{
"in": "query",
"name": "url",
"required": false,
"schema": {
"description": "Public Facebook Marketplace item URL.",
"maxLength": 4096,
"minLength": 1,
"type": "string"
}
}
],
"security": [
{
"bearerAuth": []
}
],
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
已观察到的响应结构
以下结构来自探针或抽样请求的成功结果,只反映已观察到的部分:字段和类型可能变化,不保证每次都有。已有正式响应定义优先;这里不发布真实响应值。- HTTP 状态 / 最近观察日期: 200 / 2026-11-14
{
"additionalProperties": true,
"properties": {
"data": {
"additionalProperties": true,
"properties": {
"attributes": {
"items": {
"additionalProperties": true,
"properties": {
"label": {
"type": "string"
},
"name": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"availability": {
"additionalProperties": true,
"properties": {
"buyNowEnabled": {
"type": "boolean"
},
"hidden": {
"type": "boolean"
},
"live": {
"type": "boolean"
},
"messagingEnabled": {
"type": "boolean"
},
"pending": {
"type": "boolean"
},
"shippingOffered": {
"type": "boolean"
},
"sold": {
"type": "boolean"
},
"viewerSeller": {
"type": "boolean"
}
},
"type": "object"
},
"deliveryTypes": {
"items": {
"type": "string"
},
"type": "array"
},
"item": {
"additionalProperties": true,
"properties": {
"categoryId": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"description": {
"type": "string"
},
"itemId": {
"type": "string"
},
"platform": {
"type": "string"
},
"shareUrl": {
"type": "string"
},
"title": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"location": {
"additionalProperties": true,
"properties": {
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
},
"text": {
"type": "string"
}
},
"type": "object"
},
"lookupStatus": {
"type": "string"
},
"photos": {
"items": {
"additionalProperties": true,
"properties": {
"accessibilityCaption": {
"type": "string"
},
"height": {
"type": "integer"
},
"photoId": {
"type": "string"
},
"url": {
"type": "string"
},
"width": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"price": {
"additionalProperties": true,
"properties": {
"amount": {
"type": "integer"
},
"amountMinor": {
"type": "integer"
},
"currency": {
"type": "string"
},
"formatted": {
"type": "string"
},
"strikethroughAmount": {
"type": "null"
},
"strikethroughAmountMinor": {
"type": "null"
},
"strikethroughCurrency": {
"type": "null"
},
"strikethroughFormatted": {
"type": "null"
}
},
"type": "object"
},
"seller": {
"additionalProperties": true,
"properties": {
"avatarUrl": {
"type": "null"
},
"name": {
"type": "string"
},
"profileUrl": {
"type": "null"
},
"rating": {
"type": "null"
},
"sellerId": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"meta": {
"additionalProperties": true,
"properties": {
"version": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
费用与请求规则
按实际用量收费。 默认请求预估费用:$0.014 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。响应时间
- 通常 10 秒内返回。