Search news by query — articles and subjects
curl --request POST \
--url https://api.aisa.one/apis/v1/octen/web-search-news \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"count": 5,
"query": "<string>"
}
'import requests
url = "https://api.aisa.one/apis/v1/octen/web-search-news"
payload = {
"count": 5,
"query": "<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({count: 5, query: '<string>'})
};
fetch('https://api.aisa.one/apis/v1/octen/web-search-news', 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/octen/web-search-news",
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([
'count' => 5,
'query' => '<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/octen/web-search-news"
payload := strings.NewReader("{\n \"count\": 5,\n \"query\": \"<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/octen/web-search-news")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"count\": 5,\n \"query\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/octen/web-search-news")
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 \"count\": 5,\n \"query\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"code": 123,
"data": {
"query": "<string>",
"results": [
{
"authors": "<string>",
"cover_image": {
"description": "<string>",
"url": "<string>"
},
"favicon": "<string>",
"highlight": "<string>",
"images": [
{
"description": "<string>",
"url": "<string>"
}
],
"time_last_crawled": "<string>",
"time_published": "<string>",
"title": "<string>",
"url": "<string>"
}
],
"subjects": [
{
"name": "<string>",
"sub_news": [
{
"cover_image": {
"description": "<string>",
"url": "<string>"
},
"favicon": "<string>",
"highlight": "<string>",
"images": [
{
"description": "<string>",
"url": "<string>"
}
],
"time_last_crawled": "<string>",
"time_published": "<string>",
"title": "<string>",
"url": "<string>"
}
],
"summary": "<string>",
"time_latest": "<string>",
"time_start": "<string>",
"top_news": {
"cover_image": {
"description": "<string>",
"url": "<string>"
},
"favicon": "<string>",
"highlight": "<string>",
"images": [
{
"description": "<string>",
"url": "<string>"
}
],
"summary": "<string>",
"time_last_crawled": "<string>",
"time_published": "<string>",
"title": "<string>",
"url": "<string>"
}
}
]
},
"meta": {
"latency": 123,
"usage": {
"full_content_extra_count": 123,
"num_search_queries": 123,
"num_subject_search_queries": 123
},
"warning": "<string>"
},
"msg": "<string>",
"request_id": "<string>"
}Octen
Search news by query — articles and subjects
Search news by query — articles and subjects
POST
https://api.aisa.one
/
apis
/
v1
/
octen
/
web-search-news
Search news by query — articles and subjects
curl --request POST \
--url https://api.aisa.one/apis/v1/octen/web-search-news \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"count": 5,
"query": "<string>"
}
'import requests
url = "https://api.aisa.one/apis/v1/octen/web-search-news"
payload = {
"count": 5,
"query": "<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({count: 5, query: '<string>'})
};
fetch('https://api.aisa.one/apis/v1/octen/web-search-news', 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/octen/web-search-news",
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([
'count' => 5,
'query' => '<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/octen/web-search-news"
payload := strings.NewReader("{\n \"count\": 5,\n \"query\": \"<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/octen/web-search-news")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"count\": 5,\n \"query\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/octen/web-search-news")
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 \"count\": 5,\n \"query\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"code": 123,
"data": {
"query": "<string>",
"results": [
{
"authors": "<string>",
"cover_image": {
"description": "<string>",
"url": "<string>"
},
"favicon": "<string>",
"highlight": "<string>",
"images": [
{
"description": "<string>",
"url": "<string>"
}
],
"time_last_crawled": "<string>",
"time_published": "<string>",
"title": "<string>",
"url": "<string>"
}
],
"subjects": [
{
"name": "<string>",
"sub_news": [
{
"cover_image": {
"description": "<string>",
"url": "<string>"
},
"favicon": "<string>",
"highlight": "<string>",
"images": [
{
"description": "<string>",
"url": "<string>"
}
],
"time_last_crawled": "<string>",
"time_published": "<string>",
"title": "<string>",
"url": "<string>"
}
],
"summary": "<string>",
"time_latest": "<string>",
"time_start": "<string>",
"top_news": {
"cover_image": {
"description": "<string>",
"url": "<string>"
},
"favicon": "<string>",
"highlight": "<string>",
"images": [
{
"description": "<string>",
"url": "<string>"
}
],
"summary": "<string>",
"time_last_crawled": "<string>",
"time_published": "<string>",
"title": "<string>",
"url": "<string>"
}
}
]
},
"meta": {
"latency": 123,
"usage": {
"full_content_extra_count": 123,
"num_search_queries": 123,
"num_subject_search_queries": 123
},
"warning": "<string>"
},
"msg": "<string>",
"request_id": "<string>"
}
Request example pending verification. The request example for this endpoint has not yet been verified in production. Static examples describe the request format; replace sample values with your own. Check the estimated price with a free quote request (X-AISA-Cost-Mode: quote) before running it.
Request contract
- Method and path: POST /apis/v1/octen/web-search-news
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/octen/web-search-news
{
"operationId": "octen.web-search-news",
"method": "POST",
"path": "/apis/v1/octen/web-search-news",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"additionalProperties": false,
"properties": {
"count": {
"maximum": 10,
"minimum": 1,
"type": "integer"
},
"query": {
"maxLength": 500,
"minLength": 1,
"type": "string"
}
},
"required": [
"count",
"query"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Observed response structure
The response observations below come from successful probes or sampled requests. They are partial: fields and types may vary, and no field is guaranteed to be present. Reviewed response definitions take precedence. No real response values are published.- HTTP status / last observed: 200 / 2026-11-14
{
"additionalProperties": true,
"properties": {
"code": {
"type": "integer"
},
"data": {
"additionalProperties": true,
"properties": {
"query": {
"type": "string"
},
"results": {
"items": {
"additionalProperties": true,
"properties": {
"authors": {
"type": "string"
},
"cover_image": {
"additionalProperties": true,
"properties": {
"description": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"favicon": {
"type": "string"
},
"highlight": {
"type": "string"
},
"images": {
"items": {
"additionalProperties": true,
"properties": {
"description": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"time_last_crawled": {
"type": "string"
},
"time_published": {
"type": "string"
},
"title": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"subjects": {
"items": {
"additionalProperties": true,
"properties": {
"name": {
"type": "string"
},
"sub_news": {
"items": {
"additionalProperties": true,
"properties": {
"cover_image": {
"additionalProperties": true,
"properties": {
"description": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"favicon": {
"type": "string"
},
"highlight": {
"type": "string"
},
"images": {
"items": {
"additionalProperties": true,
"properties": {
"description": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"time_last_crawled": {
"type": "string"
},
"time_published": {
"type": "string"
},
"title": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"summary": {
"type": "string"
},
"time_latest": {
"type": "string"
},
"time_start": {
"type": "string"
},
"top_news": {
"additionalProperties": true,
"properties": {
"cover_image": {
"additionalProperties": true,
"properties": {
"description": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"favicon": {
"type": "string"
},
"highlight": {
"type": "string"
},
"images": {
"items": {
"additionalProperties": true,
"properties": {
"description": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"summary": {
"type": "string"
},
"time_last_crawled": {
"type": "string"
},
"time_published": {
"type": "string"
},
"title": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"meta": {
"additionalProperties": true,
"properties": {
"latency": {
"type": "integer"
},
"usage": {
"additionalProperties": true,
"properties": {
"full_content_extra_count": {
"type": "integer"
},
"num_search_queries": {
"type": "integer"
},
"num_subject_search_queries": {
"type": "integer"
}
},
"type": "object"
},
"warning": {
"type": "string"
}
},
"type": "object"
},
"msg": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"type": "object"
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.003 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Response time
- Typically returns within 10 seconds.
Authorizations
Body
application/json
Response
Observed successful JSON response. This partial structure comes from successful probe or sampled requests; fields and types may vary. No field is guaranteed to be present. Last observed: 2026-11-14.