/v1/story
Single story by short id
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/lobsters-api/v1/story" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/lobsters-api/v1/story", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/lobsters-api/v1/story");
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/lobsters-api/v1/story",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"story": {
"url": "https://invlpg.com/posts/2025-06-19-premature-optimization.html",
"tags": [
"c",
"performance"
],
"score": 78,
"title": "Premature Optimization is Fun Sometimes (2025)",
"comments": 9,
"short_id": "109l2t",
"submitter": "invlpg",
"created_at": "2026-06-08T02:41:58.000-05:00",
"description": null,
"comments_url": "https://lobste.rs/s/109l2t/premature_optimization_is_fun_sometimes",
"lobsters_url": "https://lobste.rs/s/109l2t",
"comment_count": 9
}
},
"meta": {
"timestamp": "2026-06-09T03:03:43.631Z",
"request_id": "201906a2-a276-4b4a-b470-c25c6ddf2b11"
},
"status": "ok",
"message": "Story retrieved successfully",
"success": true
}