Skip to main content
POST

Overview

Synchronous web search. Results return in the response, with no polling.

Authentication

Requires x402 payment in the payment-signature header.

Request Body

string
required
Search query (1-500 characters)
integer
default:5
Maximum results to return (1-20)
string
Only results published within the last day, week, month or year. Omit it for no date window. day and week reach back 1 and 7 days; month and year reach back one calendar month or year to the same day of the month (the last day of a shorter month). The window is the search engine’s time filter; results from the fallback search are checked against it by published_at at day resolution: a result dated on or after the window’s first day is kept, one dated before it is dropped, and one with no known date is kept.

Response (200)

string
The search query
array
Results, each with url, title, description and published_at
string | null
Publication date as YYYY-MM-DD when the page states one, otherwise null. The date is reported as stated, however old or even ahead of today; a date that does not exist on the calendar is null.
integer
Number of results returned
See Pricing for web search costs.

Notes

  • Results return synchronously (no job polling)
  • Each paid call is recorded: it has a job record and a receipt, like Web Read
  • 15-second timeout per request