Opoint Article Search
curl --request POST \
--url https://api.aisa.one/apis/v1/opoint/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"searchterm": "<string>"
}
'import requests
url = "https://api.aisa.one/apis/v1/opoint/search"
payload = { "searchterm": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({searchterm: '<string>'})
};
fetch('https://api.aisa.one/apis/v1/opoint/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/opoint/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'searchterm' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/opoint/search"
payload := strings.NewReader("{\n \"searchterm\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/opoint/search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"searchterm\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/opoint/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"searchterm\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"document": [
{
"header": "<string>",
"author": "<string>",
"countrycode": "<string>",
"countryname": "<string>",
"first_source": {
"id": 123,
"name": "<string>",
"sitename": "<string>",
"siteurl": "<string>",
"url": "<string>"
},
"id_article": 123,
"id_site": 123,
"language": {
"encoding": "<string>",
"text": "<string>"
},
"local_time": {
"GMT": 123,
"text": "<string>"
},
"mediatype": {
"clip": true,
"fulltext": true,
"haslogo": true,
"hastext": true,
"paywall": true,
"text": "<string>",
"timemap": true,
"duration": 123
},
"orig_url": "<string>",
"similarweb": {
"article_readership": {
"DeltaP": 123,
"DeltaPValue": 123,
"ExpectedP": 123,
"ExpectedPValue": 123,
"P": 123,
"StdExpectedP": 123,
"StdExpectedPValue": 123,
"value": 123
},
"bounce_rate": 123,
"category": "<string>",
"domain": "<string>",
"mvisit": 123,
"page_per_visit": 123,
"readership": {
"P": 123,
"value": 123
},
"sanitize": 123,
"time_on_site": 123,
"unique_daily_visit": 123,
"unique_desktop_visit": 123,
"unique_mobile_visit": 123,
"unique_visit": 123
},
"site_rank": {
"rank_country": 123,
"rank_global": 123
},
"snippet": "<string>",
"topics": [
{
"id": 123,
"text": "<string>"
}
],
"unix_timestamp": 123,
"url_common": "<string>",
"word_count": 123
}
],
"context": "<string>",
"debug": {
"count": 123,
"lines": [
{
"state": 123,
"query": "<string>"
}
]
},
"documents": 123,
"first_timestamp": 123,
"last_timestamp": 123,
"range_count": 123
}
}Opoint
Opoint Article Search
Opoint Article Search
POST
https://api.aisa.one
/
apis
/
v1
/
opoint
/
search
Opoint Article Search
curl --request POST \
--url https://api.aisa.one/apis/v1/opoint/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"searchterm": "<string>"
}
'import requests
url = "https://api.aisa.one/apis/v1/opoint/search"
payload = { "searchterm": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({searchterm: '<string>'})
};
fetch('https://api.aisa.one/apis/v1/opoint/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/opoint/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'searchterm' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/opoint/search"
payload := strings.NewReader("{\n \"searchterm\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/opoint/search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"searchterm\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/opoint/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"searchterm\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"document": [
{
"header": "<string>",
"author": "<string>",
"countrycode": "<string>",
"countryname": "<string>",
"first_source": {
"id": 123,
"name": "<string>",
"sitename": "<string>",
"siteurl": "<string>",
"url": "<string>"
},
"id_article": 123,
"id_site": 123,
"language": {
"encoding": "<string>",
"text": "<string>"
},
"local_time": {
"GMT": 123,
"text": "<string>"
},
"mediatype": {
"clip": true,
"fulltext": true,
"haslogo": true,
"hastext": true,
"paywall": true,
"text": "<string>",
"timemap": true,
"duration": 123
},
"orig_url": "<string>",
"similarweb": {
"article_readership": {
"DeltaP": 123,
"DeltaPValue": 123,
"ExpectedP": 123,
"ExpectedPValue": 123,
"P": 123,
"StdExpectedP": 123,
"StdExpectedPValue": 123,
"value": 123
},
"bounce_rate": 123,
"category": "<string>",
"domain": "<string>",
"mvisit": 123,
"page_per_visit": 123,
"readership": {
"P": 123,
"value": 123
},
"sanitize": 123,
"time_on_site": 123,
"unique_daily_visit": 123,
"unique_desktop_visit": 123,
"unique_mobile_visit": 123,
"unique_visit": 123
},
"site_rank": {
"rank_country": 123,
"rank_global": 123
},
"snippet": "<string>",
"topics": [
{
"id": 123,
"text": "<string>"
}
],
"unix_timestamp": 123,
"url_common": "<string>",
"word_count": 123
}
],
"context": "<string>",
"debug": {
"count": 123,
"lines": [
{
"state": 123,
"query": "<string>"
}
]
},
"documents": 123,
"first_timestamp": 123,
"last_timestamp": 123,
"range_count": 123
}
}
请求示例待验证。 此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式,请替换为自己的参数。正式调用前,可用免费的报价模式(X-AISA-Cost-Mode: quote)查看预估费用。
请求规范
- 方法与路径: POST /apis/v1/opoint/search
- 可用状态: enabled
- 请求 URL 模板:
https://api.aisa.one/apis/v1/opoint/search
{
"operationId": "post_opoint_apis_v1_opoint_search",
"method": "POST",
"path": "/apis/v1/opoint/search",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"params": {
"additionalProperties": false,
"properties": {
"context": {
"maxLength": 200,
"type": "string"
},
"excludearticles": {
"items": {
"additionalProperties": false,
"properties": {
"id_article": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"id_site": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
}
},
"required": [
"id_site",
"id_article"
],
"type": "object"
},
"maxItems": 100,
"type": "array"
},
"newest": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"oldest": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"requestedarticles": {
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"sort_oldest_first": {
"type": "boolean"
}
},
"type": "object"
},
"searchterm": {
"maxLength": 2000,
"minLength": 1,
"type": "string"
}
},
"required": [
"searchterm"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
已观察到的响应结构
以下结构来自探针或抽样请求的成功结果,只反映已观察到的部分:字段和类型可能变化,不保证每次都有。已有正式响应定义优先;这里不发布真实响应值。- HTTP 状态 / 最近观察日期: 200 / 2026-11-14
{
"additionalProperties": true,
"properties": {
"data": {
"additionalProperties": true,
"properties": {
"context": {
"type": "string"
},
"document": {
"items": {
"additionalProperties": true,
"properties": {
"author": {
"type": "string"
},
"countrycode": {
"type": "string"
},
"countryname": {
"type": "string"
},
"first_source": {
"additionalProperties": true,
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"sitename": {
"type": "string"
},
"siteurl": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"header": {
"type": "string"
},
"id_article": {
"type": "integer"
},
"id_site": {
"type": "integer"
},
"language": {
"additionalProperties": true,
"properties": {
"encoding": {
"type": "string"
},
"text": {
"type": "string"
}
},
"type": "object"
},
"local_time": {
"additionalProperties": true,
"properties": {
"text": {
"type": "string"
}
},
"type": "object"
},
"mediatype": {
"additionalProperties": true,
"properties": {
"clip": {
"type": "boolean"
},
"fulltext": {
"type": "boolean"
},
"haslogo": {
"type": "boolean"
},
"hastext": {
"type": "boolean"
},
"paywall": {
"type": "boolean"
},
"text": {
"type": "string"
},
"timemap": {
"type": "boolean"
}
},
"type": "object"
},
"orig_url": {
"type": "string"
},
"similarweb": {
"additionalProperties": true,
"properties": {
"article_readership": {
"additionalProperties": true,
"properties": {
"DeltaP": {
"type": "number"
},
"DeltaPValue": {
"type": "integer"
},
"ExpectedP": {
"type": "number"
},
"ExpectedPValue": {
"type": "integer"
},
"P": {
"type": [
"integer",
"number"
]
},
"StdExpectedP": {
"type": "number"
},
"StdExpectedPValue": {
"type": "integer"
},
"value": {
"type": "integer"
}
},
"type": "object"
},
"domain": {
"type": "string"
},
"readership": {
"additionalProperties": true,
"properties": {
"P": {
"type": "number"
},
"value": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"site_rank": {
"additionalProperties": true,
"properties": {
"rank_country": {
"type": "integer"
},
"rank_global": {
"type": "integer"
}
},
"type": "object"
},
"snippet": {
"type": "string"
},
"topics": {
"items": {
"additionalProperties": true,
"properties": {
"id": {
"type": "integer"
},
"text": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"unix_timestamp": {
"type": "integer"
},
"url_common": {
"type": "string"
},
"word_count": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"documents": {
"type": "integer"
},
"first_timestamp": {
"type": "integer"
},
"last_timestamp": {
"type": "integer"
},
"range_count": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
}
费用与请求规则
按实际用量收费。 当前暂无预估金额。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。响应时间
- 通常 10 秒内返回。