# Search the web

**API:** Data API

**Endpoint:** `POST /v1/beta/scholar/search/web`

**Tags:** Scholar Search

Search the open web and get back a lean result list. ⚠️ Despite being a POST, parameters go in the **query string** — `query` (required), `max_num_results` (default 10, max 100), and `as_ylo`/`as_yhi` for a year range. A JSON body is not accepted. Returns a search `id` and `results[]` carrying only `title`, `link` and `snippet`. Its virtue is how little it returns, which suits an agent that only needs to know what exists. It gives you no page text — if you need the content, `searchWeb` returns it in the same call. Keep the `id`: it is what `post_scholar_search_explain` needs.

### Pricing reference

- Metering: Fixed successful-request cost basis.
- Reference request estimate: USD 0.01.
- Reference customer multiplier: 1.0. Do not apply it again to a settled customer amount.

Reference metadata only, not an account quote, a guaranteed price or a spending cap. Resource credits are not Felo credits. Final charges follow Felo billing records.

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `as_yhi` | query | no | integer \| null | Year of publication upper bound |
| `as_ylo` | query | no | integer \| null | Year of publication lower bound |
| `max_num_results` | query | no | integer, default: 10 | Maximum number of search results to return, up to 100 |
| `query` | query | yes | string | Search query for scholarly materials |

## Responses

### 200 — Successful search response

Headers:
- `X-Request-Id` (string) — Request identifier to include when contacting Felo support.

**application/json**

Schema: `Response8Da310D1D213_WebSearchResponse` (`#/components/schemas/Response8Da310D1D213_WebSearchResponse`)

### 400 — The request could not be processed. Check the request parameters.

### 401 — A valid Felo API key is required.

### 402 — The request cannot proceed because a billing requirement is not met.

### 403 — The account is not permitted to perform this operation.

### 429 — A request or spending limit has been reached.

### 502 — The service could not complete the request.

### 503 — The API or billing service is temporarily unavailable.

### 504 — The service timed out while processing the request.

### default — Error response; upstream passthrough responses may use provider formats

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response8Da310D1D213_WebResult

`#/components/schemas/Response8Da310D1D213_WebResult`

```json
{
  "type": "object",
  "required": [
    "title",
    "link",
    "snippet"
  ],
  "properties": {
    "title": {
      "type": "string",
      "description": "Title of the web page"
    },
    "link": {
      "type": "string",
      "format": "uri",
      "description": "URL to access the web page"
    },
    "snippet": {
      "type": "string",
      "description": "Brief summary or preview of the web page content"
    },
    "display_url": {
      "type": "string",
      "description": "Display-friendly URL"
    },
    "published_date": {
      "type": "string",
      "format": "date-time",
      "description": "Publication date of the web page"
    }
  }
}
```

### Response8Da310D1D213_WebSearchResponse

`#/components/schemas/Response8Da310D1D213_WebSearchResponse`

```json
{
  "type": "object",
  "required": [
    "id",
    "results"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the search request"
    },
    "results": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Response8Da310D1D213_WebResult"
      },
      "description": "List of web search results"
    }
  }
}
```
