# \[SOLVED\] Search API suddenly stops returning results when using search\_domain\_filter=\["sec.gov"\]

**URL:** <https://community.perplexity.ai/t/solved-search-api-suddenly-stops-returning-results-when-using-search-domain-filter-sec-gov/2511>\
**Category:** Bug Reports\
**Tags:** search-api\
**Created:** [November 7, 2025, 12:03pm UTC](https://community.perplexity.ai/t/solved-search-api-suddenly-stops-returning-results-when-using-search-domain-filter-sec-gov/2511 "2025-11-07T12:03:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Douglas\_Faisal](https://sea1.discourse-cdn.com/flex001/user_avatar/community.perplexity.ai/douglas_faisal/32/1725_2.png) [@Douglas\_Faisal](https://community.perplexity.ai/u/Douglas_Faisal)\
**Post date:** [November 7, 2025, 12:03pm UTC](https://community.perplexity.ai/t/solved-search-api-suddenly-stops-returning-results-when-using-search-domain-filter-sec-gov/2511/1 "2025-11-07T12:03:46Z")

</div>

## 🐛 Describe the Bug

So around 6-8 hours ago I was still able to retrieve search results when using `search_domain_filter=[``sec.gov``]`. However, I recently tested out the API and found empty results. This has been going on for about 3 hours. Any help would be appreciated!

## ✅ Expected Behavior

Found search results.

## ❌ Actual Behavior

No search results found.

## 🔄 Steps to Reproduce

Run the following code with Perplexity’s Python SDK

```python
from perplexity import Perplexity

client = Perplexity(api_key=os.getenv("PPLX_API_KEY"))

search = client.search.create(
    query="Tesla 2024 10K",
    search_domain_filter=[
        "sec.gov"
    ],
    max_results=10,
    max_tokens_per_page=1024
)

if not search.results:
    print("No results found")
else:
    for result in search.results:
        print(f"{result.title}: {result.url}")

```

## 📌 API Request & Response (if applicable)

Request

```bash
curl https://api.perplexity.ai/search -H "Authorization: Bearer <API_KEY>" -H "Content-Type: application/json" -d '{
    "query": "Apple 10-K 2024", "search_domain_filter": ["sec.gov"]
  }' | jq

```

Response

```json
{
  "results": [],
  "id": "c7befd33-11f4-489a-bab2-c84c0e06116e"
}

```

## 🌍 Environment

- **API Version:** Search API
- **SDK (if applicable):** Python SDK v0.17.0
- **Operating System:** Ubuntu 24.04

## 📎 Logs or Screenshots (if applicable)

N/A

## 📝 Additional Context

N/A

---

<div class="post-metadata">

**Author:** ![Douglas\_Faisal](https://sea1.discourse-cdn.com/flex001/user_avatar/community.perplexity.ai/douglas_faisal/32/1725_2.png) [@Douglas\_Faisal](https://community.perplexity.ai/u/Douglas_Faisal)\
**Post date:** [November 8, 2025, 2:21am UTC](https://community.perplexity.ai/t/solved-search-api-suddenly-stops-returning-results-when-using-search-domain-filter-sec-gov/2511/2 "2025-11-08T02:21:07Z")

</div>

Just tested it now, it has gone back to normal.

If possible I still would like to know what caused it. Thank you.
