Piloterr Newegg API

The Newegg API from Piloterr — 2 operation(s) for newegg.

GitHub OpenAPI

Operations 4

POST /v2/newegg/search Newegg Search #
GET /v2/newegg/product Newegg Product #
POST /v2/newegg/product Newegg Product #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/piloterr-com:piloterr-com-newegg-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

piloterr-com-newegg-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Piloterr API Reference Newegg API
  description: Complete API reference documentation.
  version: 1.0.0
servers:
- url: https://api.piloterr.com
  description: API Server
tags:
- name: Newegg
paths:
  /v2/newegg/search:
    get:
      summary: Newegg Search
      description: 'Search Newegg by keyword or search URL. Returns item numbers, dollar prices, stock, and pagination.


        **Credit cost:** 2 credits per call'
      operationId: get-newegg-search
      security:
      - ApiKeyAuth: []
      parameters:
      - name: query
        in: query
        required: true
        description: 'Keyword or a newegg.com search URL.


          Examples:


          ```

          logitech keyboard

          ```


          ```

          https://www.newegg.com/p/pl?d=logitech+keyboard

          ```'
        schema:
          type: string
          description: 'Keyword or a newegg.com search URL.


            Examples:


            ```

            logitech keyboard

            ```


            ```

            https://www.newegg.com/p/pl?d=logitech+keyboard

            ```'
      - name: page
        in: query
        required: false
        description: 'Page number, starting at 1. Example: 2.'
        schema:
          type: number
          description: 'Page number, starting at 1. Example: 2.'
      - name: return_page_source
        in: query
        required: false
        description: When true, return the raw HTML. The string false stays false.
        schema:
          type: boolean
          description: When true, return the raw HTML. The string false stays false.
      - $ref: '#/components/parameters/fields'
      - $ref: '#/components/parameters/is_async'
      - $ref: '#/components/parameters/soft_fail'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        url:
                          type: string
                        brand:
                          type: string
                        price:
                          type: number
                        title:
                          type: string
                        rating:
                          type: number
                        currency:
                          type: string
                        in_stock:
                          type: boolean
                        product_id:
                          type: string
                        item_number:
                          type: string
                        review_count:
                          type: integer
                        price_display:
                          type: string
                  pagination:
                    type: object
                    properties:
                      next:
                        type: string
                      page:
                        type: integer
                      keyword:
                        type: string
                      per_page:
                        type: integer
                      total_pages:
                        type: integer
                      total_results:
                        type: integer
              examples:
                Newegg search for logitech keyboard:
                  value:
                    results:
                    - url: https://www.newegg.com/logitech-mk320-920-002836-usb-rf-wireless/p/N82E16823126188
                      brand: Logitech
                      price: 36.99
                      title: Logitech MK320 Wireless Desktop Keyboard and Mouse Combo
                      rating: 3.7
                      currency: USD
                      in_stock: true
                      product_id: N82E16823126188
                      item_number: 23-126-188
                      review_count: 289
                      price_display: $36.99
                    pagination:
                      next: https://www.newegg.com/p/pl?d=logitech+keyboard&page=2
                      page: 1
                      keyword: logitech keyboard
                      per_page: 44
                      total_pages: 20
                      total_results: 1529
        '400':
          description: Bad Request — missing or invalid parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Bad Request
        '401':
          description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalidKey:
                  value:
                    error: Invalid API Key
                planRateLimit:
                  value:
                    error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
                keyQuota:
                  value:
                    error: 'Rate limit exceeded for the API key: quota monthly'
        '402':
          description: Payment Required — your subscription or credit balance is insufficient.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Payment required
        '500':
          description: Internal Server Error — something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Internal Error
      tags:
      - Newegg
    post:
      summary: Newegg Search
      description: 'Search Newegg by keyword or search URL. Returns item numbers, dollar prices, stock, and pagination.


        **Credit cost:** 2 credits per call'
      operationId: post-newegg-search
      security:
      - ApiKeyAuth: []
      parameters:
      - $ref: '#/components/parameters/fields'
      - $ref: '#/components/parameters/is_async'
      - $ref: '#/components/parameters/soft_fail'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                query:
                  type: string
                  description: 'Keyword or a newegg.com search URL.


                    Examples:


                    ```

                    logitech keyboard

                    ```


                    ```

                    https://www.newegg.com/p/pl?d=logitech+keyboard

                    ```'
                page:
                  type: number
                  description: 'Page number, starting at 1. Example: 2.'
                return_page_source:
                  type: boolean
                  description: When true, return the raw HTML. The string false stays false.
              required:
              - query
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        url:
                          type: string
                        brand:
                          type: string
                        price:
                          type: number
                        title:
                          type: string
                        rating:
                          type: number
                        currency:
                          type: string
                        in_stock:
                          type: boolean
                        product_id:
                          type: string
                        item_number:
                          type: string
                        review_count:
                          type: integer
                        price_display:
                          type: string
                  pagination:
                    type: object
                    properties:
                      next:
                        type: string
                      page:
                        type: integer
                      keyword:
                        type: string
                      per_page:
                        type: integer
                      total_pages:
                        type: integer
                      total_results:
                        type: integer
              examples:
                Newegg search for logitech keyboard:
                  value:
                    results:
                    - url: https://www.newegg.com/logitech-mk320-920-002836-usb-rf-wireless/p/N82E16823126188
                      brand: Logitech
                      price: 36.99
                      title: Logitech MK320 Wireless Desktop Keyboard and Mouse Combo
                      rating: 3.7
                      currency: USD
                      in_stock: true
                      product_id: N82E16823126188
                      item_number: 23-126-188
                      review_count: 289
                      price_display: $36.99
                    pagination:
                      next: https://www.newegg.com/p/pl?d=logitech+keyboard&page=2
                      page: 1
                      keyword: logitech keyboard
                      per_page: 44
                      total_pages: 20
                      total_results: 1529
        '400':
          description: Bad Request — missing or invalid parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Bad Request
        '401':
          description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalidKey:
                  value:
                    error: Invalid API Key
                planRateLimit:
                  value:
                    error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
                keyQuota:
                  value:
                    error: 'Rate limit exceeded for the API key: quota monthly'
        '402':
          description: Payment Required — your subscription or credit balance is insufficient.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Payment required
        '500':
          description: Internal Server Error — something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Internal Error
      tags:
      - Newegg
  /v2/newegg/product:
    get:
      summary: Newegg Product
      description: 'Read a Newegg product from an item number, catalog id, or URL. Returns price, specs, images, and seller.


        **Credit cost:** 2 credits per call'
      operationId: get-newegg-product
      security:
      - ApiKeyAuth: []
      parameters:
      - name: query
        in: query
        required: true
        description: 'Item number, catalog id, or product URL.


          Example:


          ```

          N82E16823126188

          ```'
        schema:
          type: string
          description: 'Item number, catalog id, or product URL.


            Example:


            ```

            N82E16823126188

            ```'
      - name: return_page_source
        in: query
        required: false
        description: When true, return the raw HTML. The string false stays false.
        schema:
          type: boolean
          description: When true, return the raw HTML. The string false stays false.
      - $ref: '#/components/parameters/fields'
      - $ref: '#/components/parameters/is_async'
      - $ref: '#/components/parameters/soft_fail'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  url:
                    type: string
                  brand:
                    type: string
                  price:
                    type: number
                  title:
                    type: string
                  currency:
                    type: string
                  in_stock:
                    type: boolean
                  product_id:
                    type: string
                  item_number:
                    type: string
                  price_display:
                    type: string
              examples:
                Logitech MK320 on Newegg:
                  value:
                    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
        '400':
          description: Bad Request — missing or invalid parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Bad Request
        '401':
          description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalidKey:
                  value:
                    error: Invalid API Key
                planRateLimit:
                  value:
                    error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
                keyQuota:
                  value:
                    error: 'Rate limit exceeded for the API key: quota monthly'
        '402':
          description: Payment Required — your subscription or credit balance is insufficient.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Payment required
        '500':
          description: Internal Server Error — something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Internal Error
      tags:
      - Newegg
    post:
      summary: Newegg Product
      description: 'Read a Newegg product from an item number, catalog id, or URL. Returns price, specs, images, and seller.


        **Credit cost:** 2 credits per call'
      operationId: post-newegg-product
      security:
      - ApiKeyAuth: []
      parameters:
      - $ref: '#/components/parameters/fields'
      - $ref: '#/components/parameters/is_async'
      - $ref: '#/components/parameters/soft_fail'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                query:
                  type: string
                  description: 'Item number, catalog id, or product URL.


                    Example:


                    ```

                    N82E16823126188

                    ```'
                return_page_source:
                  type: boolean
                  description: When true, return the raw HTML. The string false stays false.
              required:
              - query
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  url:
                    type: string
                  brand:
                    type: string
                  price:
                    type: number
                  title:
                    type: string
                  currency:
                    type: string
                  in_stock:
                    type: boolean
                  product_id:
                    type: string
                  item_number:
                    type: string
                  price_display:
                    type: string
              examples:
                Logitech MK320 on Newegg:
                  value:
                    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
        '400':
          description: Bad Request — missing or invalid parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Bad Request
        '401':
          description: Unauthorized — the API key is missing, invalid, inactive, or expired, or a rate limit was exceeded (`Rate limit exceeded…` message).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalidKey:
                  value:
                    error: Invalid API Key
                planRateLimit:
                  value:
                    error: 'Rate limit exceeded: You''ve exceeded the per second rate limit on your subscription'
                keyQuota:
                  value:
                    error: 'Rate limit exceeded for the API key: quota monthly'
        '402':
          description: Payment Required — your subscription or credit balance is insufficient.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Payment required
        '500':
          description: Internal Server Error — something went wrong on our side.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Internal Error
      tags:
      - Newegg
components:
  parameters:
    fields:
      name: fields
      in: query
      required: false
      description: Comma-separated list of response fields to return, with dot notation for nested fields (e.g. `name,location.city`).
      schema:
        type: string
    is_async:
      name: is_async
      in: query
      required: false
      description: 'Run the request as a background job: the API answers `202` with a `job_id` to poll on `GET /v1/jobs/{id}`.'
      schema:
        type: boolean
        default: false
    soft_fail:
      name: soft_fail
      in: query
      required: false
      description: Return HTTP 200 even when the request fails; the error is in the `error` field of the body.
      schema:
        type: boolean
        default: false
  schemas:
    ErrorResponse:
      type: object
      required:
      - error
      properties:
        error:
          type: string
          description: Human-readable error message.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Your API key. Include it in the x-api-key header for every request.