| Response Header |
Description |
| Search-Page-Current |
The current page number of products based on your search term |
| Search-Page-Total |
The total number of pages of products based on your your search term |
| Search-Size-Current |
The number of products in the current page based on your search term |
| Search-Size-Total |
The total number of products across all pages based on your search term. |
Query Parameters
Rebuy-Api-Key · string
- Your Rebuy public API key
Code Example
// POST https://rebuyengine.com/api/v1/smart-search/search
const params = new URLSearchParams({
Rebuy-Api-Key: "YOUR_VALUE"
});
fetch(`https://rebuyengine.com/api/v1/smart-search/search?${params}`)
.then(response => response.json())
.then(data => console.log(data));
---
title: Search
excerpt: >-
Returns a list of products based on the given POST parameters. Applies all of
your Smart Search settings to the results.
api:
file: rebuy-smart-search.json
operationId: smart-search
deprecated: false
hidden: false
metadata:
title: ''
description: ''
robots: index
next:
description: ''
---
# Response Headers
| Response Header | Description |
| ------------------- | ------------------------------------------------------------------------ |
| Search-Page-Current | The current page number of products based on your search term |
| Search-Page-Total | The total number of pages of products based on your your search term |
| Search-Size-Current | The number of products in the current page based on your search term |
| Search-Size-Total | The total number of products across all pages based on your search term. |
## Query Parameters
`Rebuy-Api-Key` · string
: Your Rebuy public API key
## Code Example
```javascript
// POST https://rebuyengine.com/api/v1/smart-search/search
const params = new URLSearchParams({
Rebuy-Api-Key: "YOUR_VALUE"
});
fetch(`https://rebuyengine.com/api/v1/smart-search/search?${params}`)
.then(response => response.json())
.then(data => console.log(data));
```