> ## 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

# eBay Search API -test

> eBay Search API -test

## 请求规范

* **方法与路径:** GET /apis/v1/ebay/search
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/ebay/search`
* **advanced\_filters:** query; 可选
* **buying\_format:** query; 可选
* **category\_id:** query; 可选
* **condition:** query; 可选
* **country:** query; 可选
* **delivery\_country:** query; 可选
* **distance\_radius:** query; 可选
* **ebay\_domain:** query; 可选
* **engine:** query; 必填
* **filters:** query; 可选
* **include\_related\_results:** query; 可选
* **layout:** query; 可选
* **num:** query; 可选
* **page:** query; 可选
* **postal\_code:** query; 可选
* **preferred\_location:** query; 可选
* **price\_max:** query; 可选
* **price\_min:** query; 可选
* **product\_origin\_country:** query; 可选
* **q:** query; 可选
* **sort\_by:** query; 可选

[完整 OpenAPI 定义](https://aisa.one/docs/openapi-public/zh/youtube.json)

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

```json theme={null}
{
  "operationId": "any_youtube_apis_v1_ebay_search",
  "method": "GET",
  "path": "/apis/v1/ebay/search",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "description": "Comma-separated list of advanced filters in key=value format",
      "in": "query",
      "name": "advanced_filters",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "Buying format filter",
      "in": "query",
      "name": "buying_format",
      "required": false,
      "schema": {
        "enum": [
          "auction",
          "buy_it_now",
          "best_offer"
        ],
        "type": "string"
      }
    },
    {
      "description": "Category ID to search within. Either 'q' or 'category_id' must be present",
      "in": "query",
      "name": "category_id",
      "required": false,
      "schema": {
        "type": "integer"
      }
    },
    {
      "description": "Comma-separated list of item conditions",
      "in": "query",
      "name": "condition",
      "required": false,
      "schema": {
        "pattern": "^(new|new_opened|like_new|new_with_defects|pre_owned_fair|pre_owned_excellent|used_very_good|used_good|used_acceptable|certified_refurbished|excellent_refurbished|very_good_refurbished|good_refurbished|seller_refurbished|for_parts_or_not_working|not_specified)(,(new|new_opened|like_new|new_with_defects|pre_owned_fair|pre_owned_excellent|used_very_good|used_good|used_acceptable|certified_refurbished|excellent_refurbished|very_good_refurbished|good_refurbished|seller_refurbished|for_parts_or_not_working|not_specified))*$",
        "type": "string"
      }
    },
    {
      "description": "ISO 3166-1 alpha-2 country code",
      "in": "query",
      "name": "country",
      "required": false,
      "schema": {
        "enum": [
          "US",
          "CA",
          "GB",
          "AF",
          "AL",
          "DZ",
          "AS",
          "AD",
          "AO",
          "AI",
          "AG",
          "AR",
          "AM",
          "AW",
          "AU",
          "AT",
          "AZ",
          "BS",
          "BH",
          "BD",
          "BB",
          "BY",
          "BE",
          "BZ",
          "BJ",
          "BM",
          "BT",
          "BO",
          "BA",
          "BW",
          "BR",
          "VG",
          "BN",
          "BG",
          "BF",
          "BI",
          "KH",
          "CM",
          "CV",
          "KY",
          "CF",
          "TD",
          "CL",
          "CN",
          "CO",
          "KM",
          "CD",
          "CG",
          "CK",
          "CR",
          "CI",
          "HR",
          "CY",
          "CZ",
          "DK",
          "DJ",
          "DM",
          "DO",
          "EC",
          "EG",
          "SV",
          "GQ",
          "ER",
          "EE",
          "ET",
          "FK",
          "FJ",
          "FI",
          "FR",
          "GF",
          "PF",
          "GA",
          "GM",
          "GE",
          "DE",
          "GH",
          "GI",
          "GR",
          "GL",
          "GD",
          "GP",
          "GU",
          "GT",
          "GG",
          "GN",
          "GW",
          "GY",
          "HT",
          "HN",
          "HK",
          "HU",
          "IS",
          "IN",
          "ID",
          "IR",
          "IQ",
          "IE",
          "IL",
          "IT",
          "JM",
          "JP",
          "JE",
          "JO",
          "KZ",
          "KE",
          "KI",
          "KR",
          "KW",
          "KG",
          "LA",
          "LV",
          "LB",
          "LI",
          "LT",
          "LU",
          "MO",
          "MK",
          "MG",
          "MW",
          "MY",
          "MV",
          "ML",
          "MT",
          "MH",
          "MQ",
          "MR",
          "MU",
          "YT",
          "MX",
          "MD",
          "MC",
          "MN",
          "MS",
          "MA",
          "MZ",
          "MM",
          "NA",
          "NR",
          "NP",
          "NL",
          "NC",
          "NZ",
          "NI",
          "NE",
          "NG",
          "NU",
          "NO",
          "OM",
          "PK",
          "PW",
          "PA",
          "PG",
          "PY",
          "PE",
          "PH",
          "PL",
          "PT",
          "PR",
          "QA",
          "RO",
          "RU",
          "RW",
          "SH",
          "KN",
          "LC",
          "PM",
          "VC",
          "SM",
          "SA",
          "SN",
          "SC",
          "SL",
          "SG",
          "SK",
          "SI",
          "SB",
          "SO",
          "ZA",
          "ES",
          "LK",
          "SR",
          "SZ",
          "SE",
          "CH",
          "TW",
          "TJ",
          "TZ",
          "TH",
          "TG",
          "TO",
          "TT",
          "TN",
          "TR",
          "TM",
          "TC",
          "TV",
          "UG",
          "UA",
          "AE",
          "UY",
          "UZ",
          "VU",
          "VA",
          "VE",
          "VN",
          "VI",
          "WF",
          "EH",
          "WS",
          "YE",
          "FM",
          "RE",
          "ME",
          "RS"
        ],
        "type": "string"
      }
    },
    {
      "description": "Delivery country ISO 3166-1 alpha-2 code",
      "in": "query",
      "name": "delivery_country",
      "required": false,
      "schema": {
        "enum": [
          "US",
          "CA",
          "GB",
          "AF",
          "AL",
          "DZ",
          "AS",
          "AD",
          "AO",
          "AI",
          "AG",
          "AR",
          "AM",
          "AW",
          "AU",
          "AT",
          "AZ",
          "BS",
          "BH",
          "BD",
          "BB",
          "BY",
          "BE",
          "BZ",
          "BJ",
          "BM",
          "BT",
          "BO",
          "BA",
          "BW",
          "BR",
          "VG",
          "BN",
          "BG",
          "BF",
          "BI",
          "KH",
          "CM",
          "CV",
          "KY",
          "CF",
          "TD",
          "CL",
          "CN",
          "CO",
          "KM",
          "CD",
          "CG",
          "CK",
          "CR",
          "CI",
          "HR",
          "CY",
          "CZ",
          "DK",
          "DJ",
          "DM",
          "DO",
          "EC",
          "EG",
          "SV",
          "GQ",
          "ER",
          "EE",
          "ET",
          "FK",
          "FJ",
          "FI",
          "FR",
          "GF",
          "PF",
          "GA",
          "GM",
          "GE",
          "DE",
          "GH",
          "GI",
          "GR",
          "GL",
          "GD",
          "GP",
          "GU",
          "GT",
          "GG",
          "GN",
          "GW",
          "GY",
          "HT",
          "HN",
          "HK",
          "HU",
          "IS",
          "IN",
          "ID",
          "IR",
          "IQ",
          "IE",
          "IL",
          "IT",
          "JM",
          "JP",
          "JE",
          "JO",
          "KZ",
          "KE",
          "KI",
          "KR",
          "KW",
          "KG",
          "LA",
          "LV",
          "LB",
          "LI",
          "LT",
          "LU",
          "MO",
          "MK",
          "MG",
          "MW",
          "MY",
          "MV",
          "ML",
          "MT",
          "MH",
          "MQ",
          "MR",
          "MU",
          "YT",
          "MX",
          "MD",
          "MC",
          "MN",
          "MS",
          "MA",
          "MZ",
          "MM",
          "NA",
          "NR",
          "NP",
          "NL",
          "NC",
          "NZ",
          "NI",
          "NE",
          "NG",
          "NU",
          "NO",
          "OM",
          "PK",
          "PW",
          "PA",
          "PG",
          "PY",
          "PE",
          "PH",
          "PL",
          "PT",
          "PR",
          "QA",
          "RO",
          "RU",
          "RW",
          "SH",
          "KN",
          "LC",
          "PM",
          "VC",
          "SM",
          "SA",
          "SN",
          "SC",
          "SL",
          "SG",
          "SK",
          "SI",
          "SB",
          "SO",
          "ZA",
          "ES",
          "LK",
          "SR",
          "SZ",
          "SE",
          "CH",
          "TW",
          "TJ",
          "TZ",
          "TH",
          "TG",
          "TO",
          "TT",
          "TN",
          "TR",
          "TM",
          "TC",
          "TV",
          "UG",
          "UA",
          "AE",
          "UY",
          "UZ",
          "VU",
          "VA",
          "VE",
          "VN",
          "VI",
          "WF",
          "EH",
          "WS",
          "YE",
          "FM",
          "RE",
          "ME",
          "RS"
        ],
        "type": "string"
      }
    },
    {
      "description": "Distance radius in miles from postal code. Requires postal code to be set",
      "in": "query",
      "name": "distance_radius",
      "required": false,
      "schema": {
        "minimum": 1,
        "type": "number"
      }
    },
    {
      "description": "eBay domain to search on",
      "in": "query",
      "name": "ebay_domain",
      "required": false,
      "schema": {
        "default": "ebay.com",
        "enum": [
          "ebay.com",
          "ebay.com.au",
          "ebay.at",
          "befr.ebay.be",
          "benl.ebay.be",
          "ebay.ca",
          "cafr.ebay.ca",
          "ebay.fr",
          "ebay.de",
          "ebay.com.hk",
          "ebay.ie",
          "ebay.it",
          "ebay.com.my",
          "ebay.nl",
          "ebay.ph",
          "ebay.pl",
          "ebay.com.sg",
          "ebay.es",
          "ebay.ch",
          "ebay.co.uk"
        ],
        "type": "string"
      }
    },
    {
      "description": "Search engine to use",
      "example": "ebay_search",
      "in": "query",
      "name": "engine",
      "required": true,
      "schema": {
        "enum": [
          "ebay_search"
        ],
        "type": "string"
      }
    },
    {
      "description": "Comma-separated list of filters to apply",
      "in": "query",
      "name": "filters",
      "required": false,
      "schema": {
        "pattern": "^(search_description|sale_items|deals_and_savings|free_shipping|local_pickup|fast_arrival|free_returns|returns_accepted|listed_as_lots|authenticity_guarantee|authorized_seller|benefits_charity|psa_vault)(,(search_description|sale_items|deals_and_savings|free_shipping|local_pickup|fast_arrival|free_returns|returns_accepted|listed_as_lots|authenticity_guarantee|authorized_seller|benefits_charity|psa_vault))*$",
        "type": "string"
      }
    },
    {
      "description": "When set to `true`, returns eBay's \"Results matching fewer words\" items under a separate `related_results` key, both after the exact matches and when there are none. Defaults to `false`, which leaves them out and returns an error when no exact matches are found.",
      "in": "query",
      "name": "include_related_results",
      "required": false,
      "schema": {
        "enum": [
          "true",
          "false"
        ],
        "type": "string"
      }
    },
    {
      "description": "Results layout format",
      "in": "query",
      "name": "layout",
      "required": false,
      "schema": {
        "enum": [
          "list",
          "grid"
        ],
        "type": "string"
      }
    },
    {
      "description": "Number of results per page",
      "in": "query",
      "name": "num",
      "required": false,
      "schema": {
        "enum": [
          60,
          120,
          240
        ],
        "type": "integer"
      }
    },
    {
      "description": "Page number (starts at 1)",
      "in": "query",
      "name": "page",
      "required": false,
      "schema": {
        "minimum": 1,
        "type": "integer"
      }
    },
    {
      "description": "Postal code for distance-based searches. Only supported for certain delivery countries (US, CA, GB, AU, AT, BE, CZ, FR, DE, IT, NL, PL)",
      "in": "query",
      "name": "postal_code",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "Preferred seller location",
      "in": "query",
      "name": "preferred_location",
      "required": false,
      "schema": {
        "enum": [
          "domestic",
          "regional",
          "worldwide"
        ],
        "type": "string"
      }
    },
    {
      "description": "Maximum price filter (must be greater than or equal to price_min)",
      "in": "query",
      "name": "price_max",
      "required": false,
      "schema": {
        "minimum": 0,
        "type": "number"
      }
    },
    {
      "description": "Minimum price filter",
      "in": "query",
      "name": "price_min",
      "required": false,
      "schema": {
        "minimum": 0,
        "type": "number"
      }
    },
    {
      "description": "Product origin country ISO 3166-1 alpha-2 code",
      "in": "query",
      "name": "product_origin_country",
      "required": false,
      "schema": {
        "enum": [
          "US",
          "CA",
          "GB",
          "AF",
          "AL",
          "DZ",
          "AS",
          "AD",
          "AO",
          "AI",
          "AG",
          "AR",
          "AM",
          "AW",
          "AU",
          "AT",
          "AZ",
          "BS",
          "BH",
          "BD",
          "BB",
          "BY",
          "BE",
          "BZ",
          "BJ",
          "BM",
          "BT",
          "BO",
          "BA",
          "BW",
          "BR",
          "VG",
          "BN",
          "BG",
          "BF",
          "BI",
          "KH",
          "CM",
          "CV",
          "KY",
          "CF",
          "TD",
          "CL",
          "CN",
          "CO",
          "KM",
          "CD",
          "CG",
          "CK",
          "CR",
          "CI",
          "HR",
          "CY",
          "CZ",
          "DK",
          "DJ",
          "DM",
          "DO",
          "EC",
          "EG",
          "SV",
          "GQ",
          "ER",
          "EE",
          "ET",
          "FK",
          "FJ",
          "FI",
          "FR",
          "GF",
          "PF",
          "GA",
          "GM",
          "GE",
          "DE",
          "GH",
          "GI",
          "GR",
          "GL",
          "GD",
          "GP",
          "GU",
          "GT",
          "GG",
          "GN",
          "GW",
          "GY",
          "HT",
          "HN",
          "HK",
          "HU",
          "IS",
          "IN",
          "ID",
          "IR",
          "IQ",
          "IE",
          "IL",
          "IT",
          "JM",
          "JP",
          "JE",
          "JO",
          "KZ",
          "KE",
          "KI",
          "KR",
          "KW",
          "KG",
          "LA",
          "LV",
          "LB",
          "LI",
          "LT",
          "LU",
          "MO",
          "MK",
          "MG",
          "MW",
          "MY",
          "MV",
          "ML",
          "MT",
          "MH",
          "MQ",
          "MR",
          "MU",
          "YT",
          "MX",
          "MD",
          "MC",
          "MN",
          "MS",
          "MA",
          "MZ",
          "MM",
          "NA",
          "NR",
          "NP",
          "NL",
          "NC",
          "NZ",
          "NI",
          "NE",
          "NG",
          "NU",
          "NO",
          "OM",
          "PK",
          "PW",
          "PA",
          "PG",
          "PY",
          "PE",
          "PH",
          "PL",
          "PT",
          "PR",
          "QA",
          "RO",
          "RU",
          "RW",
          "SH",
          "KN",
          "LC",
          "PM",
          "VC",
          "SM",
          "SA",
          "SN",
          "SC",
          "SL",
          "SG",
          "SK",
          "SI",
          "SB",
          "SO",
          "ZA",
          "ES",
          "LK",
          "SR",
          "SZ",
          "SE",
          "CH",
          "TW",
          "TJ",
          "TZ",
          "TH",
          "TG",
          "TO",
          "TT",
          "TN",
          "TR",
          "TM",
          "TC",
          "TV",
          "UG",
          "UA",
          "AE",
          "UY",
          "UZ",
          "VU",
          "VA",
          "VE",
          "VN",
          "VI",
          "WF",
          "EH",
          "WS",
          "YE",
          "FM",
          "RE",
          "ME",
          "RS"
        ],
        "type": "string"
      }
    },
    {
      "description": "Search query. Either 'q' or 'category_id' must be present",
      "in": "query",
      "name": "q",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "Sort results by",
      "in": "query",
      "name": "sort_by",
      "required": false,
      "schema": {
        "enum": [
          "best_match",
          "price_shipping_low_to_high",
          "price_shipping_high_to_low",
          "distance_nearest",
          "time_ending_soonest",
          "time_newly_listed",
          "price_low_to_high",
          "price_high_to_low",
          "condition_new_first",
          "condition_used_first"
        ],
        "type": "string"
      }
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 费用与请求规则

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


## OpenAPI

````yaml openapi-public/zh/youtube.json GET /apis/v1/ebay/search
openapi: 3.1.0
info:
  description: ''
  title: Youtube
  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:
    youtube:
      description: ''
      title: Youtube
      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: df38108c5e38fb1e141efbcf9c4ae031508a206b64d543a25442fd82a1088b1c
        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/airbnb/search
    - /apis/v1/ebay/search
    - /apis/v1/youtube/channel
    - /apis/v1/youtube/channels/shorts
    - /apis/v1/youtube/channels/videos
    - /apis/v1/youtube/community-posts
    - /apis/v1/youtube/playlists
    - /apis/v1/youtube/search
    - /apis/v1/youtube/search/hashtags
    - /apis/v1/youtube/shorts/trending
    - /apis/v1/youtube/videos
    - /apis/v1/youtube/videos/comments
    - /apis/v1/youtube/videos/comments/analysis
    - /apis/v1/youtube/videos/comments/replies
    - /apis/v1/youtube/videos/transcript
  x-aisa-document:
    composer_version: '31'
    facts_hash: df38108c5e38fb1e141efbcf9c4ae031508a206b64d543a25442fd82a1088b1c
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
    public_projection:
      version: '4'
      source_document_hash: sha256:9089b0c9a735f52274805537455639a576691d7eeb8b83bba0d5e792585a180b
    document_hash: sha256:f96536c9ccd99cfb198e4faa1501c8281408c685307b425122d3c9bad10ebe68
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: youtube
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/ebay/search:
    get:
      tags:
        - default
      summary: eBay Search API -test
      operationId: any_youtube_apis_v1_ebay_search
      parameters:
        - description: Comma-separated list of advanced filters in key=value format
          in: query
          name: advanced_filters
          required: false
          schema:
            type: string
        - description: Buying format filter
          in: query
          name: buying_format
          required: false
          schema:
            enum:
              - auction
              - buy_it_now
              - best_offer
            type: string
        - description: >-
            Category ID to search within. Either 'q' or 'category_id' must be
            present
          in: query
          name: category_id
          required: false
          schema:
            type: integer
        - description: Comma-separated list of item conditions
          in: query
          name: condition
          required: false
          schema:
            pattern: >-
              ^(new|new_opened|like_new|new_with_defects|pre_owned_fair|pre_owned_excellent|used_very_good|used_good|used_acceptable|certified_refurbished|excellent_refurbished|very_good_refurbished|good_refurbished|seller_refurbished|for_parts_or_not_working|not_specified)(,(new|new_opened|like_new|new_with_defects|pre_owned_fair|pre_owned_excellent|used_very_good|used_good|used_acceptable|certified_refurbished|excellent_refurbished|very_good_refurbished|good_refurbished|seller_refurbished|for_parts_or_not_working|not_specified))*$
            type: string
        - description: ISO 3166-1 alpha-2 country code
          in: query
          name: country
          required: false
          schema:
            enum:
              - US
              - CA
              - GB
              - AF
              - AL
              - DZ
              - AS
              - AD
              - AO
              - AI
              - AG
              - AR
              - AM
              - AW
              - AU
              - AT
              - AZ
              - BS
              - BH
              - BD
              - BB
              - BY
              - BE
              - BZ
              - BJ
              - BM
              - BT
              - BO
              - BA
              - BW
              - BR
              - VG
              - BN
              - BG
              - BF
              - BI
              - KH
              - CM
              - CV
              - KY
              - CF
              - TD
              - CL
              - CN
              - CO
              - KM
              - CD
              - CG
              - CK
              - CR
              - CI
              - HR
              - CY
              - CZ
              - DK
              - DJ
              - DM
              - DO
              - EC
              - EG
              - SV
              - GQ
              - ER
              - EE
              - ET
              - FK
              - FJ
              - FI
              - FR
              - GF
              - PF
              - GA
              - GM
              - GE
              - DE
              - GH
              - GI
              - GR
              - GL
              - GD
              - GP
              - GU
              - GT
              - GG
              - GN
              - GW
              - GY
              - HT
              - HN
              - HK
              - HU
              - IS
              - IN
              - ID
              - IR
              - IQ
              - IE
              - IL
              - IT
              - JM
              - JP
              - JE
              - JO
              - KZ
              - KE
              - KI
              - KR
              - KW
              - KG
              - LA
              - LV
              - LB
              - LI
              - LT
              - LU
              - MO
              - MK
              - MG
              - MW
              - MY
              - MV
              - ML
              - MT
              - MH
              - MQ
              - MR
              - MU
              - YT
              - MX
              - MD
              - MC
              - MN
              - MS
              - MA
              - MZ
              - MM
              - NA
              - NR
              - NP
              - NL
              - NC
              - NZ
              - NI
              - NE
              - NG
              - NU
              - 'NO'
              - OM
              - PK
              - PW
              - PA
              - PG
              - PY
              - PE
              - PH
              - PL
              - PT
              - PR
              - QA
              - RO
              - RU
              - RW
              - SH
              - KN
              - LC
              - PM
              - VC
              - SM
              - SA
              - SN
              - SC
              - SL
              - SG
              - SK
              - SI
              - SB
              - SO
              - ZA
              - ES
              - LK
              - SR
              - SZ
              - SE
              - CH
              - TW
              - TJ
              - TZ
              - TH
              - TG
              - TO
              - TT
              - TN
              - TR
              - TM
              - TC
              - TV
              - UG
              - UA
              - AE
              - UY
              - UZ
              - VU
              - VA
              - VE
              - VN
              - VI
              - WF
              - EH
              - WS
              - YE
              - FM
              - RE
              - ME
              - RS
            type: string
        - description: Delivery country ISO 3166-1 alpha-2 code
          in: query
          name: delivery_country
          required: false
          schema:
            enum:
              - US
              - CA
              - GB
              - AF
              - AL
              - DZ
              - AS
              - AD
              - AO
              - AI
              - AG
              - AR
              - AM
              - AW
              - AU
              - AT
              - AZ
              - BS
              - BH
              - BD
              - BB
              - BY
              - BE
              - BZ
              - BJ
              - BM
              - BT
              - BO
              - BA
              - BW
              - BR
              - VG
              - BN
              - BG
              - BF
              - BI
              - KH
              - CM
              - CV
              - KY
              - CF
              - TD
              - CL
              - CN
              - CO
              - KM
              - CD
              - CG
              - CK
              - CR
              - CI
              - HR
              - CY
              - CZ
              - DK
              - DJ
              - DM
              - DO
              - EC
              - EG
              - SV
              - GQ
              - ER
              - EE
              - ET
              - FK
              - FJ
              - FI
              - FR
              - GF
              - PF
              - GA
              - GM
              - GE
              - DE
              - GH
              - GI
              - GR
              - GL
              - GD
              - GP
              - GU
              - GT
              - GG
              - GN
              - GW
              - GY
              - HT
              - HN
              - HK
              - HU
              - IS
              - IN
              - ID
              - IR
              - IQ
              - IE
              - IL
              - IT
              - JM
              - JP
              - JE
              - JO
              - KZ
              - KE
              - KI
              - KR
              - KW
              - KG
              - LA
              - LV
              - LB
              - LI
              - LT
              - LU
              - MO
              - MK
              - MG
              - MW
              - MY
              - MV
              - ML
              - MT
              - MH
              - MQ
              - MR
              - MU
              - YT
              - MX
              - MD
              - MC
              - MN
              - MS
              - MA
              - MZ
              - MM
              - NA
              - NR
              - NP
              - NL
              - NC
              - NZ
              - NI
              - NE
              - NG
              - NU
              - 'NO'
              - OM
              - PK
              - PW
              - PA
              - PG
              - PY
              - PE
              - PH
              - PL
              - PT
              - PR
              - QA
              - RO
              - RU
              - RW
              - SH
              - KN
              - LC
              - PM
              - VC
              - SM
              - SA
              - SN
              - SC
              - SL
              - SG
              - SK
              - SI
              - SB
              - SO
              - ZA
              - ES
              - LK
              - SR
              - SZ
              - SE
              - CH
              - TW
              - TJ
              - TZ
              - TH
              - TG
              - TO
              - TT
              - TN
              - TR
              - TM
              - TC
              - TV
              - UG
              - UA
              - AE
              - UY
              - UZ
              - VU
              - VA
              - VE
              - VN
              - VI
              - WF
              - EH
              - WS
              - YE
              - FM
              - RE
              - ME
              - RS
            type: string
        - description: >-
            Distance radius in miles from postal code. Requires postal code to
            be set
          in: query
          name: distance_radius
          required: false
          schema:
            minimum: 1
            type: number
        - description: eBay domain to search on
          in: query
          name: ebay_domain
          required: false
          schema:
            default: ebay.com
            enum:
              - ebay.com
              - ebay.com.au
              - ebay.at
              - befr.ebay.be
              - benl.ebay.be
              - ebay.ca
              - cafr.ebay.ca
              - ebay.fr
              - ebay.de
              - ebay.com.hk
              - ebay.ie
              - ebay.it
              - ebay.com.my
              - ebay.nl
              - ebay.ph
              - ebay.pl
              - ebay.com.sg
              - ebay.es
              - ebay.ch
              - ebay.co.uk
            type: string
        - description: Search engine to use
          example: ebay_search
          in: query
          name: engine
          required: true
          schema:
            enum:
              - ebay_search
            type: string
        - description: Comma-separated list of filters to apply
          in: query
          name: filters
          required: false
          schema:
            pattern: >-
              ^(search_description|sale_items|deals_and_savings|free_shipping|local_pickup|fast_arrival|free_returns|returns_accepted|listed_as_lots|authenticity_guarantee|authorized_seller|benefits_charity|psa_vault)(,(search_description|sale_items|deals_and_savings|free_shipping|local_pickup|fast_arrival|free_returns|returns_accepted|listed_as_lots|authenticity_guarantee|authorized_seller|benefits_charity|psa_vault))*$
            type: string
        - description: >-
            When set to `true`, returns eBay's "Results matching fewer words"
            items under a separate `related_results` key, both after the exact
            matches and when there are none. Defaults to `false`, which leaves
            them out and returns an error when no exact matches are found.
          in: query
          name: include_related_results
          required: false
          schema:
            enum:
              - 'true'
              - 'false'
            type: string
        - description: Results layout format
          in: query
          name: layout
          required: false
          schema:
            enum:
              - list
              - grid
            type: string
        - description: Number of results per page
          in: query
          name: num
          required: false
          schema:
            enum:
              - 60
              - 120
              - 240
            type: integer
        - description: Page number (starts at 1)
          in: query
          name: page
          required: false
          schema:
            minimum: 1
            type: integer
        - description: >-
            Postal code for distance-based searches. Only supported for certain
            delivery countries (US, CA, GB, AU, AT, BE, CZ, FR, DE, IT, NL, PL)
          in: query
          name: postal_code
          required: false
          schema:
            type: string
        - description: Preferred seller location
          in: query
          name: preferred_location
          required: false
          schema:
            enum:
              - domestic
              - regional
              - worldwide
            type: string
        - description: Maximum price filter (must be greater than or equal to price_min)
          in: query
          name: price_max
          required: false
          schema:
            minimum: 0
            type: number
        - description: Minimum price filter
          in: query
          name: price_min
          required: false
          schema:
            minimum: 0
            type: number
        - description: Product origin country ISO 3166-1 alpha-2 code
          in: query
          name: product_origin_country
          required: false
          schema:
            enum:
              - US
              - CA
              - GB
              - AF
              - AL
              - DZ
              - AS
              - AD
              - AO
              - AI
              - AG
              - AR
              - AM
              - AW
              - AU
              - AT
              - AZ
              - BS
              - BH
              - BD
              - BB
              - BY
              - BE
              - BZ
              - BJ
              - BM
              - BT
              - BO
              - BA
              - BW
              - BR
              - VG
              - BN
              - BG
              - BF
              - BI
              - KH
              - CM
              - CV
              - KY
              - CF
              - TD
              - CL
              - CN
              - CO
              - KM
              - CD
              - CG
              - CK
              - CR
              - CI
              - HR
              - CY
              - CZ
              - DK
              - DJ
              - DM
              - DO
              - EC
              - EG
              - SV
              - GQ
              - ER
              - EE
              - ET
              - FK
              - FJ
              - FI
              - FR
              - GF
              - PF
              - GA
              - GM
              - GE
              - DE
              - GH
              - GI
              - GR
              - GL
              - GD
              - GP
              - GU
              - GT
              - GG
              - GN
              - GW
              - GY
              - HT
              - HN
              - HK
              - HU
              - IS
              - IN
              - ID
              - IR
              - IQ
              - IE
              - IL
              - IT
              - JM
              - JP
              - JE
              - JO
              - KZ
              - KE
              - KI
              - KR
              - KW
              - KG
              - LA
              - LV
              - LB
              - LI
              - LT
              - LU
              - MO
              - MK
              - MG
              - MW
              - MY
              - MV
              - ML
              - MT
              - MH
              - MQ
              - MR
              - MU
              - YT
              - MX
              - MD
              - MC
              - MN
              - MS
              - MA
              - MZ
              - MM
              - NA
              - NR
              - NP
              - NL
              - NC
              - NZ
              - NI
              - NE
              - NG
              - NU
              - 'NO'
              - OM
              - PK
              - PW
              - PA
              - PG
              - PY
              - PE
              - PH
              - PL
              - PT
              - PR
              - QA
              - RO
              - RU
              - RW
              - SH
              - KN
              - LC
              - PM
              - VC
              - SM
              - SA
              - SN
              - SC
              - SL
              - SG
              - SK
              - SI
              - SB
              - SO
              - ZA
              - ES
              - LK
              - SR
              - SZ
              - SE
              - CH
              - TW
              - TJ
              - TZ
              - TH
              - TG
              - TO
              - TT
              - TN
              - TR
              - TM
              - TC
              - TV
              - UG
              - UA
              - AE
              - UY
              - UZ
              - VU
              - VA
              - VE
              - VN
              - VI
              - WF
              - EH
              - WS
              - YE
              - FM
              - RE
              - ME
              - RS
            type: string
        - description: Search query. Either 'q' or 'category_id' must be present
          in: query
          name: q
          required: false
          schema:
            type: string
        - description: Sort results by
          in: query
          name: sort_by
          required: false
          schema:
            enum:
              - best_match
              - price_shipping_low_to_high
              - price_shipping_high_to_low
              - distance_nearest
              - time_ending_soonest
              - time_newly_listed
              - price_low_to_high
              - price_high_to_low
              - condition_new_first
              - condition_used_first
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response2F0A0801641C_SearchResponse'
          description: 成功响应
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
      x-codeSamples:
        - label: Reference example
          lang: text
          source: >-
            # Fixed reference example. Playground inputs do not update this
            sample.

            curl --request GET \
              --url 'https://api.aisa.one/apis/v1/ebay/search?engine=ebay_search' \
              --header 'Authorization: Bearer <token>'
components:
  schemas:
    Response2F0A0801641C_SearchResponse:
      properties:
        categories:
          items:
            $ref: '#/components/schemas/Response2F0A0801641C_Category'
          type: array
        error:
          description: Error message when no results are found
          type: string
        filters:
          items:
            $ref: '#/components/schemas/Response2F0A0801641C_Filter'
          type: array
        organic_results:
          items:
            $ref: '#/components/schemas/Response2F0A0801641C_OrganicResult'
          type: array
        pagination:
          $ref: '#/components/schemas/Response2F0A0801641C_Pagination'
        related_results:
          description: eBay's "Results matching fewer words" items.
          items:
            $ref: '#/components/schemas/Response2F0A0801641C_OrganicResult'
          type: array
        related_searches:
          items:
            $ref: '#/components/schemas/Response2F0A0801641C_RelatedSearch'
          type: array
        search_information:
          $ref: '#/components/schemas/Response2F0A0801641C_SearchInformation'
        search_metadata:
          $ref: '#/components/schemas/Response2F0A0801641C_SearchMetadata'
        search_parameters:
          $ref: '#/components/schemas/Response2F0A0801641C_SearchParameters'
        sections:
          items:
            $ref: '#/components/schemas/Response2F0A0801641C_Section'
          type: array
      type: object
    Response2F0A0801641C_Category:
      properties:
        category_id:
          description: Category identifier
          type: string
        is_selected:
          description: Whether this category is currently selected
          type: boolean
        link:
          description: Category link
          type: string
        name:
          description: Category name
          type: string
        subcategories:
          description: Nested subcategories
          items:
            $ref: '#/components/schemas/Response2F0A0801641C_Category'
          type: array
      required:
        - name
      type: object
    Response2F0A0801641C_Filter:
      properties:
        options:
          description: Available filter options
          items:
            $ref: '#/components/schemas/Response2F0A0801641C_FilterOption'
          type: array
        type:
          description: Filter type name
          type: string
      required:
        - options
      type: object
    Response2F0A0801641C_OrganicResult:
      properties:
        authenticity:
          description: Authenticity guarantee information
          type: string
        bids:
          description: Number of bids (for auctions)
          type: integer
        brand:
          description: Item brand
          type: string
        buying_format:
          description: Buying format (e.g., "Buy It Now", "Auction")
          type: string
        condition:
          description: Item condition
          type: string
        deal:
          description: Deal information
          type: string
        discount:
          description: Discount percentage
          type: string
        extensions:
          description: Additional item information
          items:
            type: string
          type: array
        extracted_items_sold:
          description: Numeric items sold value
          type: integer
        extracted_original_price:
          description: Numeric original price value
          type: number
        extracted_price:
          description: Numeric price value
          type: number
        extracted_price_range:
          description: Price range for items with variable pricing
          properties:
            from:
              description: Minimum price in range
              type: number
            to:
              description: Maximum price in range
              type: number
          type: object
        extracted_shipping:
          description: Numeric shipping cost
          type: number
        extracted_unit_price:
          description: Numeric unit price value
          type: number
        extracted_watching:
          description: Numeric watchers value
          type: integer
        images:
          description: Additional item images
          items:
            type: string
          type: array
        is_auction:
          description: Whether this is an auction
          type: boolean
        is_best_offer:
          description: Whether best offer is available
          type: boolean
        is_buy_it_now:
          description: Whether buy it now is available
          type: boolean
        is_free_return:
          description: Whether free returns are offered
          type: boolean
        is_in_psa_vault:
          description: Whether item is in PSA vault
          type: boolean
        is_price_range:
          description: Whether price is a range
          type: boolean
        is_sponsored:
          description: Whether this is a sponsored result
          type: boolean
        item_id:
          description: eBay item identifier
          type: string
        items_sold:
          description: Number of items sold text
          type: string
        link:
          description: Link to item page
          type: string
        original_price:
          description: Original price before discount
          type: string
        position:
          description: Result position in search results
          type: integer
        price:
          description: Price as displayed
          type: string
        product_id:
          description: eBay product identifier
          type: string
        rating:
          description: Product rating
          type: number
        reviews:
          description: Number of reviews
          type: integer
        reviews_link:
          description: Link to reviews
          type: string
        seller:
          $ref: '#/components/schemas/Response2F0A0801641C_Seller'
        shipping:
          description: Shipping cost text
          type: string
        shipping_details:
          description: Additional shipping information
          type: string
        stock:
          description: Stock status
          type: string
        subtitle:
          description: Item subtitle
          type: string
        tag:
          description: Special tag (e.g., "SPONSORED")
          type: string
        thumbnail:
          description: Main item image URL
          type: string
        time_left:
          description: Time remaining (for auctions)
          type: string
        title:
          description: Item title
          type: string
        trending:
          description: Trending information
          type: string
        unit_price:
          description: Price per unit
          type: string
        watching:
          description: Number of watchers text
          type: string
      required:
        - position
      type: object
    Response2F0A0801641C_Pagination:
      properties:
        current:
          description: Current page number
          type: integer
        next:
          description: Link to next page
          type: string
        other_pages:
          additionalProperties:
            type: string
          description: Links to other pages (page number as key, URL as value)
          type: object
        previous:
          description: Link to previous page
          type: string
      type: object
    Response2F0A0801641C_RelatedSearch:
      properties:
        link:
          description: Link to perform this search
          type: string
        query:
          description: Related search query
          type: string
      type: object
    Response2F0A0801641C_SearchInformation:
      properties:
        buying_format:
          description: Selected buying format
          type: string
        category_displayed:
          description: Category name displayed
          type: string
        filters_applied:
          description: List of applied filters
          items:
            type: string
          type: array
        language:
          description: Page language code
          type: string
        notice:
          description: >-
            Notice eBay surfaces above the results (e.g. "No exact matches
            found" when `related_results` is returned).
          type: string
        query_displayed:
          description: Query as displayed on eBay
          type: string
        shipping_to:
          description: Shipping destination
          type: string
        sorted_by:
          description: Current sort order
          type: string
        total_results:
          description: Total number of results found
          type: integer
      type: object
    Response2F0A0801641C_SearchMetadata:
      properties:
        created_at:
          description: Timestamp when the search was created
          format: date-time
          type: string
        html_url:
          description: URL to view HTML results
          type: string
        id:
          description: 搜索请求的唯一标识符
          type: string
        json_url:
          description: URL to view JSON results
          type: string
        parsing_time_taken:
          description: Time taken to parse the results in seconds
          type: number
        request_time_taken:
          description: Time taken to make the request in seconds
          type: number
        request_url:
          description: eBay URL for this search
          type: string
        status:
          description: Status of the search request
          type: string
        total_time_taken:
          description: Total time taken for the search in seconds
          type: number
      required:
        - id
        - status
        - created_at
      type: object
    Response2F0A0801641C_SearchParameters:
      properties:
        advanced_filters:
          description: Advanced filters
          type: string
        buying_format:
          description: Buying format filter
          type: string
        category_id:
          description: Category ID searched
          type: integer
        condition:
          description: Condition filters
          type: string
        country:
          description: Country code
          type: string
        delivery_country:
          description: Delivery country
          type: string
        distance_radius:
          description: Distance radius
          type: number
        ebay_domain:
          description: eBay domain used
          type: string
        engine:
          description: Search engine used
          type: string
        filters:
          description: Applied filters
          type: string
        include_related_results:
          description: >-
            Whether to return "Results matching fewer words" items under a
            separate `related_results` key
          type: string
        layout:
          description: Layout format
          type: string
        num:
          description: Results per page
          type: integer
        page:
          description: 页码
          type: integer
        postal_code:
          description: Postal code
          type: string
        price_max:
          description: Maximum price
          type: number
        price_min:
          description: Minimum price
          type: number
        product_origin_country:
          description: Product origin country
          type: string
        q:
          description: 搜索查询
          type: string
        sort_by:
          description: 排序顺序
          type: string
      type: object
    Response2F0A0801641C_Section:
      properties:
        has_items:
          description: Whether results contain item listings
          type: boolean
        is_sponsored:
          description: Whether this section is sponsored
          type: boolean
        results:
          description: Section results (either category links or item listings)
          items:
            oneOf:
              - $ref: '#/components/schemas/Response2F0A0801641C_SectionResult'
              - $ref: '#/components/schemas/Response2F0A0801641C_OrganicResult'
          type: array
        subtitle:
          description: Section subtitle
          type: string
        title:
          description: Section title
          type: string
      type: object
    Response2F0A0801641C_FilterOption:
      properties:
        is_selected:
          description: Whether this option is currently selected
          type: boolean
        items:
          description: Number of items matching this option
          type: integer
        link:
          description: Link to apply this filter
          type: string
        text:
          description: Option display text
          type: string
        type:
          description: Option type (for size filters)
          type: string
      type: object
    Response2F0A0801641C_Seller:
      properties:
        is_direct_from_seller:
          description: Whether item is direct from brand/manufacturer
          type: boolean
        is_top_rated_plus:
          description: Whether seller is top rated plus
          type: boolean
        name:
          description: Seller username
          type: string
        positive_feedback_percent:
          description: Percentage of positive feedback
          type: number
        reviews:
          description: Number of seller reviews
          type: integer
        thumbnail:
          description: Seller logo or image URL
          type: string
      type: object
    Response2F0A0801641C_SectionResult:
      properties:
        category_id:
          description: Category identifier
          type: string
        link:
          description: Result link
          type: string
        position:
          description: Position within section
          type: integer
        release_date:
          description: Release date (for certain sections)
          type: string
        thumbnail:
          description: Result thumbnail URL
          type: string
        title:
          description: Result title
          type: string
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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