> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Search Facebook Marketplace listings

> Searches Facebook Marketplace listings by keyword near a latitude and longitude. Required inputs: `query`, `lat` and `lng`. Results are paged: while `data.page.hasMore` is true, send `data.page.nextCursor` as `cursor` to get the next page.

> **请求示例待验证。** 此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式，请替换为自己的参数。正式调用前，可用免费的报价模式（`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 定义](https://aisa.one/docs/openapi-public/zh/facebook.json)

有效请求声明（包括认证和引用的 schema）：

```json theme={null}
{
  "operationId": "facebook.marketplace.search",
  "method": "GET",
  "path": "/apis/v1/facebook/marketplace/search",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "in": "query",
      "name": "availability",
      "required": false,
      "schema": {
        "description": "Optional availability filter for marketplace listings.",
        "enum": [
          "all",
          "available",
          "sold"
        ],
        "maxLength": 4096,
        "minLength": 1,
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "categoryId",
      "required": false,
      "schema": {
        "description": "Optional numeric Marketplace category id. Only listings in that category are returned. Listings report their category as `categoryId`.",
        "maxLength": 4096,
        "minLength": 1,
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "condition",
      "required": false,
      "schema": {
        "description": "Optional item condition filter for marketplace listings.",
        "enum": [
          "new",
          "usedFair",
          "usedGood",
          "usedLikeNew"
        ],
        "maxLength": 4096,
        "minLength": 1,
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "cursor",
      "required": false,
      "schema": {
        "description": "Opaque pagination cursor returned by a previous response.",
        "maxLength": 16384,
        "minLength": 1,
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "dateListed",
      "required": false,
      "schema": {
        "description": "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.",
        "enum": [
          "1",
          "30",
          "7",
          "all",
          "last24Hours",
          "last30Days",
          "last7Days"
        ],
        "maxLength": 4096,
        "minLength": 1,
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "deliveryMethod",
      "required": false,
      "schema": {
        "description": "Optional delivery method filter for marketplace listings.",
        "enum": [
          "all",
          "localPickup",
          "shipping"
        ],
        "maxLength": 4096,
        "minLength": 1,
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "lat",
      "required": true,
      "schema": {
        "description": "Latitude for the marketplace search location.",
        "maxLength": 64,
        "minLength": 1,
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
        "description": "Optional number of listings to return (1–100). Prefer this over `count`.",
        "maximum": 100,
        "minimum": 1,
        "type": "integer"
      }
    },
    {
      "in": "query",
      "name": "lng",
      "required": true,
      "schema": {
        "description": "Longitude for the marketplace search location.",
        "maxLength": 64,
        "minLength": 1,
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "maxPrice",
      "required": false,
      "schema": {
        "description": "Optional maximum listing price. Must be greater than or equal to `minPrice` when both are set.",
        "maxLength": 64,
        "minLength": 1,
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "minPrice",
      "required": false,
      "schema": {
        "description": "Optional minimum listing price. Must be less than or equal to `maxPrice` when both are set.",
        "maxLength": 64,
        "minLength": 1,
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "query",
      "required": true,
      "schema": {
        "description": "Search query text for marketplace listings.",
        "maxLength": 4096,
        "minLength": 1,
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "radiusKm",
      "required": false,
      "schema": {
        "description": "Optional search radius in kilometers.",
        "maxLength": 64,
        "minLength": 1,
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "sortBy",
      "required": false,
      "schema": {
        "description": "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.",
        "enum": [
          "creationTimeDescend",
          "distanceAscend",
          "priceAscend",
          "priceDescend",
          "suggested"
        ],
        "maxLength": 4096,
        "minLength": 1,
        "type": "string"
      }
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 已观察到的响应结构

以下结构来自探针或抽样请求的成功结果，只反映已观察到的部分：字段和类型可能变化，不保证每次都有。已有正式响应定义优先；这里不发布真实响应值。

* **HTTP 状态 / 最近观察日期:** 200 / 2026-11-14

```json theme={null}
{
  "additionalProperties": true,
  "properties": {
    "data": {
      "additionalProperties": true,
      "properties": {
        "listings": {
          "items": {
            "additionalProperties": true,
            "properties": {
              "categoryId": {
                "type": "string"
              },
              "deliveryTypes": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "id": {
                "type": "string"
              },
              "location": {
                "additionalProperties": true,
                "properties": {
                  "city": {
                    "type": "string"
                  },
                  "cityPageId": {
                    "type": "string"
                  },
                  "displayName": {
                    "type": "string"
                  },
                  "state": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "price": {
                "additionalProperties": true,
                "properties": {
                  "amount": {
                    "type": "integer"
                  },
                  "amountWithOffsetInCurrency": {
                    "type": "integer"
                  },
                  "formattedAmount": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "primaryPhoto": {
                "additionalProperties": true,
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "status": {
                "additionalProperties": true,
                "properties": {
                  "isHidden": {
                    "type": "boolean"
                  },
                  "isLive": {
                    "type": "boolean"
                  },
                  "isPending": {
                    "type": "boolean"
                  },
                  "isSold": {
                    "type": "boolean"
                  },
                  "isViewerSeller": {
                    "type": "boolean"
                  }
                },
                "type": "object"
              },
              "storyKey": {
                "type": "string"
              },
              "storyType": {
                "type": "string"
              },
              "strikethroughPrice": {
                "additionalProperties": true,
                "properties": {
                  "amount": {
                    "type": "integer"
                  },
                  "amountWithOffsetInCurrency": {
                    "type": "null"
                  },
                  "formattedAmount": {
                    "type": "string"
                  }
                },
                "type": [
                  "null",
                  "object"
                ]
              },
              "title": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "location": {
          "additionalProperties": true,
          "properties": {
            "lat": {
              "type": "number"
            },
            "lng": {
              "type": "number"
            },
            "radiusKm": {
              "type": "null"
            }
          },
          "type": "object"
        },
        "page": {
          "additionalProperties": true,
          "properties": {
            "hasMore": {
              "type": "boolean"
            },
            "nextCursor": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "query": {
          "type": "string"
        },
        "totalListings": {
          "type": "integer"
        }
      },
      "type": "object"
    },
    "meta": {
      "additionalProperties": true,
      "properties": {
        "version": {
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "type": "object"
}
```

## 费用与请求规则

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

## 翻页

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

## 响应时间

* 通常 10 秒内返回。


## OpenAPI

````yaml openapi-public/zh/facebook.json GET /apis/v1/facebook/marketplace/search
openapi: 3.1.0
info:
  description: ''
  title: Facebook公开数据
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    facebook:
      description: ''
      title: Facebook公开数据
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: 23c4518fe0e0b2521c80af5979c6da9baa3750647312250fa85879a638b281e5
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/facebook/ad-library/ads
    - /apis/v1/facebook/ad-library/ads/search
    - /apis/v1/facebook/ad-library/companies/ads
    - /apis/v1/facebook/ad-library/companies/search
    - /apis/v1/facebook/events
    - /apis/v1/facebook/events/details
    - /apis/v1/facebook/events/search
    - /apis/v1/facebook/get-comment-replies
    - /apis/v1/facebook/get-post-comments
    - /apis/v1/facebook/get-post-comments-v1
    - /apis/v1/facebook/get-profile-id
    - /apis/v1/facebook/get-profile-posts
    - /apis/v1/facebook/get-profile-posts-v1
    - /apis/v1/facebook/groups
    - /apis/v1/facebook/groups/posts
    - /apis/v1/facebook/marketplace/items
    - /apis/v1/facebook/marketplace/locations/search
    - /apis/v1/facebook/marketplace/search
    - /apis/v1/facebook/posts
    - /apis/v1/facebook/posts/comments
    - /apis/v1/facebook/posts/comments/replies
    - /apis/v1/facebook/posts/transcript
    - /apis/v1/facebook/profiles
    - /apis/v1/facebook/profiles/events
    - /apis/v1/facebook/profiles/photos
    - /apis/v1/facebook/profiles/posts
    - /apis/v1/facebook/profiles/reels
    - /apis/v1/facebook/search-post
    - /apis/v1/facebook/search-post-v1
  x-aisa-document:
    composer_version: '31'
    facts_hash: 23c4518fe0e0b2521c80af5979c6da9baa3750647312250fa85879a638b281e5
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
    public_projection:
      version: '4'
      source_document_hash: sha256:adf4d33a1b2fa6ef0487005567fb2933bd5878d87599dca5ff15f1d6ef4261ce
    document_hash: sha256:cb834c22c823b5806007ca04dff3d916d2c68d1e4f6fa85362c241bdb784b855
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: facebook
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/facebook/marketplace/search:
    get:
      tags:
        - Facebook
      summary: Search Facebook Marketplace listings
      description: >-
        Searches Facebook Marketplace listings by keyword near a latitude and
        longitude. Required inputs: `query`, `lat` and `lng`. Results are paged:
        while `data.page.hasMore` is true, send `data.page.nextCursor` as
        `cursor` to get the next page.


        > **请求示例待验证。**
        此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式，请替换为自己的参数。正式调用前，可用免费的报价模式（`X-AISA-Cost-Mode:
        quote`）查看预估费用。
      operationId: facebook.marketplace.search
      parameters:
        - in: query
          name: availability
          required: false
          schema:
            description: Optional availability filter for marketplace listings.
            enum:
              - all
              - available
              - sold
            maxLength: 4096
            minLength: 1
            type: string
        - in: query
          name: categoryId
          required: false
          schema:
            description: >-
              Optional numeric Marketplace category id. Only listings in that
              category are returned. Listings report their category as
              `categoryId`.
            maxLength: 4096
            minLength: 1
            type: string
        - in: query
          name: condition
          required: false
          schema:
            description: Optional item condition filter for marketplace listings.
            enum:
              - new
              - usedFair
              - usedGood
              - usedLikeNew
            maxLength: 4096
            minLength: 1
            type: string
        - in: query
          name: cursor
          required: false
          schema:
            description: Opaque pagination cursor returned by a previous response.
            maxLength: 16384
            minLength: 1
            type: string
        - in: query
          name: dateListed
          required: false
          schema:
            description: >-
              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.
            enum:
              - '1'
              - '30'
              - '7'
              - all
              - last24Hours
              - last30Days
              - last7Days
            maxLength: 4096
            minLength: 1
            type: string
        - in: query
          name: deliveryMethod
          required: false
          schema:
            description: Optional delivery method filter for marketplace listings.
            enum:
              - all
              - localPickup
              - shipping
            maxLength: 4096
            minLength: 1
            type: string
        - in: query
          name: lat
          required: true
          schema:
            description: Latitude for the marketplace search location.
            maxLength: 64
            minLength: 1
            type: string
        - in: query
          name: limit
          required: false
          schema:
            description: >-
              Optional number of listings to return (1–100). Prefer this over
              `count`.
            maximum: 100
            minimum: 1
            type: integer
        - in: query
          name: lng
          required: true
          schema:
            description: Longitude for the marketplace search location.
            maxLength: 64
            minLength: 1
            type: string
        - in: query
          name: maxPrice
          required: false
          schema:
            description: >-
              Optional maximum listing price. Must be greater than or equal to
              `minPrice` when both are set.
            maxLength: 64
            minLength: 1
            type: string
        - in: query
          name: minPrice
          required: false
          schema:
            description: >-
              Optional minimum listing price. Must be less than or equal to
              `maxPrice` when both are set.
            maxLength: 64
            minLength: 1
            type: string
        - in: query
          name: query
          required: true
          schema:
            description: Search query text for marketplace listings.
            maxLength: 4096
            minLength: 1
            type: string
        - in: query
          name: radiusKm
          required: false
          schema:
            description: Optional search radius in kilometers.
            maxLength: 64
            minLength: 1
            type: string
        - in: query
          name: sortBy
          required: false
          schema:
            description: >-
              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.
            enum:
              - creationTimeDescend
              - distanceAscend
              - priceAscend
              - priceDescend
              - suggested
            maxLength: 4096
            minLength: 1
            type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                empty:
                  value:
                    data:
                      listings: []
                      location:
                        lat: 30.2677
                        lng: -97.7475
                        radiusKm: null
                      page:
                        hasMore: true
                        nextCursor: >-
                          eyJwZyI6MCwiYjJjIjp7ImJyIjoiIiwiaXQiOjAsImhtc3IiOmZhbHNlLCJ0YmkiOjB9LCJjMmMiOnsiYnIiOiJBYnJBakp6ZFFJQWttOVNIbEtDYm5LR0hxOHRsNkh6RlQtWk05aXN6OVhxR0dpQlpCSHdqX3dkb29KRmJPcHdQeFQ0VmoyYXZmVG9FM0dDQ3dDd2doN09IYmRYazRVaVhKbXBmM2Q1ZTJNTEpiWi1Pek9McjJaenhUWGNBUWYzcWhMTjc0ZUV6X2kyb3BnS0s3OTJMOGd4LWU1OWkyU1hwZWJvMTV0bHctOEE2VTNuV1ByY1Y2Yms0SjdoRG5odHI3VXhXNjEtWFlaMnd0VGNZd2c2bldMSEJ6YnZjRC1YS2wzUVFSNDJ3TzhPbF84LXFlYWRhZUk0NzV2ZHR2Ynd3LXp4RGZuMFJFSmpudFZpWVF1bEkzN2R3cmltdVZES2hOQVpFcURwMnZVcHZReXRXRDRUYldyVy1XZE9RZV9CM196czB5RDhUQkt3NjNJSkFUWHlhU3BkUFZRVFc5SWdJWTFLNGk5cjZNcWg1NVVKbjlWTGFjRV81QUxfRjdFb2xWal9acDNFOWJncE5EQTdtRXViTnhZY1otcHZSMHhSYWdIRnlFa0U1WEhhU0EycDR1TUpmc2xVZ0NORG5HU08zd0s4dnFVdjljaEJyREY2NWdQSFVZN1NIQ053TVptcDBqZjdEWUlYUWRfWkhEZyIsIml0IjowLCJycGJyIjoiIiwicnBociI6ZmFsc2UsInJtaHIiOmZhbHNlLCJzc2kiOmZhbHNlLCJzc2NvIjowLCJzc3BpIjpbXX0sImlyciI6ZmFsc2UsInNlcnBfY3RhIjpmYWxzZSwicnVpIjpbXSwibXBpZCI6W10sInVicCI6bnVsbCwibmNybmQiOjEsImlyc3IiOmZhbHNlLCJibXByIjpbXSwiYm1wZWlkIjpbXSwibm1ibXAiOmZhbHNlLCJza3JyIjpmYWxzZSwiaW9vdXIiOmZhbHNlLCJpc2UiOmZhbHNlLCJzbXNfY3Vyc29yIjp7InBhZ2VfaW5kZXgiOjAsImJsZW5kZWRfYWRfaW5kZXgiOjAsIm9yZ2FuaWNzX3NpbmNlX2xhc3RfYWQiOjAsInBhZ2Vfb3JnYW5pY19jb3VudCI6MCwiYmxlbmRlZF9vcmdhbmljX2luZGV4IjowLCJyZXR1cm5lZF9hZF9pbmRleCI6MCwidG90YWxfaW5kZXgiOjB9fQ
                      query: socialfetch_fixture_no_results_000000
                      totalListings: 0
                    meta:
                      creditsCharged: 1
                      requestId: req_01facebook_marketplace_search_empty
                      version: v1
                paginated:
                  value:
                    data:
                      listings:
                        - categoryId: '1658310421102081'
                          deliveryTypes:
                            - IN_PERSON
                          id: '2105461403596881'
                          location:
                            city: Austin
                            cityPageId: '106224666074625'
                            displayName: Austin, Texas
                            state: TX
                          price:
                            amount: 100
                            amountWithOffsetInCurrency: 10000
                            formattedAmount: $100
                          primaryPhoto:
                            id: '908031671776883'
                            url: >-
                              https://scontent-lga3-1.xx.fbcdn.net/v/t39.84726-6/615366863_908031698443547_3418101653211667223_n.jpg?stp=c55.0.259.259a_dst-jpg_p370x247_tt6&_nc_cat=110&ccb=1-7&_nc_sid=92e707&_nc_ohc=5Aiya5V0e68Q7kNvwHhCvMg&_nc_oc=Ado_y4C88F44G69VY5N9bV…
                          status:
                            isHidden: false
                            isLive: true
                            isPending: false
                            isSold: false
                            isViewerSeller: false
                          storyKey: '25668049189493280'
                          storyType: POST
                          strikethroughPrice:
                            amount: 120
                            amountWithOffsetInCurrency: null
                            formattedAmount: $120
                          title: Bike with trailer
                          url: >-
                            https://www.facebook.com/marketplace/item/2105461403596881/
                        - categoryId: '1658310421102081'
                          deliveryTypes:
                            - IN_PERSON
                          id: '802291229626616'
                          location:
                            city: Helotes
                            cityPageId: '112926008717496'
                            displayName: Helotes, Texas
                            state: TX
                          price:
                            amount: 30
                            amountWithOffsetInCurrency: 3000
                            formattedAmount: $30
                          primaryPhoto:
                            id: '984557667328023'
                            url: >-
                              https://scontent-lga3-2.xx.fbcdn.net/v/t39.84726-6/666944885_984557677328022_796822009240692494_n.jpg?stp=c0.43.261.261a_dst-jpg_p261x260_tt6&_nc_cat=100&ccb=1-7&_nc_sid=92e707&_nc_ohc=6ETZZlAmR24Q7kNvwE91P6a&_nc_oc=AdrIUFN8bnM4jvQqNFpveu1…
                          status:
                            isHidden: false
                            isLive: true
                            isPending: false
                            isSold: false
                            isViewerSeller: false
                          storyKey: '26540939352235951'
                          storyType: POST
                          strikethroughPrice: null
                          title: Bike
                          url: >-
                            https://www.facebook.com/marketplace/item/802291229626616/
                        - categoryId: '1658310421102081'
                          deliveryTypes:
                            - IN_PERSON
                          id: '1730513637938095'
                          location:
                            city: Austin
                            cityPageId: '106224666074625'
                            displayName: Austin, Texas
                            state: TX
                          price:
                            amount: 1500
                            amountWithOffsetInCurrency: 150000
                            formattedAmount: $1,500
                          primaryPhoto:
                            id: '2053155781932628'
                            url: >-
                              https://scontent-lga3-2.xx.fbcdn.net/v/t39.84726-6/700679143_2053155808599292_4012771115860792277_n.jpg?stp=c43.0.260.260a_dst-jpg_p261x260_tt6&_nc_cat=105&ccb=1-7&_nc_sid=92e707&_nc_ohc=PT7WTIrLUYEQ7kNvwF-4DbL&_nc_oc=Ado2q-YAsjTAZtlqK970F…
                          status:
                            isHidden: false
                            isLive: true
                            isPending: false
                            isSold: false
                            isViewerSeller: false
                          storyKey: '26462125060153339'
                          storyType: POST
                          strikethroughPrice: null
                          title: Canyon Endurance CF Size L Bike
                          url: >-
                            https://www.facebook.com/marketplace/item/1730513637938095/
                      location:
                        lat: 30.2677
                        lng: -97.7475
                        radiusKm: null
                      page:
                        hasMore: true
                        nextCursor: >-
                          eyJwZyI6MSwiYjJjIjp7ImJyIjoiIiwiaXQiOjAsImhtc3IiOmZhbHNlLCJ0YmkiOjB9LCJjMmMiOnsiYnIiOiJBYnE3VzJ2WDNMVmd2ZzFTTU5JOWc3dk5IdDhnS29zU01TR3lWQURGUXVmU3JXQjVwZl8wYjF4TFNIRmdxQWl1LUU4SDlybGRJN1NQUG5jRUFhQ2VrMS1lR28zZ2ZxY21HczZ1Rzk3N29fbTJUQ0JrVEN…
                      query: bike
                      totalListings: 24
                    meta:
                      creditsCharged: 1
                      requestId: req_01facebook_marketplace_search_page2
                      version: v1
                results:
                  value:
                    data:
                      listings:
                        - categoryId: '1658310421102081'
                          deliveryTypes:
                            - IN_PERSON
                            - DOOR_PICKUP
                          id: '1365026115430019'
                          location:
                            city: Austin
                            cityPageId: '106224666074625'
                            displayName: Austin, Texas
                            state: TX
                          price:
                            amount: 50
                            amountWithOffsetInCurrency: 5000
                            formattedAmount: $50
                          primaryPhoto:
                            id: '1412663710238166'
                            url: >-
                              https://scontent-iad6-1.xx.fbcdn.net/v/t39.84726-6/637431546_1412663720238165_8257177400080165140_n.jpg?stp=c0.43.261.261a_dst-jpg_p261x260_tt6&_nc_cat=106&ccb=1-7&_nc_sid=92e707&_nc_ohc=faII_OdxWlgQ7kNvwGMrvgQ&_nc_oc=Adozk9B0VW6xblFXY6AXF…
                          status:
                            isHidden: false
                            isLive: true
                            isPending: false
                            isSold: false
                            isViewerSeller: false
                          storyKey: '26197243669962791'
                          storyType: POST
                          strikethroughPrice:
                            amount: 80
                            amountWithOffsetInCurrency: null
                            formattedAmount: $80
                          title: Mountain Bike
                          url: >-
                            https://www.facebook.com/marketplace/item/1365026115430019/
                        - categoryId: '1658310421102081'
                          deliveryTypes:
                            - IN_PERSON
                          id: '2304704033379147'
                          location:
                            city: Austin
                            cityPageId: '106224666074625'
                            displayName: Austin, Texas
                            state: TX
                          price:
                            amount: 60
                            amountWithOffsetInCurrency: 6000
                            formattedAmount: $60
                          primaryPhoto:
                            id: '1721663185168155'
                            url: >-
                              https://scontent-iad3-2.xx.fbcdn.net/v/t45.5328-4/584711644_1721663188501488_4837220186107432299_n.jpg?stp=c0.101.261.261a_dst-jpg_p261x260_tt6&_nc_cat=103&ccb=1-7&_nc_sid=247b10&_nc_ohc=w8_Vxo8eFbwQ7kNvwF1q6pp&_nc_oc=Adra6kK_Ay_0ZNzv7_vD6…
                          status:
                            isHidden: false
                            isLive: true
                            isPending: false
                            isSold: false
                            isViewerSeller: false
                          storyKey: '32507300205551568'
                          storyType: POST
                          strikethroughPrice: null
                          title: Bike
                          url: >-
                            https://www.facebook.com/marketplace/item/2304704033379147/
                        - categoryId: '1383948661922113'
                          deliveryTypes:
                            - IN_PERSON
                          id: '966360869514688'
                          location:
                            city: Austin
                            cityPageId: '106224666074625'
                            displayName: Austin, Texas
                            state: TX
                          price:
                            amount: 49
                            amountWithOffsetInCurrency: 4900
                            formattedAmount: $49
                          primaryPhoto:
                            id: '1183193263870401'
                            url: >-
                              https://scontent-iad6-1.xx.fbcdn.net/v/t39.84726-6/701369598_1183193290537065_2014509081848761484_n.jpg?stp=c43.0.260.260a_dst-jpg_p261x260_tt6&_nc_cat=100&ccb=1-7&_nc_sid=92e707&_nc_ohc=wBjy-5bA_xoQ7kNvwFR_OZi&_nc_oc=AdreW_5B7f8M_WEAs2ZDQ…
                          status:
                            isHidden: false
                            isLive: true
                            isPending: false
                            isSold: false
                            isViewerSeller: false
                          storyKey: '26646092708417026'
                          storyType: POST
                          strikethroughPrice: null
                          title: Maxxis DTH 26” x 2.15” - Bike Tires - Low Mileage
                          url: >-
                            https://www.facebook.com/marketplace/item/966360869514688/
                      location:
                        lat: 30.2677
                        lng: -97.7475
                        radiusKm: null
                      page:
                        hasMore: true
                        nextCursor: >-
                          eyJwZyI6MCwiYjJjIjp7ImJyIjoiIiwiaXQiOjAsImhtc3IiOmZhbHNlLCJ0YmkiOjB9LCJjMmMiOnsiYnIiOiJBYnFSVm81bF9IQ1dteFl6VDRkdFliZUFUb3FOZ1FrLXExLXd4WVVpMm1ERnFDazh6TFFNdmZOcDdOV05Zeno3aTFfbXYxM3pGU3pNODRmMEd0aHdjMHhjRGxxNE1lT2lmSk9ONFhCTUxfQUtCQmVNNEY…
                      query: bike
                      totalListings: 16
                    meta:
                      creditsCharged: 1
                      requestId: req_01facebook_marketplace_search_example
                      version: v1
              schema:
                description: Standard success response envelope.
                properties:
                  aisa_pagination:
                    additionalProperties: false
                    description: >-
                      AIsa pagination. Pass next_cursor as cursor to fetch the
                      next page; has_more is false on the last page.
                    properties:
                      has_more:
                        type: boolean
                      next_cursor:
                        type:
                          - string
                          - 'null'
                      next_param:
                        const: cursor
                        type: string
                    required:
                      - has_more
                      - next_cursor
                      - next_param
                    type: object
                  data:
                    description: Endpoint-specific response payload.
                    properties:
                      listings:
                        description: Listings returned for this page.
                        items:
                          description: A marketplace listing in search results.
                          properties:
                            categoryId:
                              description: Marketplace category identifier when available.
                              type:
                                - string
                                - 'null'
                            deliveryTypes:
                              description: Delivery options reported for the listing.
                              items:
                                type: string
                              type: array
                            id:
                              description: Stable marketplace listing identifier.
                              minLength: 1
                              type: string
                            location:
                              description: Location summary for the listing.
                              properties:
                                city:
                                  description: City name when available.
                                  type:
                                    - string
                                    - 'null'
                                cityPageId:
                                  description: Location page identifier when available.
                                  type:
                                    - string
                                    - 'null'
                                displayName:
                                  description: >-
                                    Human-readable location label when
                                    available.
                                  type:
                                    - string
                                    - 'null'
                                state:
                                  description: State or region when available.
                                  type:
                                    - string
                                    - 'null'
                              required:
                                - city
                                - state
                                - displayName
                                - cityPageId
                              type: object
                            price:
                              description: Displayed price for the listing.
                              properties:
                                amount:
                                  description: Numeric price amount when available.
                                  type:
                                    - number
                                    - 'null'
                                amountWithOffsetInCurrency:
                                  description: >-
                                    Price amount with currency offset when
                                    available.
                                  type:
                                    - number
                                    - 'null'
                                formattedAmount:
                                  description: Formatted price label when available.
                                  type:
                                    - string
                                    - 'null'
                              required:
                                - formattedAmount
                                - amount
                                - amountWithOffsetInCurrency
                              type: object
                            primaryPhoto:
                              description: Primary photo for the listing.
                              properties:
                                id:
                                  description: Primary photo identifier when available.
                                  type:
                                    - string
                                    - 'null'
                                url:
                                  description: Primary photo URL when available.
                                  type:
                                    - string
                                    - 'null'
                              required:
                                - id
                                - url
                              type: object
                            status:
                              description: Listing status flags.
                              properties:
                                isHidden:
                                  description: >-
                                    Whether the listing is hidden when
                                    available.
                                  type:
                                    - boolean
                                    - 'null'
                                isLive:
                                  description: Whether the listing is live when available.
                                  type:
                                    - boolean
                                    - 'null'
                                isPending:
                                  description: >-
                                    Whether the listing is pending when
                                    available.
                                  type:
                                    - boolean
                                    - 'null'
                                isSold:
                                  description: Whether the listing is sold when available.
                                  type:
                                    - boolean
                                    - 'null'
                                isViewerSeller:
                                  description: >-
                                    Whether the viewer is the seller when
                                    available.
                                  type:
                                    - boolean
                                    - 'null'
                              required:
                                - isHidden
                                - isLive
                                - isPending
                                - isSold
                                - isViewerSeller
                              type: object
                            storyKey:
                              description: Story key metadata when available.
                              type:
                                - string
                                - 'null'
                            storyType:
                              description: Story type metadata when available.
                              type:
                                - string
                                - 'null'
                            strikethroughPrice:
                              description: Strikethrough or original price when available.
                              properties:
                                amount:
                                  description: Numeric price amount when available.
                                  type:
                                    - number
                                    - 'null'
                                amountWithOffsetInCurrency:
                                  description: >-
                                    Price amount with currency offset when
                                    available.
                                  type:
                                    - number
                                    - 'null'
                                formattedAmount:
                                  description: Formatted price label when available.
                                  type:
                                    - string
                                    - 'null'
                              required:
                                - formattedAmount
                                - amount
                                - amountWithOffsetInCurrency
                              type:
                                - object
                                - 'null'
                            title:
                              description: Listing title.
                              minLength: 1
                              type: string
                            url:
                              description: Canonical public listing URL when available.
                              type:
                                - string
                                - 'null'
                          required:
                            - id
                            - url
                            - title
                            - price
                            - strikethroughPrice
                            - location
                            - primaryPhoto
                            - categoryId
                            - deliveryTypes
                            - status
                            - storyType
                            - storyKey
                          type: object
                        type: array
                      location:
                        description: Location parameters evaluated for this response.
                        properties:
                          lat:
                            description: Latitude evaluated for this search.
                            type: number
                          lng:
                            description: Longitude evaluated for this search.
                            type: number
                          radiusKm:
                            description: Search radius in kilometers when provided.
                            type:
                              - number
                              - 'null'
                        required:
                          - lat
                          - lng
                          - radiusKm
                        type: object
                      page:
                        description: Pagination information for the current response.
                        properties:
                          hasMore:
                            description: Whether another page of listings can be requested.
                            type: boolean
                          nextCursor:
                            description: >-
                              Cursor to pass in the next request when another
                              page is available; otherwise null.
                            type:
                              - string
                              - 'null'
                        required:
                          - nextCursor
                          - hasMore
                        type: object
                      query:
                        description: Search query string evaluated for this response.
                        type: string
                      totalListings:
                        description: Number of listings returned in this response.
                        minimum: 0
                        type: integer
                    required:
                      - query
                      - location
                      - listings
                      - totalListings
                      - page
                    type: object
                  meta:
                    description: Metadata describing the request and billing outcome.
                    properties:
                      creditsCharged:
                        description: Credits charged for this request.
                        minimum: 0
                        type: integer
                      requestId:
                        description: Unique request identifier for tracing this API call.
                        minLength: 1
                        type: string
                      version:
                        description: Public API version that served the response.
                        enum:
                          - v1
                        type: string
                    required:
                      - requestId
                      - creditsCharged
                      - version
                    type: object
                required:
                  - data
                  - meta
                type: object
          description: Marketplace listings for the requested search.
          headers:
            X-AISA-Has-More:
              description: Mirrors aisa_pagination.has_more.
              schema:
                enum:
                  - 'true'
                  - 'false'
                type: string
            X-AISA-Next-Cursor:
              description: Mirrors aisa_pagination.next_cursor; absent on the last page.
              schema:
                type: string
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.