/v1/article
Article by id
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/spacenews-api/v1/article" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/spacenews-api/v1/article", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/spacenews-api/v1/article");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/spacenews-api/v1/article",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"id": 38167,
"url": "https://spacepolicyonline.com/news/repercussions-of-new-glenns-explosion-still-coming-into-focus/",
"image": "https://spacepolicyonline.com/wp-content/uploads/2026/05/faa-new-glenn-expl-300x39.jpg",
"title": "Repercussions of New Glenn’s Explosion Still Coming Into Focus",
"authors": [
"Marcia Smith"
],
"summary": "The repercussions of last night’s explosion of Blue Origin’s New Glenn rocket during a pre-launch test will take some time to assess. Among the key questions are not only what […]",
"featured": false,
"news_site": "SpacePolicyOnline.com",
"updated_at": "2026-05-29T22:30:14.991929Z",
"published_at": "2026-05-29T22:21:19Z"
},
"meta": {
"timestamp": "2026-05-30T06:12:01.364Z",
"request_id": "2b0b44cd-2a83-44ec-8508-dfa69dd4de8e"
},
"status": "ok",
"message": "Article retrieved",
"success": true
}