> For the complete documentation index, see [llms.txt](https://docs.webscrapingapi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.webscrapingapi.com/wayfair-search-api/getting-started/api-parameters.md).

# API Parameters

{% hint style="warning" %}
**IMPORTANT!** The `engine` parameter should **always be set to wayfair**!
{% endhint %}

The Wayfair API is a powerful Wayfair scraping tool, made easy to use. Basically, in order to scrape Wayfair, all you have to do is send a GET request to our [official endpoint](/wayfair-search-api/getting-started/access-the-api.md) followed by the parameters you chose to customize your request.&#x20;

The Wayfair API uses general parameters (applicable to any search type) and search type specific parameters (applicable to specific search types only). **We will cover the search type specific parameters in each search category**.

Here is the full list of **the general parameters**:

<table><thead><tr><th width="162.33333333333331">Parameter</th><th width="100">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>api_key</code><br><mark style="color:red;background-color:red;">required</mark></td><td><code>string</code></td><td>Specify your unique API access key to authenticate with the API. You can find your <a href="/pages/WSuxRXMML1FPg5DAxzML">API access key</a> in your account dashboard.</td></tr><tr><td><code>engine</code><br><mark style="color:red;background-color:red;">required</mark></td><td><code>string</code></td><td>The engine of the API. Needs to be set to <strong><code>wayfair</code></strong> for all Wayfair API requests.</td></tr><tr><td><code>type</code><br><mark style="color:red;background-color:red;">required</mark></td><td><code>string</code></td><td>The Wayfair API uses <a href="/pages/VuD81m5HYOERgVY5tgYu">search types</a> to return categorized results.</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.webscrapingapi.com/wayfair-search-api/getting-started/api-parameters.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
