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

# Browse a Category

> List active listings within an eBay category.

## Path Parameters

**category\_id** `string` *required*

The eBay category id to browse. Use [`/v1/ebay/categories`](https://docs.scrapebadger.com/api-reference/endpoint/ebay/list-categories) to look up ids.

## Query Parameters

**domain** `string` (default: com)

eBay marketplace domain to browse.

Examples: `com`, `co.uk`, `de`, `fr`

**page** `integer` (default: 1)

Page number for paginated results. Range: `1` - `100`.

**per\_page** `integer`

Results per page. Clamped to one of `60`, `120`, or `240`.

**sort\_by** `string` (default: best\_match)

Sort order for results.

| Value | Description |
| - | - |
| `best_match` | Best match (default) |
| `ending_soonest` | Auctions ending soonest first |
| `newly_listed` | Most recently listed |
| `price_low_to_high` | Cheapest first |
| `price_high_to_low` | Most expensive first |

**min\_price** `number`

Minimum price filter in the marketplace's local currency.

**max\_price** `number`

Maximum price filter in the marketplace's local currency.

## Response

**domain** `string`

Marketplace domain that was browsed.

**category\_id** `string`

The category id that was browsed.

**results** `array`

Array of listings in the category (same `SearchResult` shape as [search](https://docs.scrapebadger.com/api-reference/endpoint/ebay/search.md)).

**SearchResult object**

**position** `integer`

Position on the page (1-based).

**item\_id** `string`

eBay listing item id.

**title** `string`

Listing title.

**url** `string`

Full URL to the listing.

**image** `string`

Primary image URL.

**price** `object`

Price object with `value`, `currency`, `symbol`, `raw`.

**condition** `string`

Item condition label.

**buying\_format** `string`

`Buy It Now`, `Auction`, or `Best Offer`.

**is\_auction** `boolean`

Whether the listing is an auction.

**bids** `integer`

Number of bids (auctions only, nullable).

**time\_left** `string`

Relative time remaining, e.g. `12h 16m` (auctions only, nullable).

**current\_bid** `object`

Current high bid for auction listings with `value`, `currency`, `symbol`, `raw`; mirrors `price`. Null for non-auction (fixed-price) listings.

**shipping** `string`

Shipping text.

**seller\_name** `string`

Seller username (nullable).

**is\_sponsored** `boolean`

Always `null`. eBay renders its "Sponsored" badge into every card as anti-scraping bait, so promoted placements cannot be distinguished from organic results.

**facets** `object`

Available filter facets keyed by name.

**pagination** `object`

Pagination metadata with `current_page`, `per_page`, `total_pages`, `total_results`.

**scraped\_at** `string`

ISO 8601 timestamp when the results were scraped.

### Example Response

```json theme={null}
{
  "domain": "com",
  "category_id": "139971",
  "results": [
    {
      "position": 1,
      "item_id": "256123456789",
      "title": "Nintendo Switch OLED Model White Console - Brand New Sealed",
      "url": "https://www.ebay.com/itm/256123456789",
      "image": "https://i.ebayimg.com/images/g/abc/s-l500.jpg",
      "price": { "value": 299.99, "currency": "USD", "symbol": "$", "raw": "$299.99" },
      "condition": "Brand New",
      "buying_format": "Buy It Now",
      "is_auction": false,
      "shipping": "Free shipping",
      "seller_name": "topgames_us",
      "is_sponsored": null
    }
  ],
  "facets": { "condition": ["New", "Used"] },
  "pagination": { "current_page": 1, "per_page": 60, "total_pages": 100, "total_results": 6000 },
  "scraped_at": "2026-06-21T12:00:00Z"
}
```

> [!NOTE]
>
> Each category-browse request costs **8 credits**. Failed requests are not charged.


## OpenAPI

````yaml GET /v1/ebay/categories/{category_id}/items
openapi: 3.1.0
info:
  title: ScrapeBadger eBay API
  version: 1.0.0
  description: >-
    eBay marketplace scraping API for searching active and completed (sold)
    listings, fetching item details, reviews, sellers, seller listings and
    feedback, category browsing, autocomplete, and reference data across 18
    marketplaces.
servers:
  - url: https://scrapebadger.com
    description: Production
security:
  - apiKeyAuth: []
paths:
  /v1/ebay/categories/{category_id}/items:
    get:
      tags:
        - eBay Categories
      summary: Browse a Category
      description: List active listings within an eBay category.
      operationId: browseEbayCategory
      parameters:
        - name: category_id
          in: path
          required: true
          schema:
            type: string
          description: The eBay category id.
        - name: domain
          in: query
          schema:
            type: string
            default: com
          description: eBay marketplace domain TLD or alias (com, co.uk, de, fr, ...).
        - name: page
          in: query
          schema:
            type: integer
            default: 1
            minimum: 1
            maximum: 100
          description: Page number for paginated results.
        - name: per_page
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 240
          description: Results per page. Clamped to 60, 120 or 240.
        - name: sort_by
          in: query
          schema:
            type: string
            default: best_match
            enum:
              - best_match
              - ending_soonest
              - newly_listed
              - price_low_to_high
              - price_high_to_low
          description: Sort order for results.
        - name: min_price
          in: query
          schema:
            type: number
            minimum: 0
          description: Minimum price filter in the marketplace's local currency.
        - name: max_price
          in: query
          schema:
            type: number
            minimum: 0
          description: Maximum price filter in the marketplace's local currency.
      responses:
        '200':
          description: Category listings
          content:
            application/json:
              schema:
                type: object
                properties:
                  domain:
                    type: string
                  category_id:
                    type: string
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        position:
                          type: integer
                        item_id:
                          type:
                            - string
                            - 'null'
                        product_id:
                          type:
                            - string
                            - 'null'
                        title:
                          type:
                            - string
                            - 'null'
                        url:
                          type:
                            - string
                            - 'null'
                        image:
                          type:
                            - string
                            - 'null'
                        price:
                          type: object
                          properties:
                            value:
                              type:
                                - number
                                - 'null'
                            currency:
                              type:
                                - string
                                - 'null'
                            symbol:
                              type:
                                - string
                                - 'null'
                            raw:
                              type:
                                - string
                                - 'null'
                        original_price:
                          type: object
                          properties:
                            value:
                              type:
                                - number
                                - 'null'
                            currency:
                              type:
                                - string
                                - 'null'
                            symbol:
                              type:
                                - string
                                - 'null'
                            raw:
                              type:
                                - string
                                - 'null'
                        discount_percent:
                          type:
                            - number
                            - 'null'
                        currency:
                          type:
                            - string
                            - 'null'
                        condition:
                          type:
                            - string
                            - 'null'
                        brand:
                          type:
                            - string
                            - 'null'
                        buying_format:
                          type:
                            - string
                            - 'null'
                        is_auction:
                          type: boolean
                        bids:
                          type:
                            - integer
                            - 'null'
                        time_left:
                          type:
                            - string
                            - 'null'
                        current_bid:
                          type:
                            - object
                            - 'null'
                          description: >-
                            Current high bid for auction listings; mirrors
                            `price`. Null for non-auction (fixed-price)
                            listings.
                          properties:
                            value:
                              type:
                                - number
                                - 'null'
                            currency:
                              type:
                                - string
                                - 'null'
                            symbol:
                              type:
                                - string
                                - 'null'
                            raw:
                              type:
                                - string
                                - 'null'
                        shipping:
                          type:
                            - string
                            - 'null'
                        shipping_cost:
                          type: object
                          properties:
                            value:
                              type:
                                - number
                                - 'null'
                            currency:
                              type:
                                - string
                                - 'null'
                            symbol:
                              type:
                                - string
                                - 'null'
                            raw:
                              type:
                                - string
                                - 'null'
                        free_shipping:
                          type:
                            - boolean
                            - 'null'
                        location:
                          type:
                            - string
                            - 'null'
                        returns:
                          type:
                            - string
                            - 'null'
                        sold_count:
                          type:
                            - integer
                            - 'null'
                        watchers:
                          type:
                            - integer
                            - 'null'
                        coupon:
                          type:
                            - string
                            - 'null'
                        rating:
                          type:
                            - number
                            - 'null'
                        ratings_total:
                          type:
                            - integer
                            - 'null'
                        seller_name:
                          type:
                            - string
                            - 'null'
                        seller_feedback_percent:
                          type:
                            - number
                            - 'null'
                        seller_feedback_score:
                          type:
                            - integer
                            - 'null'
                        program_badge:
                          type:
                            - string
                            - 'null'
                        is_sponsored:
                          type:
                            - boolean
                            - 'null'
                          description: >-
                            Always null — eBay renders its Sponsored badge into
                            every card as anti-scraping bait, so promoted
                            placements cannot be distinguished from organic
                            results.
                  facets:
                    type: object
                    additionalProperties:
                      type: array
                      items:
                        type: string
                  pagination:
                    type: object
                    properties:
                      current_page:
                        type: integer
                      per_page:
                        type:
                          - integer
                          - 'null'
                      total_pages:
                        type:
                          - integer
                          - 'null'
                      total_results:
                        type:
                          - integer
                          - 'null'
                      has_more:
                        type:
                          - boolean
                          - 'null'
                        description: >-
                          True while eBay still offers a next page — the stop
                          signal for bulk extraction. total_results is populated
                          on completed/sold; total_pages may be null. Past the
                          last page eBay re-serves it, so page on has_more
                          rather than looping until empty.
                  scraped_utc:
                    type:
                      - number
                      - 'null'
                  scraped_at:
                    type:
                      - string
                      - 'null'
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````

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