# Newegg Search API Documentation

<p><strong>Newegg Search API Documentation</strong> Search newegg.com by keyword and sort by price, rating, reviews, release date or sales. Every item has the sale price, the original price and the discount as numbers with currency, the item number, brand, a full size photo and the product url. Item numbers work unchanged in the product and reviews endpoints. Price ranges are checked on every item. Page 2 never repeats page 1. Items carry highlight specifications and the brand. Sort by rating works, but search items carry no rating field. A search returns 30 items per page and costs 1 credit. Brand, category and facet filters and newegg.ca are not available: such requests return 422. A search without hits returns an empty list and is not billed. Failed requests are not billed. Not affiliated with Newegg.</p>

- **Documentation:** [https://scrappa.co/docs/newegg-api/newegg_search](https://scrappa.co/docs/newegg-api/newegg_search)
- **API group:** Newegg API
- **Endpoint:** `GET https://scrappa.co/api/newegg/search`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `query` | string | Yes | Keyword, up to 100 characters. |
| `min_price` | number | No | Lowest price. |
| `max_price` | number | No | Highest price. Must not be lower than min_price. |
| `sort` | string | No | featured (default), price_asc, price_desc, rating, reviews, release_date, best_selling, name_asc, name_desc, seller_rating or sales_volume. |
| `page` | integer | No | Page number, 1 or higher. A page past the last page returns an empty list. |

## Example response

```json
{
    "data": {
        "site": "com",
        "items": [
            {
                "url": "https://www.newegg.com/p/N82E16817801158",
                "brand": "SYBA",
                "image": "https://c1.neweggimages.com/ProductImageOriginal/17-801-158-01.png",
                "model": null,
                "price": {
                    "amount": 139.99,
                    "currency": "USD"
                },
                "title": "SYBA SY-TDB40180 4-Bay M.2 NVMe/PCIe SSD Docking Station Cloner, USB 4.0 40Gbps USB-C, Up to 32TB",
                "images": [
                    "https://c1.neweggimages.com/ProductImageOriginal/17-801-158-01.png",
                    "https://c1.neweggimages.com/ProductImageOriginal/17-801-158-02.png",
                    "https://c1.neweggimages.com/ProductImageOriginal/17-801-158-03.jpg",
                    "https://c1.neweggimages.com/ProductImageOriginal/17-801-158-04.jpg",
                    "https://c1.neweggimages.com/ProductImageOriginal/17-801-158-05.jpg",
                    "https://c1.neweggimages.com/ProductImageOriginal/17-801-158-06.jpg",
                    "https://c1.neweggimages.com/ProductImageOriginal/17-801-158-07.jpg"
                ],
                "in_stock": null,
                "highlights": [
                    "USB 4.0 Interface: USB-C external interface with 40Gbps transfer capability and ASMedia ASM2464 chipset.",
                    "Four-Bay Capacity: Supports four M.2 NVMe slots, up to 8TB per bay and 32TB total.",
                    "SSD Compatibility: Supports M-Key and B+M Key M.2 NVMe/PCIe SSDs in 2280, 2260, 2242 and 2230 sizes; not compatible with M.2 SATA SSD or M.2 SATA AHCI B Key SSDs.",
                    "Offline Cloning: One-touch cloning from one SSD to one, two or three SSDs simultaneously without connecting to a computer.",
                    "Cooling System: Dual 8cm silent fans and an aluminum alloy case help protect M.2 SSDs from overheating.",
                    "System Support: Compatible with Thunderbolt 3/4/5 ports and Windows, Mac OS, Linux, Unix, Android and iOS."
                ],
                "item_number": "17-801-158",
                "instant_rebate": null,
                "is_marketplace": false,
                "is_refurbished": false,
                "original_price": null,
                "specifications": [
                    {
                        "name": "Brand",
                        "value": "SYBA"
                    },
                    {
                        "name": "Size",
                        "value": "M.2 NVMe"
                    }
                ],
                "discount_amount": null,
                "discount_percent": null,
                "limit_per_customer": null
            }
        ],
        "filters": {
            "sort": "price_asc",
            "query": "ssd",
            "max_price": null,
            "min_price": null
        },
        "currency": "USD",
        "pagination": {
            "has_more": true,
            "per_page": 30,
            "total_items": 314,
            "total_pages": 11,
            "current_page": 2
        }
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "search"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A query parameter is missing or invalid. This response is not billable. |
| 503 | Upstream Unavailable | Newegg did not answer or sent a page Scrappa cannot read. This response is not billable. Retry later. |
| 422 | Validation Error | A brand, category, facet or site=ca filter was sent. Newegg search supports keyword, price range, sort and page only. This response is not billable. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
