> For the complete documentation index, see [llms.txt](https://docs.pandamatch.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pandamatch.io/filters/negative-search/negative-domain-search.md).

# Negative Domain Search

Negative domain search is used to exclude specific domains or subdomains from the search results. This ensures that the output is more relevant and tailored to your needs by automatically removing unwanted domains. Up to 10 domains can be entered for exclusion.&#x20;

<figure><img src="/files/0kNDuHivZNGROzKiHXuU" alt="" width="178"><figcaption></figcaption></figure>

1. **Specification of Negative Domains**:
   * **Exclusion Domains**: Identify and list up to 10 specific domains that you want to exclude from the search results. These can be domains that consistently provide irrelevant content or do not align with your search objectives.
   * **Automatic Subdomain Exclusion**: When using the negative domain search, subdomains of the specified domains are also excluded automatically. This comprehensive exclusion ensures that no part of the unwanted domain appears in the results.
2. **How to Use Negative Domain Search**:
   * **Input Domains**: Enter the domains you wish to exclude from the search results. For example, if you want to exclude results from "example.com," input this domain to ensure it and any of its subdomains are filtered out.
   * **Domain Variations**: Consider all variations and subdomains that might be relevant for exclusion. For example, excluding "example.com" will also exclude "blog.example.com" and "shop.example.com."
3. **Combining with Positive Search**: Use negative domain search in conjunction with positive search criteria to refine and enhance the relevance of your results. This combination helps focus on high-quality, relevant domains while automatically filtering out specified irrelevant sources.
4. **Improving Relevance and Efficiency**: By excluding specific domains, you can significantly improve the relevance and efficiency of your search results. This method removes the need for manual filtering, saving time and effort in sifting through irrelevant content.


---

# 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.pandamatch.io/filters/negative-search/negative-domain-search.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.
