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

# /ebay/items/search

> Search active eBay listings by keyword: for each result returns title, price/currency, condition, image, buying format, shipping, sold and watcher counts and a brief seller summary. Supports filters by condition, buying format, price range and category.

**Price:** 10 credits per 50 results



## OpenAPI

````yaml /openapi/e-commerce-marketplaces.json post /api/ebay/items/search
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/ebay/items/search:
    post:
      tags:
        - /ebay
      summary: /ebay/items/search
      description: >-
        Search active eBay listings by keyword: for each result returns title,
        price/currency, condition, image, buying format, shipping, sold and
        watcher counts and a brief seller summary. Supports filters by
        condition, buying format, price range and category.


        **Price:** 10 credits per 50 results
      operationId: __api_ebay_items_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EbayItemsSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/EbaySearchItem'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    EbayItemsSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        keyword:
          type: string
          minLength: 1
        count:
          type: integer
          maximum: 10000
          minimum: 1
        sort:
          $ref: '#/components/schemas/EbaySearchSort'
          default: best_match
        condition:
          anyOf:
            - $ref: '#/components/schemas/EbaySearchCondition'
            - type: 'null'
        buying_format:
          anyOf:
            - $ref: '#/components/schemas/EbaySearchFormat'
            - type: 'null'
        min_price:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
        max_price:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
        category_id:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - keyword
        - count
    EbaySearchItem:
      properties:
        '@type':
          type: string
          default: EbaySearchItem
        id:
          type: string
        url:
          type: string
        price:
          anyOf:
            - type: number
            - type: 'null'
        currency:
          anyOf:
            - type: string
            - type: 'null'
        list_price:
          anyOf:
            - type: number
            - type: 'null'
        condition:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        buying_format:
          anyOf:
            - type: string
            - type: 'null'
        bid_count:
          anyOf:
            - type: integer
            - type: 'null'
        has_best_offer:
          type: boolean
          default: false
        shipping:
          anyOf:
            - type: string
            - type: 'null'
        sold_count:
          anyOf:
            - type: integer
            - type: 'null'
        watcher_count:
          anyOf:
            - type: integer
            - type: 'null'
        seller:
          anyOf:
            - $ref: '#/components/schemas/EbaySearchSeller'
            - type: 'null'
      type: object
      required:
        - id
        - url
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    EbaySearchSort:
      type: string
      enum:
        - best_match
        - ending_soonest
        - newly_listed
        - price_low
        - price_high
    EbaySearchCondition:
      type: string
      enum:
        - new
        - open_box
        - used
        - parts
    EbaySearchFormat:
      type: string
      enum:
        - auction
        - buy_it_now
    EbaySearchSeller:
      properties:
        '@type':
          type: string
          default: EbaySearchSeller
        name:
          anyOf:
            - type: string
            - type: 'null'
        positive_percent:
          anyOf:
            - type: number
            - type: 'null'
        feedback_count:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````