Logo

Laptop API Guide

Explore and use the API with various parameters and combinations.

API Parameters

1. Get All Laptops

GET https://lappyapi.vercel.app/laptops

2. Filter by Category

GET https://lappyapi.vercel.app/laptops?category=office

3. Filter by Source

GET https://lappyapi.vercel.app/laptops?source=amazon

4. Filter by Price

GET https://lappyapi.vercel.app/laptops?price_less_than=60000 GET https://lappyapi.vercel.app/laptops?price_greater_than=50000

5. Filter by Rating

GET https://lappyapi.vercel.app/laptops?rating_greater_than=4 GET https://lappyapi.vercel.app/laptops?rating_less_than=3

6. Filter by Deals

GET https://lappyapi.vercel.app/laptops?deal=yes

7. Limit Results

GET https://lappyapi.vercel.app/laptops?limit=10

8. Get a Random Laptop

GET https://lappyapi.vercel.app/laptop/random

Parameter Combinations

1. Category + Price

GET https://lappyapi.vercel.app/laptops?category=gaming&price_less_than=100000

2. Source + Rating

GET https://lappyapi.vercel.app/laptops?source=flipkart&rating_greater_than=4

3. Deals + Limit

GET https://lappyapi.vercel.app/laptops?deal=yes&limit=5

4. Rating + Price + Category

GET https://lappyapi.vercel.app/laptops?rating_greater_than=4&price_less_than=80000&category=office