Đưa AI agent của bạn lên web theo thời gian thực
Một API cho dữ liệu web real-time.
- Dùng Tavily SDK bằng cách đổi base URL
- Bốn endpoint, một API key
- Có hạn mức miễn phí mỗi ngày
curl -X POST https://api.bazaarlink.ai/v1/search \
-H "Authorization: Bearer $BAZAARLINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "latest Node.js LTS",
"search_depth": "basic",
"max_results": 3
}'{
"query": "latest Node.js LTS",
"results": [
{
"title": "Node.js 24 LTS release notes",
"url": "https://nodejs.example.com/blog/lts",
"content": "Node.js 24 entered long-term support ...",
"score": 0.94
},
{ "title": "Long-term support schedule",
"url": "https://docs.example.com/releases",
"score": 0.88 }
],
"response_time": 1.2,
"usage": { "credits": 1 },
"request_id": "req_example_123"
}Kết nối với công cụ bạn đang dùng
Dữ liệu web real-time sẵn cho model
Nội dung web mới cho model
search trả về nguồn và đoạn trích được xếp theo score, có thể đưa thẳng vào prompt. Chọn độ sâu basic hoặc advanced, rồi lọc theo chủ đề, khoảng thời gian, quốc gia và ngôn ngữ.
API key
Bốn endpoint, một API key
search tìm nguồn, extract lấy nội dung, crawl đi qua toàn site, còn map liệt kê URL. Một tài khoản, một khoản tính phí.
Đổi base URL để dùng Tavily SDK
Nếu đang dùng Tavily, bạn chỉ cần đổi hai cài đặt: base URL và API key. Các tham số và trường response giữ nguyên dạng ban đầu.
Bốn công cụ cho quy trình dựa trên web
Search
Retrieve ranked sources and excerpts with basic or advanced depth and useful filters.
Extract
Turn selected URLs into page content and receive failed results separately.
Crawl
Traverse a site from a starting URL with depth, breadth and natural-language instructions.
Map
Discover a site's URLs without pulling page content, ready for a later workflow.
Ba bước đến lần gọi đầu tiên
Lấy API key
Tạo tài khoản và tạo API key trong dashboard. Không cần thẻ tín dụng nước ngoài.
Đổi base URL
Trỏ SDK tới https://api.bazaarlink.ai/v1 và thay bằng API key BazaarLink của bạn.
Gọi search
Giữ các tham số còn lại như khi viết cho Tavily; tên các trường response không đổi.
from tavily import TavilyClient
client = TavilyClient(
api_key="YOUR_BAZAARLINK_API_KEY",
api_base_url="https://api.bazaarlink.ai/v1",
)
response = client.search("latest Node.js LTS", search_depth="basic", max_results=5)Giá khách hàng theo độ sâu tìm kiếm
Bắt đầu với hạn mức miễn phí hằng ngày
Hạn mức được đặt lại vào nửa đêm UTC. Sau khi dùng hết, yêu cầu tính theo bảng giá khách hàng bên dưới.
- 1 credit
- Tối đa 5 kết quả
- 1 credit
- Tối đa 10 kết quả
- 2 credits
- Tối đa 10 kết quả, advanced depth
- 1 credit
- Tối đa 10 kết quả
Yêu cầu lỗi không bị tính phí.
Câu hỏi thường gặp
Do I need a credit card?
No. Use a BazaarLink account and API key to start.
Tôi có thể dùng Tavily SDK không?
Đang dùng Tavily SDK? Hãy đổi base URL và API key. Yes. Use the HTTP examples on this page with your BazaarLink API key.
Is this the same service as Tavily?
No. BazaarLink is an independent service with its own account, billing and support.
Can I avoid code changes in an existing model workflow?
Add :online to a supported model name and the model searches first before answering with citations.