Try our API without signing up! This example demonstrates the features of our API generator with sample product data. See how easy it is to query, filter, and sort data using both REST and GraphQL.
Retrieve all products with pagination metadata:
GET /api/examplesTry it →{
"data": [
{
"id": 1,
"name": "Premium Wireless Headphones",
"price": 199.99,
"category": "Electronics",
"inStock": true,
"features": [
"Noise Cancellation",
"Bluetooth 5.0",
"40h Battery Life"
],
"ratings": {
"average": 4.8,
"count": 423
}
},
{
"id": 2,
"name": "Smart Watch",
"price": 249.99,
"category": "Electronics",
"inStock": true,
"features": [
"Noise Cancellation",
"Bluetooth 5.0",
"40h Battery Life"
],
"ratings": {
"average": 4.8,
"count": 423
}
}
],
"meta": {
"total": 2,
"page": 1,
"limit": 10
}
}Filter products by category and price:
GET /api/examples?category=Electronics&price_gt=150Try it →{
"data": [
{
"id": 1,
"name": "Premium Wireless Headphones",
"price": 199.99,
"category": "Electronics",
"inStock": true,
"features": [
"Noise Cancellation",
"Bluetooth 5.0",
"40h Battery Life"
],
"ratings": {
"average": 4.8,
"count": 423
}
}
],
"meta": {
"total": 1,
"page": 1,
"limit": 10
}
}Sort products by price (descending) and limit results:
GET /api/examples?sort=-price&limit=1Try it →Ready to create your own custom API? Sign up now to transform your JSON data into powerful REST and GraphQL APIs with authentication, filtering, sorting, and more.
Get Started for Free