News Article Detail
curl --request GET \
--url https://api.asksurf.ai/gateway/v1/news/detailimport requests
url = "https://api.asksurf.ai/gateway/v1/news/detail"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.asksurf.ai/gateway/v1/news/detail', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"content": "<string>",
"id": "<string>",
"published_at": 123,
"title": "<string>",
"project_id": "<string>",
"project_name": "<string>",
"source": "<string>",
"summary": "<string>",
"url": "<string>"
},
"meta": {
"cached": true,
"credits_used": 123
},
"$schema": "https://example.com/schemas/DataObjectResponseNewsArticleDetailItem.json"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"$schema": "https://example.com/schemas/DataAPIError.json"
}News
News Article Detail
GET
/
gateway
/
v1
/
news
/
detail
News Article Detail
curl --request GET \
--url https://api.asksurf.ai/gateway/v1/news/detailimport requests
url = "https://api.asksurf.ai/gateway/v1/news/detail"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.asksurf.ai/gateway/v1/news/detail', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"content": "<string>",
"id": "<string>",
"published_at": 123,
"title": "<string>",
"project_id": "<string>",
"project_name": "<string>",
"source": "<string>",
"summary": "<string>",
"url": "<string>"
},
"meta": {
"cached": true,
"credits_used": 123
},
"$schema": "https://example.com/schemas/DataObjectResponseNewsArticleDetailItem.json"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"$schema": "https://example.com/schemas/DataAPIError.json"
}