跳转到主要内容
GET
Search Facebook Marketplace listings
请求示例待验证。 此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式,请替换为自己的参数。正式调用前,可用免费的报价模式(X-AISA-Cost-Mode: quote)查看预估费用。

请求规范

  • 方法与路径: GET /apis/v1/facebook/marketplace/search
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/facebook/marketplace/search
  • availability: query; 可选
  • categoryId: query; 可选
  • condition: query; 可选
  • cursor: query; 可选
  • dateListed: query; 可选
  • deliveryMethod: query; 可选
  • lat: query; 必填
  • limit: query; 可选
  • lng: query; 必填
  • maxPrice: query; 可选
  • minPrice: query; 可选
  • query: query; 必填
  • radiusKm: query; 可选
  • sortBy: query; 可选
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

已观察到的响应结构

以下结构来自探针或抽样请求的成功结果,只反映已观察到的部分:字段和类型可能变化,不保证每次都有。已有正式响应定义优先;这里不发布真实响应值。
  • HTTP 状态 / 最近观察日期: 200 / 2026-11-14

费用与请求规则

按实际用量收费。 默认请求预估费用:$0.014 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。

翻页

  • 把 aisa_pagination.next_cursor 作为 cursor(查询参数)传入即可获取下一页;aisa_pagination.has_more 为 false 时停止。
  • 响应头 X-AISA-Has-More 与 X-AISA-Next-Cursor 返回相同的值。
  • 页大小参数:limit

响应时间

  • 通常 10 秒内返回。

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

查询参数

availability
enum<string>

Optional availability filter for marketplace listings.

可用选项:
all,
available,
sold
Required string length: 1 - 4096
categoryId
string

Optional numeric Marketplace category id. Only listings in that category are returned. Listings report their category as categoryId.

Required string length: 1 - 4096
condition
enum<string>

Optional item condition filter for marketplace listings.

可用选项:
new,
usedFair,
usedGood,
usedLikeNew
Required string length: 1 - 4096
cursor
string

Opaque pagination cursor returned by a previous response.

Required string length: 1 - 16384
dateListed
enum<string>

Optional date-listed filter for marketplace listings. 1/last24Hours both mean the last 24 hours, 7/last7Days both mean the last 7 days, and 30/last30Days both mean the last 30 days — these are separate values Facebook accepts for the same window; prefer the named variants (last24Hours, last7Days, last30Days) for clarity. all applies no date filter.

可用选项:
1,
30,
7,
all,
last24Hours,
last30Days,
last7Days
Required string length: 1 - 4096
deliveryMethod
enum<string>

Optional delivery method filter for marketplace listings.

可用选项:
all,
localPickup,
shipping
Required string length: 1 - 4096
lat
string
必填

Latitude for the marketplace search location.

Required string length: 1 - 64
limit
integer

Optional number of listings to return (1–100). Prefer this over count.

必填范围: 1 <= x <= 100
lng
string
必填

Longitude for the marketplace search location.

Required string length: 1 - 64
maxPrice
string

Optional maximum listing price. Must be greater than or equal to minPrice when both are set.

Required string length: 1 - 64
minPrice
string

Optional minimum listing price. Must be less than or equal to maxPrice when both are set.

Required string length: 1 - 64
query
string
必填

Search query text for marketplace listings.

Required string length: 1 - 4096
radiusKm
string

Optional search radius in kilometers.

Required string length: 1 - 64
sortBy
enum<string>

Optional sort order for marketplace listings. suggested: Facebook's default relevance ranking. distanceAscend: nearest first. creationTimeDescend: newest listings first. priceAscend/priceDescend: lowest/highest price first.

可用选项:
creationTimeDescend,
distanceAscend,
priceAscend,
priceDescend,
suggested
Required string length: 1 - 4096

响应

Marketplace listings for the requested search.

Standard success response envelope.

data
object
必填

Endpoint-specific response payload.

meta
object
必填

Metadata describing the request and billing outcome.

aisa_pagination
object

AIsa pagination. Pass next_cursor as cursor to fetch the next page; has_more is false on the last page.