Product Information
What is LangSearch?
LangSearch offers two free APIs: the Free Web Search API and the Free Reranking API, designed to connect your large language model applications with the world and provide access to clean, accurate, and high-quality context. For individuals and small teams, we offer free access to collaboratively build artificial general intelligence.
**Core APIs**
1. **Free Web Search API**
Retrieve enhanced search results from billions of web documents, including news, images, videos, and more.
- Hybrid search combining keywords and vectors for improved accuracy.
- Generate long-text summaries from raw content with Markdown support for better readability.
- Ideal for individuals and small teams, offering free access to jointly advance artificial general intelligence.
2. **Free Semantic Reranking API**
Enhance search result accuracy through semantic reranking.
- Improve any existing keyword or vector search system without major infrastructure changes.
- Deliver a robust semantic layer to optimize results, ensuring higher relevance.
**Core Products**
1. **LangSearch Database – The Next-Gen Hybrid Search Database**
LangSearch Database is a cutting-edge hybrid search database designed to deliver highly relevant and accurate search results by combining the strengths of traditional keyword search and advanced vector search. Optimized for AI-driven applications, it ensures search systems not only return the most relevant results but also understand context and intent. Whether handling large-scale data or fine-tuning search experiences, LangSearch Database provides powerful, high-performance search capabilities. It powers various search applications, including the Web Search API, enabling seamless access to billions of web documents, images, videos, and more. By integrating keyword and semantic search technologies, it delivers high-quality, contextually precise information.
2. **LangSearch Reranker – Intelligent Ranking for Enhanced Search Results**
LangSearch Reranker is a powerful text-semantic-based ranking model designed to improve the accuracy of search results in search applications and Retrieval-Augmented Generation (RAG) applications. Leveraging deep learning techniques and Transformer architectures, the LangSearch Reranker refines initial ranking results, boosting relevance and overall user experience. Whether using keyword search, vector search, or hybrid search, LangSearch Reranker helps deliver highly relevant results with precise rankings.
**Why Choose LangSearch?**
LangSearch utilizes a hybrid search database that combines the power of keyword and vector search, further enhancing result accuracy with the advanced LangSearch Reranker model. Whether enhancing web search or optimizing reranking, LangSearch equips you with the tools to ensure your search system delivers more accurate and meaningful results.
How to use LangSearch?
1. First, create an account and obtain a free API key.
https://langsearch.com/api-keys
2. Conduct your first LangSearch using the official API, large language model tools, or AI agent plugins.
3. Try the Web Search API
a. cURL
```bash
curl --location 'https://api.langsearch.com/v1/web-search' \
--header 'Authorization: Bearer YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data '{
"query": "Tell me the highlights of Apple's 2024 ESG report",
"freshness": "noLimit",
"summary": true,
"count": 10
}'
```
b. Python
```python
import requests
import json
url = "https://api.langsearch.com/v1/web-search"
payload = json.dumps({
"query": "Tell me the highlights of Apple's 2024 ESG report",
"freshness": "noLimit",
"summary": True,
"livecrawl": True,
"count": 10
})
headers = {
'Authorization': 'Bearer YOUR-API-KEY',
'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
```
4. Try the Semantic Reranking API
a. cURL
```bash
curl --location 'https://api.langsearch.com/v1/rerank' \
--header 'Authorization: Bearer YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data '{
"model": "langsearch-reranker-v1",
"query": "Tell me the key points of Alibaba's 2024 ESG report",
"top_n": 2,
"return_documents": true,
"documents": [
"Alibaba Group released its 2024 Environmental, Social, and Governance (ESG) report, detailing progress made over the past year across various ESG areas. The report shows that Alibaba has steadily advanced in carbon reduction, with the group's net carbon emissions and carbon intensity in the value chain continuing to decline. The group also continues to leverage digital technology and platform capabilities to support accessible development, healthcare, elderly-friendly services, and the growth of small and micro enterprises. Alibaba Group CEO Wu Yongming noted in the report: 'The core of ESG is to become a better company. Over the past 25 years, ESG-related initiatives have formed the foundation of Alibaba, which is as important as the commercial value we create. While focusing on the dual business strategies of 'customer-first' and 'AI-driven,' we also adhere to ESG as one of Alibaba's foundational strategies. Alibaba has made substantial progress in reducing carbon emissions.'",
"The core of ESG is to become a better company. This year marks Alibaba's 25th anniversary. Over the past 25 years, Alibaba has consistently upheld its mission of 'making it easy to do business anywhere,' supporting the prosperity of domestic e-commerce; maintaining an open ecosystem, with the Magic community open-sourcing over 3,800 models; supporting rural revitalization by dispatching 29 rural envoys to 27 counties; promoting platform carbon reduction by pioneering the Scope 3+ carbon reduction initiative; and engaging in employee welfare through the '3 Hours per Person' program, making small but meaningful changes... These actions form the foundation of Alibaba, which is as important as creating commercial value. I hope every Alibaba employee learns to make difficult but right choices, staying forward-looking, kind, and pragmatic. A better Alibaba is worth our collective effort. Alibaba's mission, unchanged for over 20 years, is to make it easy to do business anywhere. Today, this mission takes on new significance in this era."
]
}'
```
b. Python
```python
import requests
import json
url = "https://api.langsearch.com/v1/rerank"
payload = json.dumps({
"model": "langsearch-reranker-v1",
"query": "Tell me the key points of Alibaba's 2024 ESG report",
"top_n": 2,
"return_documents": True,
"documents": [
"Alibaba Group released its 2024 Environmental, Social, and Governance (ESG) report, detailing progress made over the past year across various ESG areas. The report shows that Alibaba has steadily advanced in carbon reduction, with the group's net carbon emissions and carbon intensity in the value chain continuing to decline. The group also continues to leverage digital technology and platform capabilities to support accessible development, healthcare, elderly-friendly services, and the growth of small and micro enterprises. Alibaba Group CEO Wu Yongming noted in the report: 'The core of ESG is to become a better company. Over the past 25 years, ESG-related initiatives have formed the foundation of Alibaba, which is as important as the commercial value we create. While focusing on the dual business strategies of 'customer-first' and 'AI-driven,' we also adhere to ESG as one of Alibaba's foundational strategies. Alibaba has made substantial progress in reducing carbon emissions.'",
"The core of ESG is to become a better company. This year marks Alibaba's 25th anniversary. Over the past 25 years, Alibaba has consistently upheld its mission of 'making it easy to do business anywhere,' supporting the prosperity of domestic e-commerce; maintaining an open ecosystem, with the Magic community open-sourcing over 3,800 models; supporting rural revitalization by dispatching 29 rural envoys to 27 counties; promoting platform carbon reduction by pioneering the Scope 3+ carbon reduction initiative; and engaging in employee welfare through the '3 Hours per Person' program, making small but meaningful changes... These actions form the foundation of Alibaba, which is as important as creating commercial value. I hope every Alibaba employee learns to make difficult but right choices, staying forward-looking, kind, and pragmatic. A better Alibaba is worth our collective effort. Alibaba's mission, unchanged for over 20 years, is to make it easy to do business anywhere. Today, this mission takes on new significance in this era."
]
})
headers = {
'Authorization': 'Bearer YOUR-API-KEY',
'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
```
Core Functions of LangSearch
Free web search API
Free re-ranking API
LangSearch database - Hybrid search database
Usage Scenarios of LangSearch
No usage scenarios available, please contact customer service for details
Common Questions about LangSearch
No common questions available, please contact customer service for details





















