Skip to main content
Linkup provides real-time web search capabilities. With Linkup integration in Friendli, you can easily enhance your AI applications with up-to-date facts, recent events, and current information that goes beyond what your model was trained on. You can use Linkup’s real-time web search through Friendli Serverless Endpoints with just a few simple steps.

How to use

For Playground Testing

  1. Create an account at Friendli Suite.
  2. Go to Serverless Endpoints from your Project and click ‘Try’ button to open the playground.
  3. In the playground, open the Tools panel and select Search the web (Linkup) to test the integration.

For SDK/API Usage

  1. Go to https://app.linkup.so, and get your Linkup API Key (free tier available).
  2. Go to Friendli Suite > Personal Settings > Integrations and add your Linkup API Key.
In the following code snippet, API_KEY refers to your Personal API Key, which you can obtain from Friendli Suite > Personal Settings > API Keys (guide).
curl --request POST \
  --url https://api.friendli.ai/serverless/tools/v1/chat/completions \
  --header 'Authorization: Bearer <API_KEY>' \
  --header 'Content-Type: application/json' \
  --data '{
  "model": "meta-llama-3.1-8b-instruct",
  "messages": [
    {
      "content": "Find information on the popular movies currently showing in theaters and provide their ratings.",
      "role": "user"
    }
  ],
  "tools": [
    { "type": "linkup:search" }
  ]
}'

Notes & Caveats

  • Playground vs. SDK/API: In the playground, you can test web search functionality using a Linkup-sponsored API Key. However, for SDK usage and API calls, you must provide your own Linkup API Key.
  • Make sure your Linkup integration is enabled in your Friendli account before calling the API — otherwise the linkup:search tool will error.
  • Linkup and Friendli both have rate limits — handle retries/backoff accordingly.
  • Keep API Keys and tokens secret (use environment variables or secret managers).
Last modified on April 17, 2026