On this page
A product data API is an interface that lets software request product information through documented requests and responses.
The returned fields can include a product's name, specifications, images, sizes or colors, and seller-specific price and availability. Read APIs retrieve this information; management APIs let authorized teams add or update catalogue records. A provider may cover one store or aggregate several retailers.
Product data API response example
Imagine an app requesting details for a fictional pair of travel headphones. Instead of a product webpage, the API returns named fields the app can use in a comparison. The field names are simplified to show how an app uses the information.
| Field | Illustrative value | How the app uses it |
|---|---|---|
| Product and variant | Travel headphones, black | Identify the exact version being compared. |
| Weight | 240 g | Compare how light the headphones are for travel. |
| Battery life | 30 hours | Check whether the stated battery life meets the user's needs. |
| Seller price | Retailer A: USD 129.00 | Show that seller's observed price; recheck current terms with the merchant. |
Product API vs affiliate API vs product feed
These interfaces answer different questions, although one provider can combine several functions.
| Interface | Main purpose | Example use |
|---|---|---|
| Product data API | Retrieve or manage product facts and seller data. | Compare headphone weight, battery life, and prices. |
| Affiliate API | Access programs, referral links, and commission reports. | Create a tracked link and look up the resulting purchase; see affiliate API. |
| Product feed | Send a collection of product records to another system. | Refresh a shopping platform’s catalogue; see product feed. |
What data does a product API return?
A product API can return identifiers, specifications, images, variants, and seller information. Available fields vary by provider. Keep product facts, such as weight, separate from seller-specific values, such as price and stock.
| Field group | Typical fields | Why it matters |
|---|---|---|
| Identity | Product ID, brand, SKU (merchant item code), GTIN (trade item identifier) | Match the exact item; a merchant SKU may not identify it across retailers. |
| Attributes | Dimensions, material, compatibility, category, descriptions | Check the user's requirements against sourced specifications. |
| Variants | Size, color, capacity, variant ID, parent product ID | Compare like-for-like versions rather than merging different items. |
| Merchant offer | Seller, price, currency, availability, destination URL | Evaluate a seller's observed terms, including market and update time. |
| Source and update time | Source, retrieval time, field-level status where available | Distinguish missing information from a verified negative answer. |
Product data API examples
Choose the type of API based on whose catalogue you need. A retailer building its own app needs access to its store's products. An assistant comparing sellers needs a provider that covers multiple retailers.
Shopify Storefront API: read one shop's catalogue
For a retailer building a storefront or shopping app, Shopify's Storefront API retrieves that shop's products and collections. The app connects to a particular shop, so its catalogue scope is clear.
Cross-retailer data providers
For a comparison service or cross-merchant shopping assistant, Channel3 documents product discovery across retailers. Category and retailer coverage determine whether that provider fits the app's task.
How AI shopping assistants use product APIs
An assistant turns a buying brief into search criteria, retrieves candidate records, compares exact variants, and explains trade-offs supported by the data. Natural-language product search is one possible API capability, not a feature of every product API.
For example, an assistant comparing travel headphones can use weight, battery life, connectivity, and current seller observations. If battery life is missing, the assistant should say so or retrieve a reliable source. A comparison is more useful when it shows which facts are known and which need checking.
How product data APIs relate to AON
Product data APIs provide the facts an app uses to compare items. AON helps the app find commercial offers relevant to a shopping request, including a way for the user to continue to the merchant.
For example, an assistant can use product data to compare headphone weight and battery life, then use AON to find a relevant offer. Product research and offer discovery serve different parts of the same shopping task.
Read AON Offer QueryCommon questions about Product data API
Is a product search API the same as a product data API?
A product search API is a product-data interface focused on finding matching records. Other product data APIs can retrieve individual items, manage catalogues, or update seller data without providing search.
Can one product API search multiple retailers?
Yes, if the provider aggregates those sources and permits that use. A merchant-specific API usually exposes only its own shop or account; an API endpoint alone does not imply cross-retailer coverage.
Are product API prices always real time?
No. Freshness depends on upstream updates, indexing, caching, and the specific field. The merchant confirms current price and availability at checkout.
Does product data access let an AI app earn affiliate commission?
Product information helps the app choose what to recommend. To earn commission, the app also joins an affiliate arrangement and uses a tracked referral that leads to a qualifying purchase or other agreed action.
Sources
- Shopify Storefront APIOfficial documentation
- Channel3 documentationOfficial documentation
- AON Offer QueryAON documentation