Skip to main content
We’re excited to introduce the new maxResults parameter for the /search endpoint, which allows you to specify the maximum number of search results returned in a single API call. This feature is designed to give you more control on the size of the context passed to downstream LLMs.

How to Use

To specify a maximum number of search results, add the maxResults parameter to your API request. Example Request
curl --request POST \
  --url https://api.linkup.so/v1/search \
  --header 'Authorization: Bearer {{LINKUP_API_KEY}}' \
  --header 'Content-Type: application/json' \
  --data '{
  "q": "Latest developments in AI",
  "depth": "standard",
  "outputType": "sourcedAnswer",
  "maxResults": 10
}'