Skip to main content
POST
/
api
/
research
/
web
cURL
curl --request POST \
  --url https://recoup-api.vercel.app/api/research/web \
  --header 'Content-Type: application/json' \
  --data '
{
  "query": "<string>",
  "max_results": 10,
  "country": "<string>"
}
'
{
  "status": "success",
  "results": [
    {
      "title": "<string>",
      "url": "<string>",
      "content": "<string>"
    }
  ],
  "formatted": "<string>"
}

Body

application/json

Request body for web research.

query
string
required

The search query — what you want to find on the web.

max_results
integer
default:10

Maximum number of results to return.

Required range: 1 <= x <= 20
country
string

ISO country code for regional results (e.g., 'US', 'GB').

Required string length: 2

Response

200 - application/json

Web search results

Web search results with titles, URLs, and content snippets.

status
enum<string>
Available options:
success,
error
results
object[]

Ranked web search results.

formatted
string

Results formatted as markdown for easy reading.