← Back to Sample APIs

Product Catalogue API

Paginated product list with SKU, price, category, and stock level. Ideal for practising server-side pagination in OutSystems.

01

Endpoint

GET https://labs.lowcademy.com/apis/products
PropertyValue
MethodGET
Base URLhttps://labs.lowcademy.com/apis/
Fileproducts.php
AuthenticationNone
02

Authentication

No authentication required — open endpoint.
03

Query Parameters

ParameterTypeRequiredDefaultDescription
pageIntegerOptional1Page number
limitIntegerOptional20Records per page — max 50
categoryStringOptional—Filter by category name
04

Sample Requests

First page (default)

curl https://labs.lowcademy.com/apis/products

Page 2, 10 records per page

curl https://labs.lowcademy.com/apis/products?page=2&limit=10

Filter by category

curl https://labs.lowcademy.com/apis/products?category=Electronics
05

Response — 200 OK

FieldTypeDescription
successBooleanAlways true
pageIntegerCurrent page
totalIntegerTotal number of products (across all pages)
data[].skuStringProduct SKU code
data[].nameStringProduct name
data[].priceNumberPrice in INR
data[].categoryStringProduct category
data[].stockIntegerUnits in stock
{
  "success": true,
  "page"   : 1,
  "total"  : 200,
  "data"   : [
    { "sku": "EL-001", "name": "Wireless Mouse", "price": 849, "category": "Electronics", "stock": 45 }
  ]
}
06

Error Responses

200
OK — Product list returned.
405
Method Not Allowed — Use GET.