Opoint Headline Search
curl --request POST \
--url https://api.aisa.one/apis/v1/opoint/search-headlines \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"searchterm": "<string>"
}
'import requests
url = "https://api.aisa.one/apis/v1/opoint/search-headlines"
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-headlines', 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-headlines",
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-headlines"
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-headlines")
.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-headlines")
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 Headline Search
Opoint Headline Search
POST
https://api.aisa.one
/
apis
/
v1
/
opoint
/
search-headlines
Opoint Headline Search
curl --request POST \
--url https://api.aisa.one/apis/v1/opoint/search-headlines \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"searchterm": "<string>"
}
'import requests
url = "https://api.aisa.one/apis/v1/opoint/search-headlines"
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-headlines', 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-headlines",
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-headlines"
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-headlines")
.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-headlines")
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
}
}
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/opoint/search-headlines
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/opoint/search-headlines
{
"operationId": "post_opoint_apis_v1_opoint_search_headlines",
"method": "POST",
"path": "/apis/v1/opoint/search-headlines",
"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"
}
}
}
}
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": {
"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"
},
"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"
}
Cost and request rules
Usage-based pricing. A price estimate is not currently available. Your account price may differ; use a request quote where supported.Response time
- Typically returns within 10 seconds.
Authorizations
Body
application/json