---
title: "Search Endpoint"
method: POST
path: "/v2/search"
tags: ["v2"]
---

# Search Endpoint

`POST /v2/search`

## Request

- Base URL: `https://api.ragfeed.de` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ragfeed.de/v2/search`
- Auth: none declared

## Request body

- SearchRequest
  - `query` string, required
  - `limit` integer
  - `sources` union[], nullable
    - union
      - string
      - object
  - `categories` union[], nullable
    - union
      - string
      - object
  - `includeDomains` string[], nullable
  - `excludeDomains` string[], nullable
  - `tbs` string, nullable
  - `location` string, nullable
  - `country` string, nullable
  - `safe` boolean, nullable
  - `ignoreInvalidURLs` boolean
  - `timeout` integer, nullable
  - `scrapeOptions` ScrapeOptions
    - `formats` union[]
      - union
        - string
        - object
    - `onlyMainContent` boolean
    - `onlyCleanContent` boolean
    - `includeTags` string[], nullable
    - `excludeTags` string[], nullable
    - `maxAge` integer, nullable
    - `minAge` integer, nullable
    - `headers` object, nullable
    - `waitFor` integer
    - `mobile` boolean
    - `skipTlsVerification` boolean
    - `timeout` integer, nullable
    - `parsers` union[], nullable
      - union
        - string
        - object
    - `actions` object[], nullable
    - `location` Location
      - `country` string, nullable
      - `languages` string[], nullable
    - `removeBase64Images` boolean
    - `blockAds` boolean
    - `proxy` 'basic' | 'enhanced' | 'auto' | 'stealth', nullable
    - `storeInCache` boolean
    - `lockdown` boolean
    - `redactPII` union
      - boolean
      - object
    - `zeroDataRetention` boolean

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ragfeed/apis/ragfeed-api.md) · [All operations](https://skmtc.dev/ragfeed/apis/ragfeed-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ragfeed/apis/ragfeed-api/revisions/0ebcfdfb5fda?raw)
