Skip to main content
POST
/
api
/
newegg
/
products
/
search
/newegg/products/search
curl --request POST \
  --url https://api.anysite.io/api/newegg/products/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "keyword": "<string>",
  "count": 2,
  "timeout": 300,
  "sort": "0"
}
'
[
  {
    "id": "<string>",
    "url": "<string>",
    "@type": "@newegg_search_product",
    "alias": "<string>",
    "title": "<string>",
    "brand": "<string>",
    "price": 123,
    "list_price": 123,
    "price_min": 123,
    "price_max": 123,
    "currency": "<string>",
    "rating": 123,
    "review_count": 123,
    "in_stock": true,
    "is_sponsored": true,
    "image": "<string>",
    "seller": {
      "@type": "@newegg_seller",
      "id": "<string>",
      "name": "<string>",
      "alias": "<string>",
      "rating": 123,
      "review_count": 123,
      "is_top_rated": true
    }
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
keyword
string
required

Search keyword

Minimum string length: 1
Example:

"rtx 4070"

count
integer
required

Max number of results to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
sort
enum<string>
default:0

Result ordering

Available options:
0,
1,
2,
3,
4,
5

Response

Successful Response

id
string
required
url
string
required
@type
string
default:@newegg_search_product
alias
string | null
title
string | null
brand
string | null
price
number | null
list_price
number | null
price_min
number | null
price_max
number | null
currency
string | null
rating
number | null
review_count
integer | null
in_stock
boolean | null
is_sponsored
boolean | null
image
string | null
seller
NeweggSeller · object