Piloterr

Newegg Product

GET
/v2/newegg/product

Read a Newegg product from an item number, catalog id, or URL. Returns price, specs, images, and seller.

Credit cost: 2 credits per call

Authentification

ApiKeyAuth
headerx-api-key<token>

Your API key. Include it in the x-api-key header for every request.

Paramètres de requête

query*string

Item number, catalog id, or product URL.

Example:

N82E16823126188
return_page_source?boolean

When true, return the raw HTML. The string false stays false.

fields?string

Comma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).

is_async?boolean

Run the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.

Defaultfalse
soft_fail?boolean

Return HTTP 200 even when the request fails; the error is in the error field of the body.

Defaultfalse

Corps de la réponse

Successful response

application/json
  1. response
url?string
brand?string
price?number
title?string
currency?string
in_stock?boolean
product_id?string
item_number?string
price_display?string
Example Request
curl -X GET 'https://api.piloterr.com/v2/newegg/product?query=string'
Example Response
{  "url": "https://www.newegg.com/logitech-mk320-920-002836-usb-rf-wireless/p/N82E16823126188",  "brand": "Logitech",  "price": 32.99,  "title": "Logitech MK320 Wireless Desktop Keyboard and Mouse Combo",  "currency": "USD",  "in_stock": true,  "product_id": "N82E16823126188",  "item_number": "9SIA1CZEDK9378",  "price_display": "$32.99"}