返回 | 接口 / 实用工具 / 央视新闻
GET 实用工具

央视新闻

央视新闻 接口,点击查看请求参数与调用示例。

累计调用 12 今日调用 0

更新于 2026-10-16

调用地址

GET
https://itapi.top/api/ysxw

响应示例

200 OK
1.标题:国庆假期近尾声 护航平安返程路
±img=http://p4.img.cctvpic.com/photoworkspace/2026/10/07/2026100707135972190.jpg?w=660&h=374&p=0±
地址:https://news.cctv.com/2026/10/07/ARTIvZMXy5oczjN2Wp9LWnyd261007.shtml
2.标题:今年西部陆海新通道铁海联运破百万标箱
±img=http://p3.img.cctvpic.com/photoAlbum/page/performance/img/2026/10/7/1791328812162_349.jpg?w=660&h=374&p=0±
地址:https://news.cctv.com/2026/10/07/ARTIUlConuyg6uGwq8nTDFkD261007.shtml
3.标题:国庆假期 “港车北上”“澳车北上”创同期新高
±img=http://p4.img.cctvpic.com/photoworkspace/2026/10/07/2026100707181656931.jpg?w=660&h=374&p=0±
地址:https://news.cctv.com/2026/10/07/ARTI11WRSB8w9PWK4LneMOwG261007.shtml

在线测试

该接口无需参数,直接发送即可。

代码示例

cURL · GET
curl "https://itapi.top/api/ysxw"
PHP
<?php
$res  = file_get_contents("https://itapi.top/api/ysxw");
$json = json_decode($res, true);
print_r($json);
JavaScript
const res  = await fetch("https://itapi.top/api/ysxw");
const json = await res.json();
console.log(json);
Python
import requests

r = requests.get("https://itapi.top/api/ysxw", timeout=10)
print(r.json())
返回接口列表