---
title: "News Search"
method: POST
path: "/search/news"
tags: ["Search"]
---

# News Search

`POST /search/news`

## Request

- Base URL: `https://api.weblens.dev`
- URL: `https://api.weblens.dev/search/news`
- Auth: API key in header `Payment-Signature`

Real-time news search via Google News. Returns ranked articles with source, date, and thumbnail. Price: $0.015.

## Request body

- object
  - `query` string, required: Search query
  - `limit` number: Maximum results to return

## Response `200`

Google News articles with source, date, and thumbnail.

- object
  - `query` string
  - `results` object[]: Articles with position, title, url, source, date, isoDate, thumbnail
    - `position` integer
    - `title` string
    - `url` string
    - `source` string
    - `date` string
    - `isoDate` string
    - `thumbnail` string
  - `searchedAt` string
  - `requestId` string

## Other responses

- `400`: The body failed validation
- `402`: Payment required — x402 v2 protocol. Parse the PAYMENT-REQUIRED response header (base64-encoded JSON), sign the payment with your wallet, then retry the request with the Payment-Signature request header.

---

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