# Endpoint & Authentication

> [!WARNING]
> The Web Content API is **deprecated**. Use the [News, Blogs & Forums APIs](news-blogs-forums-overview) instead - same content, one endpoint per content type, and where new features land.

## Endpoint

`GET` `POST`

```bash
https://api.webz.io/filterWebContent
```

Both `GET` and `POST` are supported with the same parameters. Use `POST` when your query is long.

## Authentication

Authenticate with your API token, either as a query parameter:

```bash
https://api.webz.io/filterWebContent?token=YOUR_TOKEN&q=bitcoin
```

or as a Bearer header:

```bash
Authorization: Bearer YOUR_TOKEN
```

A missing or unknown token returns `401 Unauthorized`.

## Response format

JSON by default. Other formats are available with the `format` parameter - see [Output Format](web-content-output).
