The ReadPageBasic API parses static web pages. This topic describes its features, parameters, return values, and examples.
API
API functionality:
Fetches HTML and parses static webpage content.
If a target URL returns a Content-Type of
application/pdf, the system automatically triggers PDF parsing for files up to 20 MB. This action counts as an additional valid request.
API
Request parameters
Parameter | Value | Default | Description | |
url: string | Required | The target URL for parsing. Must start with | ||
pageTimeout: int | [0, 60000] | 8000 | The timeout for reading the URL, in milliseconds. | |
formats: array | ['rawHtml', 'html', 'markdown', 'text'] | ['html', 'markdown', 'text'] | The output formats for the parsed result.
| |
maxAge: int | [0, ∞] | 1296000 | The maximum cache duration, in seconds.
| |
readability: map | readabilityMode: string | "none", "normal", "article" | none |
|
excludeAllImages: bool | false, true | false | Excludes all images when set to true. | |
excludeAllLinks: bool | false, true | false | Excludes all links when set to true. | |
excludedTags: array | [] | [] | An array of HTML tag names to exclude. For example:
| |
Response parameters
Parameter | Nullable | Description | Example | ||
requestId: string | No | The request ID. Provide this ID when you contact support for troubleshooting. | |||
errorCode: string | Yes | The error code. | |||
errorMessage: string | Yes | The error message. | |||
data: map | statusCode: int | No |
| ||
errorMessage: string | Yes | The error message returned for the target URL. | |||
rawHtml: string | Yes | The original HTML of the target URL. | |||
html: string | Yes | The readable HTML content of the target URL. | |||
text: string | Yes | The plain text content of the target URL. | |||
markdown: string | Yes | The Markdown content of the target URL. | |||
links: map | internal: map | Yes | Internal links found on the target URL.
| { "href": "https://www.alibabagroup.com/cn/global/home", "text": "Alibaba Group", "title": "" } | |
external: map | Yes | External links found on the target URL. | |||
media: map | images: map | Yes | Images found on the target URL.
| { "type": "image", "src": "https://img.alicdn.com/tfs/TB1AOdINW6qK1RjSZFmXXX0PFXa-258-258.jpg", "data": "", "alt": "Alibaba Cloud WeChat", "desc": null, "format": "jpg" } | |
audios: map | Yes | Audio files found on the target URL.
| |||
videos: map | Yes | Video files found on the target URL.
| |||
metadata: map | url | No | The target URL. | ||
title | No | The site title. | |||
hostname | Yes | ||||
hostLogo | Yes | The site logo. | |||
pdfParse | Yes | Indicates if a PDF was parsed. | |||
Error codes
HTTP status code | Error code | Description | Solution |
404 | InvalidAccessKeyId.NotFound | The specified AccessKey ID was not found. | Verify that the AccessKey and Secret are correct. |
403 | Retrieval.NotActivate | The AI search service is not activated. | To activate the service, place an order or contact your account manager. |
403 | Retrieval.NotAuthorised | Grant the AliyunIQSFullAccess permission to the RAM user. | The RAM user is not authorized. For instructions, see Create a RAM user and grant permissions. |
429 | Retrieval.Throttling.User | The request was blocked by user flow control. | The user flow control limit was exceeded. |
429 | Retrieval.TestUserQueryPerDayExceeded | The query limit for the trial has been exceeded. | The trial is limited to 1,000 queries per 30 days. |
403 | ReadPage.SecurityRestrict | The request was blocked by security restrictions on the target site, such as a | |
400 | ReadPage.RequestTimeout | The request timed out. | Consider increasing the |
429 | ReadPage.RateLimitByDomain | The rate limit for the domain has been reached. | |
500 | ReadPage.UnknownError | An unknown server error occurred. |
API call
Example
Python SDK
Prerequisites
Python 3.8 or a later version is required.
Install the SDK
pip install alibabacloud_iqs20241111==1.6.0Sample code
import json
from Tea.exceptions import TeaException
from alibabacloud_iqs20241111 import models
from alibabacloud_iqs20241111.client import Client
from alibabacloud_tea_openapi import models as open_api_models
class Sample:
def __init__(self):
pass
@staticmethod
def create_client() -> Client:
config = open_api_models.Config(
# TODO: Replace with your AK/SK. For security, we recommend loading them from environment variables.
access_key_id='YOUR_ACCESS_KEY',
access_key_secret='YOUR_ACCESS_SECRET'
)
config.endpoint = f'iqs.cn-zhangjiakou.aliyuncs.com'
return Client(config)
@staticmethod
def main() -> None:
client = Sample.create_client()
run_instances_request = models.ReadPageBasicRequest(
body=models.ReadPageBody(
url='http://www.example.com',
max_age=0,
)
)
try:
response = client.read_page_basic(run_instances_request)
print(f"API call succeeded. Request ID: {response.body.request_id}, Result:")
print(f"{json.dumps(response.body.data.to_map(), indent=2)}")
except TeaException as e:
request_id = e.data.get("requestId")
code = e.data.get("errorCode")
message = e.data.get("errorMessage")
print(f"API call failed. Request ID: {request_id}, Code: {code}, Message: {message}")
if __name__ == '__main__':
Sample.main()
Java SDK
Prerequisites
Java 8 or a later version is required.
Maven dependency
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>iqs20241111</artifactId>
<version>1.6.0</version>
</dependency>Sample code
package com.aliyun.iqs.readpage.example;
import com.aliyun.iqs20241111.Client;
import com.aliyun.iqs20241111.models.*;
import com.aliyun.teaopenapi.models.Config;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
public class Example {
public static void main(String[] args) throws Exception {
Client client = initClient();
invoke(client, "http://www.example.com");
}
private static Client initClient() throws Exception {
// TODO: Replace with your AK/SK. For security, we recommend loading them from environment variables.
String accessKeyId = "YOUR_ACCESS_KEY";
String accessKeySecret = "YOUR_ACCESS_SECRET";
Config config = new Config()
.setAccessKeyId(accessKeyId)
.setAccessKeySecret(accessKeySecret);
config.setEndpoint("iqs.cn-zhangjiakou.aliyuncs.com");
return new Client(config);
}
private static void invoke(Client client, String url) {
ReadPageBody input = new ReadPageBody();
input.setUrl(url);
ReadPageBasicRequest request = new ReadPageBasicRequest().setBody(input);
try {
ReadPageBasicResponse response = client.readPageBasic(request);
printOutput(response.getBody());
} catch (Exception e) {
e.printStackTrace();
}
}
private static void printOutput(ReadPageBasicResponseBody output) {
// Create a Gson instance for pretty-printing JSON.
Gson gson = new GsonBuilder()
.setPrettyPrinting()
.disableHtmlEscaping()
.create();
// Print the formatted JSON.
String prettyJson = gson.toJson(output);
System.out.println(prettyJson);
}
}
Go SDK
Prerequisites
Go 1.10.x or a later version is required.
Install the SDK
require (
github.com/alibabacloud-go/iqs-20241111 v1.6.0
)
Sample code
package main
import (
"fmt"
"log"
"os"
openapi "github.com/alibabacloud-go/darabonba-openapi/v2/client"
iqs20241111 "github.com/alibabacloud-go/iqs-20241111/client"
util "github.com/alibabacloud-go/tea-utils/v2/service"
"github.com/alibabacloud-go/tea/tea"
)
const endpointURL = "iqs.cn-zhangjiakou.aliyuncs.com"
func createClient() (*iqs20241111.Client, error) {
// For security, load credentials from environment variables by setting
// the ACCESS_KEY_ID and ACCESS_KEY_SECRET environment variables.
accessKeyID := os.Getenv("ACCESS_KEY_ID")
accessKeySecret := os.Getenv("ACCESS_KEY_SECRET")
if accessKeyID == "" || accessKeySecret == "" {
return nil, fmt.Errorf("environment variables ACCESS_KEY_ID or ACCESS_KEY_SECRET are not set")
}
config := &openapi.Config{
AccessKeyId: tea.String(accessKeyID),
AccessKeySecret: tea.String(accessKeySecret),
Endpoint: tea.String(endpointURL),
}
return iqs20241111.NewClient(config)
}
func runReadPage(client *iqs20241111.Client) error {
body := &iqs20241111.ReadPageBody{
Url: tea.String("http://www.example.com"),
}
request := &iqs20241111.ReadPageBasicRequest{
body,
}
runtime := &util.RuntimeOptions{}
resp, err := client.ReadPageBasicWithOptions(request, nil, runtime)
if err != nil {
return fmt.Errorf("ReadPageBasic failed: %w", err)
}
fmt.Printf("RequestId: %s, Response: \n%s\n", *resp.Body.RequestId, tea.StringValue(tea.Stringify(resp.Body)))
return nil
}
func main() {
client, err := createClient()
if err != nil {
log.Fatalf("Failed to create client: %v", err)
}
if err := runReadPage(client); err != nil {
log.Fatalf("Error calling ReadPageBasic: %v", err)
}
}
HTTP call
Request parameters (RequestBody)
curl --location 'https://cloud-iqs.aliyuncs.com/readpage/basic' \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <YOUR-IQS-API-KEY>' \
--data '{
"url": "https://help.aliyun.com/document_detail/2837301.html?spm=a2c4g.11186623.help-menu-2837261.d_0_0_0.59ed3e95CppOt2&scm=20140722.H_2837301._.OR_help-T_cn~zh-V_1",
"maxAge": 0
}'Response
{
"requestId": "05c1eb5f-9af0-4eb1-bed3-ea1d54dc1c7f",
"message": null,
"data": {
"statusCode": 200,
"errorMessage": null,
"rawHtml": null,
"html": "<html>\n<head>\n <title>What is general search for Information Query Service (IQS)? | Information Query Service (IQS) | Alibaba Cloud Help Center</title>\n </head>\n\n<body>\n<header><div><div><div><header><a href=\"https://www.aliyun.com/\"></a><div><div><nav><a href=\"https://www.aliyun.com/product/tongyi\">Large Models</a><a href=\"https://www.aliyun.com/product/list\">Products</a><a href=\"https://www.aliyun.com/solution/tech-solution/\">Solutions</a><a href=\"https://www.aliyun.com/resources\">Documentation & Community</a><a href=\"https://www.aliyun.com/benefit\">Benefits</a><a href=\"https://www.aliyun.com/price\">Pricing</a><a href=\"https://market.aliyun.com/\">Marketplace</a><a href=\"https://partner.aliyun.com/management/v2\">Partners</a><a href=\"https://www.aliyun.com/service\">Support & Services</a><a href=\"https://www.aliyun.com/about\">About Alibaba Cloud</a></nav></div></div>\n<div><div>\n<div><div><div><div><button><div>View all search results for \"</div>\n<div>\"</div></button></div></div></div></div>\n<div><a href=\"https://www.aliyun.com/search?from=h5-global-nav-search\"></a></div>\n</div></div>\n<div>\n<a href=\"https://www.aliyun.com/ai-assistant?displayMode=side\"><div><div><div>AI Assistant</div></div></div></a><a href=\"https://beian.aliyun.com/\">ICP Filing</a><a href=\"https://home.console.aliyun.com/home/dashboard/ProductAndService\">Console</a>\n</div></header></div></div></div></header>\n\n <div><div>\n<div><div><div>\n<div><a href=\"/\">Documentation Home</a></div>\n<div><div><div><div><span>Search documentation</span></div></div></div></div>\n</div></div></div>\n<div><div>\n<nav><div>\n<div><div>\n<div><div>\n<a href=\"/product/2837261.html\">Information Query Service</a>\n</div></div>\n<div><div><div><input></div></div></div>\n<div><ul>\n <li>\n<a href=\"/document_detail/2837300.html\">\n<span>Product Overview</span>\n</a>\n</li>\n <li>\n<a href=\"/document_detail/2870227.html\">\n<span>Quick Start</span>\n</a>\n</li>\n <li>\n<a href=\"/document_detail/2870252.html\">\n<span>User Guide</span>\n</a>\n</li>\n <li>\n<a href=\"/document_detail/2837265.html\">\n<span>Tutorials</span>\n</a>\n</li>\n <li>\n<a href=\"/document_detail/2837275.html\">\n<span>Developer Guide</span>\n</a>\n</li>\n <li>\n<a href=\"/document_detail/2870241.html\">\n<span>Support</span>\n</a>\n</li>\n</ul></div>\n</div></div>\n<div><div><div><div><div><input></div></div></div></div></div>\n</div></nav><main><div><section><header><div><div><div>\n<a href=\"/\">Home</a>\n <a href=\"/product/2837261.html\">Information Query Service</a>\n <a href=\"/document_detail/2837300.html\">Product Overview</a>\n <a href=\"/document_detail/2880836.html\">Introduction</a>\n <span>What is general search for Information Query Service (IQS)?</span>\n</div></div></div>\n<div>\n<h1>What is general search for Information Query Service (IQS)?</h1>\n<div>\n<div><span>Last updated:</span></div>\n<div>\n<div><div><a href=\"https://www.aliyun.com/product/iqs\">Product Details</a></div></div>\n<div><a href=\"/my_favorites.html\">My Favorites</a></div>\n</div>\n</div>\n</div></header><div>\n<div><div>\n<main><p>The general search feature of Alibaba Cloud Information Query Service (IQS) provides real-time information retrieval for a wide range of applications.</p>\n<div>\n<section><h2>Use cases</h2>\n<ul>\n<li><p><b>Intelligent customer service:</b> Enhances Q&A capabilities by dynamically updating the knowledge base to improve service efficiency and user experience.</p></li>\n<li><p><b>Intelligent assistants:</b> Provides real-time information and Q&A services for applications such as intelligent voice assistants and search engines, enhancing user experience and application value.</p></li>\n<li><p><b>Content creation:</b> Supplies content creators, such as news outlets and social media influencers, with trending topics and creative suggestions to boost content creation efficiency and quality.</p></li>\n<li><p><b>Data analysis:</b> Delivers real-time data support for applications in market research and public opinion monitoring, improving analytical efficiency and insights.</p></li>\n</ul></section><section><h2>Features</h2>\n<table><tbody>\n<tr>\n<td><p><b>Feature module</b></p></td>\n<td><p><b>Feature name</b></p></td>\n<td><p><b>Description</b></p></td>\n</tr>\n<tr>\n<td><p><b>Real-time search capability</b></p></td>\n<td><p>Real-time data retrieval</p></td>\n<td><p>Connects to the Quark real-time data source to ensure up-to-date search results.</p></td>\n</tr>\n<tr>\n<td><p><b>High-frequency search capability</b></p></td>\n<td><p>High-frequency search cards</p></td>\n<td><p>Provides high-frequency search cards for general search data to quickly return answers to common questions, improving search efficiency.</p></td>\n</tr>\n<tr>\n<td><p><b>Search optimization technology</b></p></td>\n<td><p>Dynamic query parameter adjustment</p></td>\n<td><p>Dynamically adjusts parameters, such as time range and data source weight, based on user search intent to improve result relevance.</p></td>\n</tr>\n<tr>\n<td><p><b>Data integration technology</b></p></td>\n<td><p>Multi-source search integration</p></td>\n<td><p>Integrates data sources from various vertical domains to meet diverse information needs.</p></td>\n</tr>\n<tr>\n<td><p><b>Result processing capability</b></p></td>\n<td><p>Model-based reranking</p></td>\n<td><p>Integrates with large models for advanced result processing, such as reranking and summarization.</p></td>\n</tr>\n<tr>\n<td><p>Search result summarization</p></td>\n<td><p>Provides the original content for an immediate initial response while the summarized version is being generated.</p></td>\n</tr>\n<tr>\n<td><p><b>Operations and maintenance</b></p></td>\n<td><p>Data monitoring</p></td>\n<td><p>Monitors metrics such as search volume, popularity, and coverage to provide insights into data status.</p></td>\n</tr>\n<tr>\n<td><p>Performance monitoring</p></td>\n<td><p>Monitors metrics such as response time, throughput, and error rate to promptly identify and resolve issues.</p></td>\n</tr>\n</tbody></table></section><section><h2><b>Benefits</b></h2>\n<ul>\n<li><p><b>Enhance real-time Q&A for large models:</b> Achieve millisecond-level response times to quickly retrieve the latest information.</p></li>\n<li><p><b>Improve Q&A quality for large models:</b> Delivers high-quality Q&A results and supports multi-strategy correction and inference optimization to significantly boost overall performance.</p></li>\n<li><p><b>Integrate multi-dimensional data sources:</b> Integrates data sources from vertical domains and supports custom data sources, algorithms, and models to meet personalized needs.</p></li>\n<li>\n<p><b>Accelerate response speeds for large model applications:</b> Features an innovative phased processing mechanism:</p>\n<ul>\n<li><p>Phase 1: Outputs original content quickly to ensure the fastest initial response.</p></li>\n<li><p>Phase 2: Outputs optimized and reranked results.</p></li>\n</ul>\n</li>\n</ul></section>\n</div></main>\n\n</div></div>\n<div><div>\n<span><a href=\"/document_detail/2880836.html\"></a></span><span><a href=\"/document_detail/2853329.html\">Next: What is proximity search for Information Query Service (IQS)?</a></span>\n</div></div>\n</div>\n<div><div>Was this article helpful?</div></div></section></div></main>\n</div></div>\n</div></div>\n <footer><div><div><footer><div>\n<div>\n<nav><section><h3>Why Alibaba Cloud</h3>\n<a href=\"https://www.aliyun.com/about/what-is-cloud-computing\">What Is Cloud Computing</a><a href=\"https://infrastructure.aliyun.com/\">Global Infrastructure</a><a href=\"https://www.aliyun.com/why-us/leading-technology\">Leading Technology</a><a href=\"https://www.aliyun.com/why-us/reliability\">Stability and Reliability</a><a href=\"https://www.aliyun.com/why-us/security-compliance\">Security and Compliance</a><a href=\"https://www.aliyun.com/analyst-reports\">Analyst Reports</a></section><section><h3>Products and Pricing</h3>\n<a href=\"https://www.aliyun.com/product/list\">All Products</a><a href=\"https://free.aliyun.com/\">Free Trial</a><a href=\"https://www.aliyun.com/product/news/\">Product Updates</a><a href=\"https://www.aliyun.com/price/detail\">Product Pricing</a><a href=\"https://www.aliyun.com/price/cpq/list\">Pricing Calculator</a><a href=\"https://www.aliyun.com/price/cost-management\">Cloud Cost Management</a></section><section><h3>Solutions</h3>\n<a href=\"https://www.aliyun.com/solution/tech-solution\">Technical Solutions</a></section><section><h3>Documentation & Community</h3>\n<a href=\"https://help.aliyun.com/\">Documentation</a><a href=\"https://developer.aliyun.com/\">Developer Community</a><a href=\"https://tianchi.aliyun.com/\">Tianchi Competitions</a><a href=\"https://edu.aliyun.com/\">Training and Certification</a></section><section><h3>Benefits</h3>\n<a href=\"https://free.aliyun.com/\">Free Trial</a><a href=\"https://www.aliyun.com/solution/free\">Solution Free Trials</a><a href=\"https://university.aliyun.com/\">University Program</a><a href=\"https://www.aliyun.com/benefit/form/index\">500 Million Computing Power Subsidy</a><a href=\"https://dashi.aliyun.com/?ambRef=shouYeDaoHang2&pageCode=yunparterIndex\">Referral Program</a></section><section><h3>Support & Services</h3>\n<a href=\"https://www.aliyun.com/service\">Basic Services</a><a href=\"https://www.aliyun.com/service/supportplans\">Enterprise Value-Added Services</a><a href=\"https://www.aliyun.com/service/devopsimpl/devopsimpl_cloudmigration_public_cn\">Cloud Migration Services</a><a href=\"https://www.aliyun.com/notice/\">Announcements</a><a href=\"https://status.aliyun.com/\">Service Health</a><a href=\"https://security.aliyun.com/trust\">Trust Center</a></section></nav><article><h3>Follow Alibaba Cloud</h3>\n<p>Follow the Alibaba Cloud official account or download the Alibaba Cloud App to stay updated on cloud news and manage your cloud services anytime, anywhere.</p>\n<img alt=\"Alibaba Cloud App\" src=\"https://img.alicdn.com/imgextra/i4/O1CN01XLesV31fkf7pYNATb_!!6000000004045-2-tps-400-400.png\"><img alt=\"Alibaba Cloud WeChat\" src=\"https://img.alicdn.com/tfs/TB1AOdINW6qK1RjSZFmXXX0PFXa-258-258.jpg\"><p>Contact Us: 400-801-3260</p></article>\n</div>\n<div>\n<a href=\"https://help.aliyun.com/product/67275.html\">Legal</a><a href=\"https://terms.alicdn.com/legal-agreement/terms/platform_service/20220906101446934/20220906101446934.html\">Cookie Policy</a><a href=\"https://aliyun.jubao.alibaba.com/\">Integrity Report</a><a href=\"https://report.aliyun.com/\">Security Report</a><a href=\"https://www.aliyun.com/contact\">Contact Us</a><a href=\"https://careers.aliyun.com/\">Careers</a>\n</div>\n<section><h3>Related Links</h3>\n<a href=\"https://www.alibabagroup.com/cn/global/home\">Alibaba Group</a><a href=\"https://www.taobao.com/\">Taobao</a><a href=\"https://www.tmall.com/\">Tmall</a><a href=\"https://www.aliexpress.com/\">AliExpress</a><a href=\"https://www.alibaba.com/\">Alibaba.com</a><a href=\"https://www.1688.com/\">1688.com</a><a href=\"https://www.alimama.com/index.htm\">Alimama</a><a href=\"https://www.fliggy.com/\">Fliggy</a><a href=\"https://www.aliyun.com/\">Alibaba Cloud</a><a href=\"https://www.alios.cn/\">AliOS</a><a href=\"https://wanwang.aliyun.com/\">Wanwang</a><a href=\"https://mobile.amap.com/\">Amap</a><a href=\"https://www.uc.cn/\">UC</a><a href=\"https://www.umeng.com/\">Umeng</a><a href=\"https://www.youku.com/\">Youku</a><a href=\"https://www.dingtalk.com/\">DingTalk</a><a href=\"https://www.alipay.com/\">Alipay</a><a href=\"https://damo.alibaba.com/\">DAMO Academy</a><a href=\"https://world.taobao.com/\">Taobao Global</a><a href=\"https://www.aliyundrive.com/\">Aliyun Drive</a><a href=\"https://www.ele.me/\">Ele.me</a></section><p>© 2009-2025 Alibaba Cloud All rights reserved. Value-Added Telecommunications Business License: <a href=\"http://beian.miit.gov.cn/\">Zhe B2-20080101</a> Domain Name Registration Service Provider License: <a href=\"https://domain.miit.gov.cn/%E5%9F%9F%E5%90%8D%E6%B3%A8%E5%86%8C%E6%9C%8D%E5%8A%A1%E6%9C%BA%E6%9E%84/%E4%BA%92%E8%81%94%E7%BD%91%E5%9F%9F%E5%90%8D/%E9%98%BF%E9%87%8C%E4%BA%91%E8%AE%A1%E7%AE%97%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8%20\">Zhe D3-20210002</a></p>\n<p><a href=\"https://zzlz.gsxt.gov.cn/businessCheck/verifKey.do?showType=p&serial=91330106673959654P-SAIC_SHOW_10000091330106673959654P1710919400712&signData=MEUCIQDEkCd8cK7%2Fyqe6BNMWvoMPtAnsgKa7FZetfPkjZMsvhAIgOX1G9YC6FKyndE7o7hL0KaBVn4f%20V%2Fiof3iAgpsV09o%3D\"><img src=\"//gw.alicdn.com/tfs/TB1GxwdSXXXXXa.aXXXXXXXXXXX-65-70.gif\" alt=\"\"></a><a href=\"http://www.beian.gov.cn/portal/registerSystemInfo\"><img src=\"//img.alicdn.com/tfs/TB1..50QpXXXXX7XpXXXXXXXXXX-40-40.png\" alt=\"Zhejiang Public Security ICP Filing No. 33010602009975\"><span>Zhejiang Public Security ICP Filing No. 33010602009975</span></a><a href=\"https://beian.miit.gov.cn/\"><span>Zhe B2-20080101-4</span></a></p>\n</div></footer></div></div></footer>\n\n\n\n</body>\n</html>",
"text": "Large Models Products Solutions Documentation & Community Benefits Pricing Marketplace Partners Support & Services About Alibaba Cloud\nView all search results for \"\n\"\nAI Assistant\nICP Filing Console\nDocumentation Home\nSearch documentation\nInformation Query Service\n * Product Overview\n * Quick Start\n * User Guide\n * Tutorials\n * Developer Guide\n * Support\n\n\nHome Information Query Service Product Overview Introduction What is general search for Information Query Service (IQS)?\n# What is general search for Information Query Service (IQS)?\nLast updated:\nProduct Details\nMy Favorites\nThe general search feature of Alibaba Cloud Information Query Service (IQS) provides real-time information retrieval for a wide range of applications.\n## Use cases\n * Intelligent customer service: Enhances Q&A capabilities by dynamically updating the knowledge base to improve service efficiency and user experience.\n * Intelligent assistants: Provides real-time information and Q&A services for applications such as intelligent voice assistants and search engines, enhancing user experience and application value.\n * Content creation: Supplies content creators, such as news outlets and social media influencers, with trending topics and creative suggestions to boost content creation efficiency and quality.\n * Data analysis: Delivers real-time data support for applications in market research and public opinion monitoring, improving analytical efficiency and insights.\n\n\n## Features\nFeature module | Feature name | Description \n---|---|--- \nReal-time search capability | Real-time data retrieval | Connects to the Quark real-time data source to ensure up-to-date search results. \nHigh-frequency search capability | High-frequency search cards | Provides high-frequency search cards for general search data to quickly return answers to common questions, improving search efficiency. \nSearch optimization technology | Dynamic query parameter adjustment | Dynamically adjusts parameters, such as time range and data source weight, based on user search intent to improve result relevance. \nData integration technology | Multi-source search integration | Integrates data sources from various vertical domains to meet diverse information needs. \nResult processing capability | Model-based reranking | Integrates with large models for advanced result processing, such as reranking and summarization. \nSearch result summarization | Provides the original content for an immediate initial response while the summarized version is being generated. \nOperations and maintenance | Data monitoring | Monitors metrics such as search volume, popularity, and coverage to provide insights into data status. \nPerformance monitoring | Monitors metrics such as response time, throughput, and error rate to promptly identify and resolve issues. \n## Benefits\n * Enhance real-time Q&A for large models: Achieve millisecond-level response times to quickly retrieve the latest information.\n * Improve Q&A quality for large models: Delivers high-quality Q&A results and supports multi-strategy correction and inference optimization to significantly boost overall performance.\n * Integrate multi-dimensional data sources: Integrates data sources from vertical domains and supports custom data sources, algorithms, and models to meet personalized needs.\n * Accelerate response speeds for large model applications: Features an innovative phased processing mechanism:\n * Phase 1: Outputs original content quickly to ensure the fastest initial response.\n * Phase 2: Outputs optimized and reranked results.\n\n\nNext: What is proximity search for Information Query Service (IQS)?\nWas this article helpful?\n### Why Alibaba Cloud\nWhat Is Cloud Computing Global Infrastructure Leading Technology Stability and Reliability Security and Compliance Analyst Reports\n### Products and Pricing\nAll Products Free Trial Product Updates Product Pricing Pricing Calculator Cloud Cost Management\n### Solutions\nTechnical Solutions\n### Documentation & Community\nDocumentation Developer Community Tianchi Competitions Training and Certification\n### Benefits\nFree Trial Solution Free Trials University Program 500 Million Computing Power Subsidy Referral Program\n### Support & Services\nBasic Services Enterprise Value-Added Services Cloud Migration Services Announcements Service Health Trust Center\n### Follow Alibaba Cloud\nFollow the Alibaba Cloud official account or download the Alibaba Cloud App to stay updated on cloud news and manage your cloud services anytime, anywhere.\nContact Us: 400-801-3260\nLegal Cookie Policy Integrity Report Security Report Contact Us Careers\n### Related Links\nAlibaba Group Taobao Tmall AliExpress Alibaba.com 1688.com Alimama Fliggy Alibaba Cloud AliOS Wanwang Amap UC Umeng Youku DingTalk Alipay DAMO Academy Taobao Global Aliyun Drive Ele.me\n© 2009-2025 Alibaba Cloud All rights reserved. Value-Added Telecommunications Business License: Zhe B2-20080101 Domain Name Registration Service Provider License: Zhe D3-20210002\nZhejiang Public Security ICP Filing No. 33010602009975 Zhe B2-20080101-4\n",
"markdown": "[](https://www.aliyun.com/)\n[Large Models](https://www.aliyun.com/product/tongyi)[Products](https://www.aliyun.com/product/list)[Solutions](https://www.aliyun.com/solution/tech-solution/)[Documentation & Community](https://www.aliyun.com/resources)[Benefits](https://www.aliyun.com/benefit)[Pricing](https://www.aliyun.com/price)[Marketplace](https://market.aliyun.com/)[Partners](https://partner.aliyun.com/management/v2)[Support & Services](https://www.aliyun.com/service)[About Alibaba Cloud](https://www.aliyun.com/about)\nView all search results for \"\n\"\n[](https://www.aliyun.com/search?from=h5-global-nav-search)\n[AI Assistant](https://www.aliyun.com/ai-assistant?displayMode=side)[ICP Filing](https://beian.aliyun.com/)[Console](https://home.console.aliyun.com/home/dashboard/ProductAndService)\n[Documentation Home](https://help.aliyun.com/)\nSearch documentation\n[Information Query Service](https://help.aliyun.com/product/2837261.html)\n * [ Product Overview ](https://help.aliyun.com/document_detail/2837300.html)\n * [ Quick Start ](https://help.aliyun.com/document_detail/2870227.html)\n * [ User Guide ](https://help.aliyun.com/document_detail/2870252.html)\n * [ Tutorials ](https://help.aliyun.com/document_detail/2837265.html)\n * [ Developer Guide ](https://help.aliyun.com/document_detail/2837275.html)\n * [ Support ](https://help.aliyun.com/document_detail/2870241.html)\n\n\n[Home](https://help.aliyun.com/) [Information Query Service](https://help.aliyun.com/product/2837261.html) [Product Overview](https://help.aliyun.com/document_detail/2837300.html) [Introduction](https://help.aliyun.com/document_detail/2880836.html) What is general search for Information Query Service (IQS)?\n# What is general search for Information Query Service (IQS)?\nLast updated:\n[Product Details](https://www.aliyun.com/product/iqs)\n[My Favorites](https://help.aliyun.com/my_favorites.html)\nThe general search feature of Alibaba Cloud Information Query Service (IQS) provides real-time information retrieval for a wide range of applications.\n## Use cases\n * **Intelligent customer service:** Enhances Q&A capabilities by dynamically updating the knowledge base to improve service efficiency and user experience.\n * **Intelligent assistants:** Provides real-time information and Q&A services for applications such as intelligent voice assistants and search engines, enhancing user experience and application value.\n * **Content creation:** Supplies content creators, such as news outlets and social media influencers, with trending topics and creative suggestions to boost content creation efficiency and quality.\n * **Data analysis:** Delivers real-time data support for applications in market research and public opinion monitoring, improving analytical efficiency and insights.\n\n\n## Features\n**Feature module** | **Feature name** | **Description** \n---|---|--- \n**Real-time search capability** | Real-time data retrieval | Connects to the Quark real-time data source to ensure up-to-date search results. \n**High-frequency search capability** | High-frequency search cards | Provides high-frequency search cards for general search data to quickly return answers to common questions, improving search efficiency. \n**Search optimization technology** | Dynamic query parameter adjustment | Dynamically adjusts parameters, such as time range and data source weight, based on user search intent to improve result relevance. \n**Data integration technology** | Multi-source search integration | Integrates data sources from various vertical domains to meet diverse information needs. \n**Result processing capability** | Model-based reranking | Integrates with large models for advanced result processing, such as reranking and summarization. \nSearch result summarization | Provides the original content for an immediate initial response while the summarized version is being generated. \n**Operations and maintenance** | Data monitoring | Monitors metrics such as search volume, popularity, and coverage to provide insights into data status. \nPerformance monitoring | Monitors metrics such as response time, throughput, and error rate to promptly identify and resolve issues. \n## **Benefits**\n * **Enhance real-time Q&A for large models:** Achieve millisecond-level response times to quickly retrieve the latest information.\n * **Improve Q&A quality for large models:** Delivers high-quality Q&A results and supports multi-strategy correction and inference optimization to significantly boost overall performance.\n * **Integrate multi-dimensional data sources:** Integrates data sources from vertical domains and supports custom data sources, algorithms, and models to meet personalized needs.\n * **Accelerate response speeds for large model applications:** Features an innovative phased processing mechanism:\n * Phase 1: Outputs original content quickly to ensure the fastest initial response.\n * Phase 2: Outputs optimized and reranked results.\n\n\n[](https://help.aliyun.com/document_detail/2880836.html)[Next: What is proximity search for Information Query Service (IQS)?](https://help.aliyun.com/document_detail/2853329.html)\nWas this article helpful?\n### Why Alibaba Cloud\n[What Is Cloud Computing](https://www.aliyun.com/about/what-is-cloud-computing)[Global Infrastructure](https://infrastructure.aliyun.com/)[Leading Technology](https://www.aliyun.com/why-us/leading-technology)[Stability and Reliability](https://www.aliyun.com/why-us/reliability)[Security and Compliance](https://www.aliyun.com/why-us/security-compliance)[Analyst Reports](https://www.aliyun.com/analyst-reports)\n### Products and Pricing\n[All Products](https://www.aliyun.com/product/list)[Free Trial](https://free.aliyun.com/)[Product Updates](https://www.aliyun.com/product/news/)[Product Pricing](https://www.aliyun.com/price/detail)[Pricing Calculator](https://www.aliyun.com/price/cpq/list)[Cloud Cost Management](https://www.aliyun.com/price/cost-management)\n### Solutions\n[Technical Solutions](https://www.aliyun.com/solution/tech-solution)\n### Documentation & Community\n[Documentation](https://help.aliyun.com/)[Developer Community](https://developer.aliyun.com/)[Tianchi Competitions](https://tianchi.aliyun.com/)[Training and Certification](https://edu.aliyun.com/)\n### Benefits\n[Free Trial](https://free.aliyun.com/)[Solution Free Trials](https://www.aliyun.com/solution/free)[University Program](https://university.aliyun.com/)[500 Million Computing Power Subsidy](https://www.aliyun.com/benefit/form/index)[Referral Program](https://dashi.aliyun.com/?ambRef=shouYeDaoHang2&pageCode=yunparterIndex)\n### Support & Services\n[Basic Services](https://www.aliyun.com/service)[Enterprise Value-Added Services](https://www.aliyun.com/service/supportplans)[Cloud Migration Services](https://www.aliyun.com/service/devopsimpl/devopsimpl_cloudmigration_public_cn)[Announcements](https://www.aliyun.com/notice/)[Service Health](https://status.aliyun.com/)[Trust Center](https://security.aliyun.com/trust)\n### Follow Alibaba Cloud\nFollow the Alibaba Cloud official account or download the Alibaba Cloud App to stay updated on cloud news and manage your cloud services anytime, anywhere.\n\nContact Us: 400-801-3260\n[Legal](https://help.aliyun.com/product/67275.html)[Cookie Policy](https://terms.alicdn.com/legal-agreement/terms/platform_service/20220906101446934/20220906101446934.html)[Integrity Report](https://aliyun.jubao.alibaba.com/)[Security Report](https://report.aliyun.com/)[Contact Us](https://www.aliyun.com/contact)[Careers](https://careers.aliyun.com/)\n### Related Links\n[Alibaba Group](https://www.alibabagroup.com/cn/global/home)[Taobao](https://www.taobao.com/)[Tmall](https://www.tmall.com/)[AliExpress](https://www.aliexpress.com/)[Alibaba.com](https://www.alibaba.com/)[1688.com](https://www.1688.com/)[Alimama](https://www.alimama.com/index.htm)[Fliggy](https://www.fliggy.com/)[Alibaba Cloud](https://www.aliyun.com/)[AliOS](https://www.alios.cn/)[Wanwang](https://wanwang.aliyun.com/)[Amap](https://mobile.amap.com/)[UC](https://www.uc.cn/)[Umeng](https://www.umeng.com/)[Youku](https://www.youku.com/)[DingTalk](https://www.dingtalk.com/)[Alipay](https://www.alipay.com/)[DAMO Academy](https://damo.alibaba.com/)[Taobao Global](https://world.taobao.com/)[Aliyun Drive](https://www.aliyundrive.com/)[Ele.me](https://www.ele.me/)\n© 2009-2025 Alibaba Cloud All rights reserved. Value-Added Telecommunications Business License: [Zhe B2-20080101](http://beian.miit.gov.cn/) Domain Name Registration Service Provider License: [Zhe D3-20210002](https://domain.miit.gov.cn/%E5%9F%9F%E5%90%8D%E6%B3%A8%E5%86%8C%E6%9C%8D%E5%8A%A1%E6%9C%BA%E6%9E%84/%E4%BA%92%E8%81%94%E7%BD%91%E5%9F%9F%E5%90%8D/%E9%98%BF%E9%87%8C%E4%BA%91%E8%AE%A1%E7%AE%97%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8%20)\n[](https://zzlz.gsxt.gov.cn/businessCheck/verifKey.do?showType=p&serial=91330106673959654P-SAIC_SHOW_10000091330106673959654P1710919400712&signData=MEUCIQDEkCd8cK7%2Fyqe6BNMWvoMPtAnsgKa7FZetfPkjZMsvhAIgOX1G9YC6FKyndE7o7hL0KaBVn4f%20V%2Fiof3iAgpsV09o%3D)[Zhejiang Public Security ICP Filing No. 33010602009975](http://www.beian.gov.cn/portal/registerSystemInfo)[Zhe B2-20080101-4](https://beian.miit.gov.cn/)\n",
"links": {
"internal": [
{
"href": "https://www.aliyun.com/",
"text": "",
"title": ""
},
{
"href": "https://www.aliyun.com/product/tongyi",
"text": "Large Models",
"title": ""
},
{
"href": "https://www.aliyun.com/product/list",
"text": "Products",
"title": ""
},
{
"href": "https://www.aliyun.com/solution/tech-solution/",
"text": "Solutions",
"title": ""
},
{
"href": "https://www.aliyun.com/resources",
"text": "Documentation & Community",
"title": ""
},
{
"href": "https://www.aliyun.com/benefit",
"text": "Benefits",
"title": ""
},
{
"href": "https://www.aliyun.com/price",
"text": "Pricing",
"title": ""
},
{
"href": "https://market.aliyun.com/",
"text": "Marketplace",
"title": ""
},
{
"href": "https://partner.aliyun.com/management/v2",
"text": "Partners",
"title": ""
},
{
"href": "https://www.aliyun.com/service",
"text": "Support & Services",
"title": ""
},
{
"href": "https://www.aliyun.com/about",
"text": "About Alibaba Cloud",
"title": ""
},
{
"href": "https://www.aliyun.com/search?from=h5-global-nav-search",
"text": "",
"title": ""
},
{
"href": "https://www.aliyun.com/ai-assistant?displayMode=side",
"text": "AI Assistant",
"title": ""
},
{
"href": "https://beian.aliyun.com/",
"text": "ICP Filing",
"title": ""
},
{
"href": "https://home.console.aliyun.com/home/dashboard/ProductAndService",
"text": "Console",
"title": ""
},
{
"href": "https://help.aliyun.com/",
"text": "Documentation Home",
"title": ""
},
{
"href": "https://help.aliyun.com/product/2837261.html",
"text": "Information Query Service",
"title": ""
},
{
"href": "https://help.aliyun.com/document_detail/2837300.html",
"text": "Product Overview",
"title": ""
},
{
"href": "https://help.aliyun.com/document_detail/2870227.html",
"text": "Quick Start",
"title": ""
},
{
"href": "https://help.aliyun.com/document_detail/2870252.html",
"text": "User Guide",
"title": ""
},
{
"href": "https://help.aliyun.com/document_detail/2837265.html",
"text": "Tutorials",
"title": ""
},
{
"href": "https://help.aliyun.com/document_detail/2837275.html",
"text": "Developer Guide",
"title": ""
},
{
"href": "https://help.aliyun.com/document_detail/2870241.html",
"text": "Support",
"title": ""
},
{
"href": "https://help.aliyun.com/document_detail/2880836.html",
"text": "Introduction",
"title": ""
},
{
"href": "https://www.aliyun.com/product/iqs",
"text": "Product Details",
"title": ""
},
{
"href": "https://help.aliyun.com/my_favorites.html",
"text": "My Favorites",
"title": ""
},
{
"href": "https://help.aliyun.com/document_detail/2853329.html",
"text": "Next: What is proximity search for Information Query Service (IQS)?",
"title": ""
},
{
"href": "https://www.aliyun.com/about/what-is-cloud-computing",
"text": "What Is Cloud Computing",
"title": ""
},
{
"href": "https://infrastructure.aliyun.com/",
"text": "Global Infrastructure",
"title": ""
},
{
"href": "https://www.aliyun.com/why-us/leading-technology",
"text": "Leading Technology",
"title": ""
},
{
"href": "https://www.aliyun.com/why-us/reliability",
"text": "Stability and Reliability",
"title": ""
},
{
"href": "https://www.aliyun.com/why-us/security-compliance",
"text": "Security and Compliance",
"title": ""
},
{
"href": "https://www.aliyun.com/analyst-reports",
"text": "Analyst Reports",
"title": ""
},
{
"href": "https://free.aliyun.com/",
"text": "Free Trial",
"title": ""
},
{
"href": "https://www.aliyun.com/product/news/",
"text": "Product Updates",
"title": ""
},
{
"href": "https://www.aliyun.com/price/detail",
"text": "Product Pricing",
"title": ""
},
{
"href": "https://www.aliyun.com/price/cpq/list",
"text": "Pricing Calculator",
"title": ""
},
{
"href": "https://www.aliyun.com/price/cost-management",
"text": "Cloud Cost Management",
"title": ""
},
{
"href": "https://www.aliyun.com/solution/tech-solution",
"text": "Technical Solutions",
"title": ""
},
{
"href": "https://developer.aliyun.com/",
"text": "Developer Community",
"title": ""
},
{
"href": "https://tianchi.aliyun.com/",
"text": "Tianchi Competitions",
"title": ""
},
{
"href": "https://edu.aliyun.com/",
"text": "Training and Certification",
"title": ""
},
{
"href": "https://www.aliyun.com/solution/free",
"text": "Solution Free Trials",
"title": ""
},
{
"href": "https://university.aliyun.com/",
"text": "University Program",
"title": ""
},
{
"href": "https://www.aliyun.com/benefit/form/index",
"text": "500 Million Computing Power Subsidy",
"title": ""
},
{
"href": "https://dashi.aliyun.com/?ambRef=shouYeDaoHang2&pageCode=yunparterIndex",
"text": "Referral Program",
"title": ""
},
{
"href": "https://www.aliyun.com/service/supportplans",
"text": "Enterprise Value-Added Services",
"title": ""
},
{
"href": "https://www.aliyun.com/service/devopsimpl/devopsimpl_cloudmigration_public_cn",
"text": "Cloud Migration Services",
"title": ""
},
{
"href": "https://www.aliyun.com/notice/",
"text": "Announcements",
"title": ""
},
{
"href": "https://status.aliyun.com/",
"text": "Service Health",
"title": ""
},
{
"href": "https://security.aliyun.com/trust",
"text": "Trust Center",
"title": ""
},
{
"href": "https://help.aliyun.com/product/67275.html",
"text": "Legal",
"title": ""
},
{
"href": "https://report.aliyun.com/",
"text": "Security Report",
"title": ""
},
{
"href": "https://www.aliyun.com/contact",
"text": "Contact Us",
"title": ""
},
{
"href": "https://careers.aliyun.com/",
"text": "Careers",
"title": ""
},
{
"href": "https://wanwang.aliyun.com/",
"text": "Wanwang",
"title": ""
}
],
"external": [
{
"href": "https://terms.alicdn.com/legal-agreement/terms/platform_service/20220906101446934/20220906101446934.html",
"text": "Cookie Policy",
"title": ""
},
{
"href": "https://aliyun.jubao.alibaba.com/",
"text": "Integrity Report",
"title": ""
},
{
"href": "https://www.alibabagroup.com/cn/global/home",
"text": "Alibaba Group",
"title": ""
},
{
"href": "https://www.taobao.com/",
"text": "Taobao",
"title": ""
},
{
"href": "https://www.tmall.com/",
"text": "Tmall",
"title": ""
},
{
"href": "https://www.aliexpress.com/",
"text": "AliExpress",
"title": ""
},
{
"href": "https://www.alibaba.com/",
"text": "Alibaba.com",
"title": ""
},
{
"href": "https://www.1688.com/",
"text": "1688.com",
"title": ""
},
{
"href": "https://www.alimama.com/index.htm",
"text": "Alimama",
"title": ""
},
{
"href": "https://www.fliggy.com/",
"text": "Fliggy",
"title": ""
},
{
"href": "https://www.alios.cn/",
"text": "AliOS",
"title": ""
},
{
"href": "https://mobile.amap.com/",
"text": "Amap",
"title": ""
},
{
"href": "https://www.uc.cn/",
"text": "UC",
"title": ""
},
{
"href": "https://www.umeng.com/",
"text": "Umeng",
"title": ""
},
{
"href": "https://www.youku.com/",
"text": "Youku",
"title": ""
},
{
"href": "https://www.dingtalk.com/",
"text": "DingTalk",
"title": ""
},
{
"href": "https://www.alipay.com/",
"text": "Alipay",
"title": ""
},
{
"href": "https://damo.alibaba.com/",
"text": "DAMO Academy",
"title": ""
},
{
"href": "https://world.taobao.com/",
"text": "Taobao Global",
"title": ""
},
{
"href": "https://www.aliyundrive.com/",
"text": "Aliyun Drive",
"title": ""
},
{
"href": "https://www.ele.me/",
"text": "Ele.me",
"title": ""
},
{
"href": "http://beian.miit.gov.cn/",
"text": "Zhe B2-20080101",
"title": ""
},
{
"href": "https://domain.miit.gov.cn/域名注册服务机构/互联网域名/阿里云计算有限公司",
"text": "Zhe D3-20210002",
"title": ""
},
{
"href": "https://zzlz.gsxt.gov.cn/businessCheck/verifKey.do?showType=p&serial=91330106673959654P-SAIC_SHOW_10000091330106673959654P1710919400712&signData=MEUCIQDEkCd8cK7%2Fyqe6BNMWvoMPtAnsgKa7FZetfPkjZMsvhAIgOX1G9YC6FKyndE7o7hL0KaBVn4f%20V%2Fiof3iAgpsV09o%3D",
"text": "",
"title": ""
},
{
"href": "http://www.beian.gov.cn/portal/registerSystemInfo",
"text": "Zhejiang Public Security ICP Filing No. 33010602009975",
"title": ""
},
{
"href": "https://beian.miit.gov.cn/",
"text": "Zhe B2-20080101-4",
"title": ""
}
]
},
"media": {
"images": [
{
"type": "image",
"src": "https://img.alicdn.com/imgextra/i4/O1CN01XLesV31fkf7pYNATb_!!6000000004045-2-tps-400-400.png",
"data": "",
"alt": "Alibaba Cloud App",
"desc": null,
"format": "png"
},
{
"type": "image",
"src": "https://img.alicdn.com/tfs/TB1AOdINW6qK1RjSZFmXXX0PFXa-258-258.jpg",
"data": "",
"alt": "Alibaba Cloud WeChat",
"desc": null,
"format": "jpg"
}
],
"videos": [],
"audios": []
},
"metadata": {
"url": "https://help.aliyun.com/document_detail/2837301.html?spm=a2c4g.11186623.help-menu-2837261.d_0_0_0.59ed3e95CppOt2&scm=20140722.H_2837301._.OR_help-T_cn~zh-V_1",
"title": "What is general search for Information Query Service (IQS)? | Information Query Service (IQS) | Alibaba Cloud Help Center",
"hostname": "help.aliyun.com",
"hostLogo": null,
"pdfParse": false
}
}
}