API
Free read-only JSON API. No authentication required for read endpoints.
GET /api/productsReturns a list of products with their supplier listings.
Query Parameters
| Param | Type | Description |
|---|---|---|
| q | string | Search by name or CAS number |
| cas | string | Exact CAS number match (e.g. 75-05-8) |
| category | string | Filter by category (e.g. Solvents) |
| limit | number | Results per page (default 20, max 100) |
| offset | number | Pagination offset (default 0) |
Example Request
curl "https://labpricecheck.vercel.app/api/products?cas=75-05-8"
Example Response
{
"products": [
{
"name": "Acetonitrile",
"cas_number": "75-05-8",
"slug": "acetonitrile-75-05-8",
"category": "Solvents",
"molecular_formula": null,
"molecular_weight": null,
"listings": [
{
"supplier": "Fisher Scientific",
"catalog_number": "A998-4",
"grade": "Optima",
"size": "4 L",
"price": 152.00,
"price_per_unit": 0.038,
"unit": "mL",
"url": "https://www.fishersci.com/...",
"in_stock": true
}
]
}
],
"total": 1,
"limit": 20,
"offset": 0
}More Examples
All products
GET /api/products
Search by name
GET /api/products?q=methanol
Filter by category
GET /api/products?category=Solvents
Paginate results
GET /api/products?limit=10&offset=10
Rate limits: 60 requests per minute. Data updates daily. For bulk access or higher limits, get in touch.