API Documentation
Integrate our complete, live product database into your websites and applications with our simple, open REST API.
Overview
Live API Endpoint
https://resources.zenlabswholesale.com/api/productsAuthentication
Our API is open and does not require an authentication key. You can make requests directly to the endpoint without any special headers.
Custom Product Catalog: Build a dynamic, searchable product catalog on your own website or Framer project using the provided React code example.
E-commerce Integration: Sync our product data with your Shopify or WooCommerce store to ensure your listings are always up-to-date.
Internal Tools: Create internal dashboards or search tools for your team to quickly reference product details, molecular weights, and COA links.
Rate Limiting & Caching
To ensure optimal performance and reliability for your application, we strongly recommend caching the API response on your server for **1-3 hours**. Fetching the data on every page load is inefficient and may lead to slower performance.
Handling Errors
Your code should gracefully handle potential API issues. A `try...catch` block is essential. If `response.ok` is `false`, it indicates an error on our end (like a 500 server error). If the fetch fails entirely, it's likely a network issue on the client's side.
You are currently using v1 of the Product API. Future updates or changes to the data schema will be versioned to ensure backward compatibility. Any significant changes will be announced and documented here.
{
"productName": "string",
"category": "string",
"otherKnownTitles": "string | undefined",
"molecularFormula": "string",
"molecularWeight": "string",
"sequence": "string | undefined",
"purity": "string",
"about": "string",
"mechanismOfAction": "string",
"keyBenefits": "string[]",
"clinicalResearch": "string",
"sideEffects": "string",
"usageAndDosage": "string",
"storageInfo": "string",
"references": [
{ "title": "string", "url": "string" }
],
"coaLink": "string | null",
"trainingGuideSlug": "string | null",
"marketingGuideSlug": "string | null",
"imageUrl": "string",
"variants": [
{ "size": "string", "price": "string", "coaLink": "string | null" }
]
}