apyhub
Back
▣ DATA EXTRACTION · E-COMMERCE QUICK TOOLS

Extract Product Information API

What it does

The product data API pulls structured product details from a product page. Send a product page url (http or https) in the request body, and get back the fields the page exposes: name, price, currency, brand, sku, images, description, availability, rating and review_count, plus the source_url and the extraction_method used.

Product pages are built differently on every store, so the response includes a confidence score for name, price, images and brand. Use it to accept high-confidence records automatically and route the rest to review. Fields a page doesn't publish come back empty or null.

Use the product data API to enrich a catalog from supplier or manufacturer pages, build product feeds for comparison sites and ads, track competitor prices and stock status over time, and turn a pasted product link into a prefilled listing form. Use it on pages you own or have the right to process.

For food products, send the extracted description to the Ingredient Parser API to get allergens and additives. Resize the returned images for your own catalog with the Image Resize API. To see which platform a competitor's store runs on, use the Tech Stack Detection API.

POST
Extract product information from a URL
https://api.eu.apyhub.com/chisleroff/extract-product-information

QUICKSTART

GUIDE

Quickstart

Send the product page URL you want to extract details from.

curl -X POST "https://api.eu.apyhub.com/chisleroff/extract-product-information" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://apyhub.com"}'

What you'll get back

Returns a JSON object with optional top-level fields for the extracted product data, such as sku, name, brand, price, images, rating, currency, confidence, source_url, description, availability, review_count, and extraction_method.

{
  "name": "API Marketplace for Teams, Developers, and AI Agents",
  "price": "",
  "currency": "",
  "description": "ApyHub: The API marketplace for developers and AI agents to discover, consume secure, compliant APIs. Simplify integration and accelerate development.",
  "images": [
    "https://apyhub.com/meta-apyhub-new.png",
    "data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20version=%271.1%27%20width=%2748%27%20height=%2738%27/%3e",
    "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",
    "https://apyhub.com/gdpr.svg"
  ],
  "sku": "",
  "brand": "",
  "availability": "",
  "rating": null,
  "review_count": null,
  "source_url": "https://apyhub.com",
  "extraction_method": "dom",
  "confidence": {
    "name": 0.66,
    "price": 0,
    "images": 0.64,
    "brand": 0
  }
}
TRY ITLIVE · 100 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
body*
Product page URL to extract details from (http/https only)

About this endpoint

What it does

Extracts product details from a product page URL and returns the parsed product information in a JSON object.

Request Body

ParameterTypeDescription
urlStringProduct page URL to extract details from. Must use http or https.

Response

Returns a JSON object with product information fields such as sku, name, brand, price, images, rating, and others. The confidence field is itself an object containing confidence scores for selected extracted fields.

ParameterTypeDescription
skuStringProduct SKU.
nameStringProduct name.
brandStringProduct brand.
priceStringProduct price.
imagesString ArrayProduct image URLs.
ratingNumberProduct rating as a floating-point number.
currencyStringCurrency code or label.
confidenceObjectConfidence scores for extracted fields. Contains name and price as floating-point numbers.
confidence.nameNumberConfidence score for the name field.
confidence.priceNumberConfidence score for the price field.
confidence.imagesNumberConfidence score for the images field.
confidence.brandNumberConfidence score for the brand field.
source_urlStringSource product URL.
descriptionStringProduct description.
availabilityStringAvailability value.
review_countIntegerNumber of reviews.
extraction_methodStringMethod used to extract the product information.
▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.