Nexscope

WooCommerce Product Detail API

Inspect WooCommerce product details from a specified public store with Nexscope. Get exact prices and availability using API key authentication.

Cost10 credits / call
Try online
POST · https://api.nexscope.ai/woocommerce/productDetailMCP · nexscope_woocommerce_product_detail

What this API does

Inspect WooCommerce product details from a specified public store with Nexscope. Get exact prices and availability using API key authentication. The request accepts storeUrl, productId. Its documented result includes cacheHit, fetchedAt, product.description, product.id, product.images.alt, product.images.url, product.isInStock, product.isPasswordProtected.

WooCommerce Product Detail API API use cases

Inspect a candidate product

To inspect a candidate product, a marketplace analyst submits storeUrl and productId to WooCommerce Product Detail API. The returned cacheHit, fetchedAt, product.description help inspect the documented attributes of the candidate product.

Compare listing details

A marketplace analyst uses WooCommerce Product Detail API with storeUrl and productId to compare listing details. The returned cacheHit, fetchedAt, product.description help compare product details with another shortlisted listing.

Prepare product evidence for a sourcing review

For this workflow, a marketplace analyst calls WooCommerce Product Detail API with storeUrl and productId to prepare product evidence for a sourcing review. The result helps record product facts before a sourcing discussion.

WooCommerce Product Detail API API FAQ

What does the WooCommerce Product Detail API API return?

Inspect WooCommerce product details from a specified public store with Nexscope. Get exact prices and availability using API key authentication. The documented output includes cacheHit, fetchedAt, product.description, product.id, product.images.alt, product.images.url, product.isInStock, product.isPasswordProtected. It corresponds to the supplied storeUrl, productId. Optional fields can be absent; a missing value should not be interpreted as a measured zero. Example values illustrate the response shape, rather than live account results.

How many credits does the WooCommerce Product Detail API API cost?

The current documented cost is 10 credits / call. This is the same cost shown at the top of this page. If a range or estimate is displayed, the final charge depends on the request. Review your available credits and the pricing page before calling the API, and check API usage records for the actual charge.

How do I call the WooCommerce Product Detail API API from my app or an MCP client?

Send a POST request to https://api.nexscope.ai/woocommerce/productDetail with your API key as a Bearer token and the JSON inputs shown in API integration. In a compatible MCP client such as Claude or Cursor, connect Nexscope and call nexscope_woocommerce_product_detail. Use the MCP arguments shown in the MCP guide, or switch Online test to MCP to review its request before adding it to your app.

View plans and creditsConnect this API with MCP

Try this API
Endpoint
https://api.nexscope.ai/woocommerce/productDetail
MCP method
nexscope_woocommerce_product_detail

Step 1 of 3 · Authenticate

Authentication

All run endpoints require a user API key. Send it as a bearer token in the Authorization header.

Authorization: Bearer nk-xxxxxxxxxxxxxxxxx
Missing or invalid API keys return an authentication error. Manage keys from .

Step 2 of 3 · Send a request

POSThttps://api.nexscope.ai/woocommerce/productDetail

Run an API

Send a JSON request body using the parameters described below.

Example request

Replace YOUR_API_KEY, then run this command in your terminal.

curl -X POST 'https://api.nexscope.ai/woocommerce/productDetail' \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "productId": "34",
  "storeUrl": "https://example.com"
}'

Code example

{
  "productId": "34",
  "storeUrl": "https://example.com"
}

Step 3 of 3 · Inspect the result

Check the response

Read code for the request status and data for the result. Open the parameter and response reference for the full field definitions.

HTTP status codes

CodeDescription
200Default HTTP response for both success and many business errors. Only outer JSON code 0 indicates success or asynchronous acceptance; inspect data for the result.
429Execution admission rate limit; honor Retry-After when present.
503Execution admission is temporarily unavailable; honor Retry-After when present.
Opt-inX-Nexscope-Http-Status: semantic maps controller-handled business errors to HTTP status on run and task routes. Pre-authentication failures, such as a missing API key (code 11209), may still return HTTP 200 before this mapping. Always check the outer JSON code; malformed requests and infrastructure failures may also return non-200 HTTP responses.
All categories/ WooCommerce
POSThttps://api.nexscope.ai/woocommerce/productDetail

Run this API

Send a JSON request to execute this API and receive the documented response payload.

Endpoint

MethodPOST
Pathhttps://api.nexscope.ai/woocommerce/productDetail
AuthBearer API key
Content-Typeapplication/json

Request parameters

