Skip to main content
Search is Linkup’s synchronous web search endpoint, optimized for AI consumption. Given a natural-language query, the /search route returns ranked sources, optionally bundled with a cited natural-language answer or with structured output matching a JSON schema. depth controls how much search and retrieval work the agent performs, and outputType selects the shape of the response.

Modes

Search comes with four depth modes:

Agentic search ("standard", "deep")

In "standard" and "deep", the system interprets the query, plans the retrieval, and evaluates the outputs returned. This means those two modes understand instructions on how to behave/perform the search.
"flash" and "fast" do not invoke an LLM for retrieval. No query interpretation, no scraping — the query is passed to the index as written. The only change: for time-sensitive queries, Linkup adds the current date (for example, “Telekom CEO” is searched as “Telekom CEO November 2026”).
Depending on the prompt and the selected depth, the agent may:
  • run one or several web searches,
  • open and scrape webpages,
  • reuse information discovered in earlier steps,
  • refine or expand queries until the requested data is found.
Instructions inside the query are followed literally. The prompt below is executed step by step:
For more information, read search best practices.

Output types

Snippets are dynamic: our models read the whole page at query time and keep only the parts relevant to your query. See Dynamic snippets.

Filtering and date controls

  • includeDomains / excludeDomains: restrict to or exclude up to 100 domains.
  • fromDate / toDate: restrict to results published in an ISO 8601 date range. Each result returns its publication date in publishedAt; results without a known publication date are excluded when a date filter is set.
  • maxResults: cap the number of returned sources. Default: 10 from December 1, 2026 (20 before). The price per call does not depend on it. See 10 results by default.
  • includeImages: surface relevant images.
See the domain and date filtering tutorial for examples.
Authorized organizations also receive dispatches from Agence France-Presse (AFP) in their results. See Premium Sources.

Pricing

Cost depends on both depth and outputType. "sourcedAnswer" and "structured" invoke an LLM and carry a small premium over raw "searchResults".

Example

Get your API key

Create a Linkup account for free to get your API key.
Successful response, by outputType:
"structured" returns the JSON object described by structuredOutputSchema.

Next

Best practices

Depth selection, query phrasing, schema design.

For AI agents

Tool definitions and integration prompt for coding agents.

API reference

Full parameter spec and response schema.