Bridge by Wekoya / Guides / How do I add web search to my AI app?

How do I add web search to my AI app?

In short: Call a search API and give the results to your model, or let the model call it as a tool. On Bridge by Wekoya, POST https://wekoya-api.wekoya.tech/v1/search returns the pages found and, with "answer": true, a short answer citing them. On 28 November 2026 it cost ₦7.44 a search, ₦11.15 with the answer.

Updated

One call

import requests

found = requests.post(
    "https://wekoya-api.wekoya.tech/v1/search",
    headers={"Authorization": "Bearer wk_live_..."},
    json={"query": "naira to dollar rate today", "recency": "day", "country": "NG", "answer": True},
).json()

print(found["answer"])            # a short answer citing [1], [2]
for page in found["results"]:     # title, url, snippet, published_at
    print(page["title"], page["url"])

Let the model search when it needs to

Give your chat model a web_search function tool. When it calls the tool, send its query to /v1/search and return the results as the tool's reply; the model then answers from them. Any Bridge model that supports tool calling can do this, GPT, Claude and Gemini included.

Full details are in web search.

Create a free account

Common questions

How much does web search cost?

On 28 November 2026, ₦7.44 per search, or ₦11.15 with the written answer. The current price is on the models page.

Do I need a separate search API account?

No. Search uses the same Bridge key and naira balance as your AI models.

Read next