NameTypeRequiredDescription
storeUrlstringrequired
Public HTTPS store root or WordPress installation path, without query or fragment.
Example: https://example.com
productIdstringrequired
Store-scoped positive product ID, at most 19 decimal digits.
Example: 34

Response example

Platform response envelope. code 0 indicates success or acceptance; data contains the business result.

{
  "code": 0,
  "cost": "-1",
  "data": {
    "cacheHit": false,
    "fetchedAt": "1792972800000",
    "product": {
      "description": "Cotton shirt.",
      "id": "34",
      "images": [
        {
          "alt": "Shirt",
          "url": "https://example.com/image.jpg"
        }
      ],
      "isInStock": true,
      "isPasswordProtected": false,
      "name": "Cotton Shirt",
      "prices": {
        "currency": "USD",
        "minorUnit": 2,
        "price": "11.05"
      },
      "shortDescription": "Cotton shirt.",
      "sku": "SHIRT-34",
      "type": "simple",
      "url": "https://example.com/product/shirt",
      "variation": ""
    },
    "storeUrl": "https://example.com"
  },
  "msg": null,
  "time": "2026-01-01 00:00:00",
  "traceId": null,
  "ts": "0"
}

Response fields

NameTypeRequiredDescription
codeintegerrequired
0 means accepted or successful; nonzero is a platform error.
coststringrequired
Elapsed milliseconds, never credits; -1 outside web requests.
dataanyrequired
Data value used by this API operation.
msgstring | nullrequired
Msg value used by this API operation.
timestringrequired
Server local time: yyyy-MM-dd HH:mm:ss.
traceIdstring | nullrequired
Trace id value used by this API operation.
tsstringrequired
Epoch milliseconds.

Any of option 1 — requires storeUrl, fetchedAt, cacheHit, product

NameTypeRequiredDescription
dataobjectrequired
Data value used by this API operation.
data.cacheHitbooleanrequired
Whether the response was served from the anonymous 60-second cache.
Example: false
data.fetchedAtstringrequired
Fetch time in epoch milliseconds, not the product modification time.
Example: 1792972800000
data.productobjectrequired
Normalized public products.
Example: {}
data.product.descriptionanyoptional
Description value used by this API operation.
data.product.idanyoptional
Id value used by this API operation.
data.product.imagesarrayrequired
Public image URLs; images are not fetched by this API.
Example: []
data.product.images[]objectrequired
Item in data product images.
data.product.images[].altstringrequired
Plain text alternative label.
Example: Shirt
data.product.images[].urlstringrequired
Image URL.
Example: https://example.com/image.jpg
data.product.isInStockanyoptional
Is in stock value used by this API operation.
data.product.isPasswordProtectedanyoptional
Is password protected value used by this API operation.
data.product.nameanyoptional
Name value used by this API operation.
data.product.parentIdanyoptional
Parent id value used by this API operation.
data.product.pricesobjectrequired
Anonymous store pricing; decimal values are strings for exact precision.
Example: {}
data.product.prices.currencystringrequired
Currency code.
Example: USD
data.product.prices.maxPriceanyoptional
Max price value used by this API operation.
data.product.prices.maxPriceMinoranyoptional
Max price minor value used by this API operation.
data.product.prices.minPriceanyoptional
Min price value used by this API operation.
data.product.prices.minPriceMinoranyoptional
Min price minor value used by this API operation.
data.product.prices.minorUnitintegerrequired
Currency decimal precision.
Example: 2
data.product.prices.priceanyoptional
Price value used by this API operation.
data.product.prices.priceMinoranyoptional
Price minor value used by this API operation.
data.product.prices.regularPriceanyoptional
Regular price value used by this API operation.
data.product.prices.regularPriceMinoranyoptional
Regular price minor value used by this API operation.
data.product.prices.salePriceanyoptional
Sale price value used by this API operation.
data.product.prices.salePriceMinoranyoptional
Sale price minor value used by this API operation.
data.product.shortDescriptionanyoptional
Short description value used by this API operation.
data.product.skuanyoptional
Sku value used by this API operation.
data.product.stockQuantityanyoptional
Stock quantity value used by this API operation.
data.product.typeanyoptional
Type value used by this API operation.
data.product.urlanyoptional
Url value used by this API operation.
data.product.variationanyoptional
Variation value used by this API operation.
data.storeUrlstringrequired
Normalized store identity.
Example: https://example.com

Any of option 1

NameTypeRequiredDescription
data.product.descriptionstringoptional
Plain text or public product identifier.
Example: Cotton shirt.

Any of option 2

NameTypeRequiredDescription
data.product.descriptionnulloptional
Description value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.product.idstringoptional
Plain text or public product identifier.
Example: 34

Any of option 2

NameTypeRequiredDescription
data.product.idnulloptional
Id value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.product.isInStockbooleanoptional
Store value, null when unavailable.
Example: true

Any of option 2

NameTypeRequiredDescription
data.product.isInStocknulloptional
Is in stock value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.product.isPasswordProtectedbooleanoptional
Store value, null when unavailable.
Example: false

Any of option 2

NameTypeRequiredDescription
data.product.isPasswordProtectednulloptional
Is password protected value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.product.namestringoptional
Plain text or public product identifier.
Example: Cotton Shirt

Any of option 2

NameTypeRequiredDescription
data.product.namenulloptional
Name value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.product.parentIdstringoptional
Store value; null when unavailable.
Example: null

Any of option 2

NameTypeRequiredDescription
data.product.parentIdnulloptional
Parent id value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.product.prices.maxPricestringoptional
Exact amount string; null when unavailable. Minor suffix denotes original smallest-unit amount.
Example: null

Any of option 2

NameTypeRequiredDescription
data.product.prices.maxPricenulloptional
Max price value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.product.prices.maxPriceMinorstringoptional
Exact amount string; null when unavailable. Minor suffix denotes original smallest-unit amount.
Example: null

Any of option 2

NameTypeRequiredDescription
data.product.prices.maxPriceMinornulloptional
Max price minor value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.product.prices.minPricestringoptional
Exact amount string; null when unavailable. Minor suffix denotes original smallest-unit amount.
Example: null

Any of option 2

NameTypeRequiredDescription
data.product.prices.minPricenulloptional
Min price value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.product.prices.minPriceMinorstringoptional
Exact amount string; null when unavailable. Minor suffix denotes original smallest-unit amount.
Example: null

Any of option 2

NameTypeRequiredDescription
data.product.prices.minPriceMinornulloptional
Min price minor value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.product.prices.pricestringoptional
Exact amount string; null when unavailable. Minor suffix denotes original smallest-unit amount.
Example: 11.05

Any of option 2

NameTypeRequiredDescription
data.product.prices.pricenulloptional
Price value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.product.prices.priceMinorstringoptional
Exact amount string; null when unavailable. Minor suffix denotes original smallest-unit amount.
Example: null

Any of option 2

NameTypeRequiredDescription
data.product.prices.priceMinornulloptional
Price minor value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.product.prices.regularPricestringoptional
Exact amount string; null when unavailable. Minor suffix denotes original smallest-unit amount.
Example: null

Any of option 2

NameTypeRequiredDescription
data.product.prices.regularPricenulloptional
Regular price value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.product.prices.regularPriceMinorstringoptional
Exact amount string; null when unavailable. Minor suffix denotes original smallest-unit amount.
Example: null

Any of option 2

NameTypeRequiredDescription
data.product.prices.regularPriceMinornulloptional
Regular price minor value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.product.prices.salePricestringoptional
Exact amount string; null when unavailable. Minor suffix denotes original smallest-unit amount.
Example: null

Any of option 2

NameTypeRequiredDescription
data.product.prices.salePricenulloptional
Sale price value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.product.prices.salePriceMinorstringoptional
Exact amount string; null when unavailable. Minor suffix denotes original smallest-unit amount.
Example: null

Any of option 2

NameTypeRequiredDescription
data.product.prices.salePriceMinornulloptional
Sale price minor value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.product.shortDescriptionstringoptional
Plain text or public product identifier.
Example: Cotton shirt.

Any of option 2

NameTypeRequiredDescription
data.product.shortDescriptionnulloptional
Short description value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.product.skustringoptional
Plain text or public product identifier.
Example: SHIRT-34

Any of option 2

NameTypeRequiredDescription
data.product.skunulloptional
Sku value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.product.stockQuantityintegeroptional
Always null: public Store API does not expose exact inventory.
Example: null

Any of option 2

NameTypeRequiredDescription
data.product.stockQuantitynulloptional
Stock quantity value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.product.typestringoptional
Store value; null when unavailable.
Example: simple

Any of option 2

NameTypeRequiredDescription
data.product.typenulloptional
Type value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.product.urlstringoptional
Plain text or public product identifier.
Example: https://example.com/product/shirt

Any of option 2

NameTypeRequiredDescription
data.product.urlnulloptional
Url value used by this API operation.

Any of option 1

NameTypeRequiredDescription
data.product.variationstringoptional
Plain text or public product identifier.
Example:

Any of option 2

NameTypeRequiredDescription
data.product.variationnulloptional
Variation value used by this API operation.

Any of option 2

NameTypeRequiredDescription
datanullrequired
Data value used by this API operation.

Responses

CodeDescription
200Default HTTP response for both success and many business errors. Only outer JSON code 0 indicates success or asynchronous acceptance; inspect data for the result.
429Execution admission rate limit; honor Retry-After when present.
503Execution admission is temporarily unavailable; honor Retry-After when present.
Opt-inX-Nexscope-Http-Status: semantic maps controller-handled business errors to HTTP status on run and task routes. Pre-authentication failures, such as a missing API key (code 11209), may still return HTTP 200 before this mapping. Always check the outer JSON code; malformed requests and infrastructure failures may also return non-200 HTTP responses.

Data source, freshness, and limitations

Source, freshness, coverage, rate limits, and estimation notes are not specified in this API definition unless they appear in the request or response field documentation above. Do not assume official marketplace data or real-time freshness when it is not explicitly documented.

Step 1 of 2 · Connect your MCP client

MCP

V2 recommended

Connect remote agents through the standard MCP 2025-11-25 Streamable HTTP endpoint. Use OAuth 2.1 Authorization Code with PKCE, or an API key for compatibility.

POST https://api.nexscope.ai/mcp
MCP-Protocol-Version: 2025-11-25
Content-Type: application/json
Authentication

OAuth clients request the mcp:tools scope. The endpoint's 401 response advertises protected-resource metadata for authorization discovery.

Step 2 of 2 · Call the tool

Call a tool

{
  "jsonrpc": "2.0",
  "id": "tool-call-1",
  "method": "tools/call",
  "params": {
    "name": "nexscope_woocommerce_product_detail",
    "arguments": {
      "productId": "34",
      "storeUrl": "https://example.com"
    }
  }
}

Legacy MCP v1

Existing API-key clients can continue using the compatibility endpoint. New integrations should use MCP v2.

GET / POST /mcp/legacy

Data Example

Request parameters

{
  "storeUrl": "https://cipherskincare.com",
  "productId": "20183"
}

Response

{
  "code": 0,
  "msg": null,
  "data": {
    "storeUrl": "https://cipherskincare.com",
    "product": {
      "id": "20183",
      "parentId": "0",
      "type": "variable",
      "name": "The Anomaly",
      "sku": "CIP-ANM",
      "url": "https://cipherskincare.com/product/the-anomaly/",
      "description": "",
      "shortDescription": "An eye serum that visibly lifts the upper lid as well as the under-eye. Its 70% active technologies depuff, brighten dark circles and smooth fine lines, so your eyes look rested even when you aren’t.",
      "variation": "",
      "isInStock": true,
      "stockQuantity": null,
      "prices": {
        "currency": "USD",
        "minorUnit": 2,
        "priceMinor": "10500",
        "price": "105.00",
        "regularPriceMinor": "10500",
        "regularPrice": "105.00",
        "salePriceMinor": "10500",
        "salePrice": "105.00",
        "minPrice": null,
        "maxPrice": null,
        "minPriceMinor": null,
        "maxPriceMinor": null
      },
      "images": [
        {
          "url": "https://cipherskincare.com/wp-content/uploads/2024/08/cipher-skincare-the-anomaly-eye-matrix-serum-concentrate-15ml-1.jpg",
          "alt": "best eye serum cipher skincare the anomaly eye matrix concentrate targets under eye and lids"
        },
        {
          "url": "https://cipherskincare.com/wp-content/uploads/2024/08/the-anomaly-with-box.jpg",
          "alt": "eye serum cipher skincare the anomaly eye matrix concentrate targets under eye and lids"
        }
      ]
    },
    "fetchedAt": "1793089647266",
    "cacheHit": false
  }
}

Online test

Execute the current API with your API key and JSON payload. Online tests use this site's configured API environment; the Endpoint and copyable examples use the public integration address.

10 credits / callAPI usage records

Try it

Send a real request with the same contract shown in the reference.

Endpoint
/woocommerce/productDetail
MCP method
nexscope_woocommerce_product_detail
cURL
curl -X POST \
  https://api.nexscope.ai/woocommerce/productDetail \
  -H "Authorization: Bearer nk-..." \
  -H "Content-Type: application/json" \
  -d '{ "productId": "34", "storeUrl": "https://example.com" }'
Response
No response yet. Run the request to see the response here.

Related APIs