API简介:获取联网的Prompt文本

接口问题联系相关负责人沟通修复:查看该接口开发者

接口地址:https://api.pearktrue.cn/api/gpt/getonline.php

返回格式:JSON

请求方式:GET

请求参数:https://api.pearktrue.cn/api/gpt/getonline.php?message=今天星期几

注:单纯检测接口是否可调通,返回的数据请自行检查

检测接口中...(检测服务是否可用)


状态码 累计次数 最后检测时间
正常 171 2024-04-25 21:55:48
故障 8 2024-04-19 20:34:45

您好!我们的平台聚合了 上千位开发者提供的免费接口 ,尽管我们已经付出了很大的努力来确保接口的稳定性。
1. 然而,由于我们 无法控制 其他【开发者】的 接口,不稳定或者他可能跑路了,因为不赚钱。。。我替他向您道歉!!!!!
2. 但请放心,我们正在竭尽所能来改进这个情况。
3. 为了方便您使用,我们还推出了智能生成对接代码和在线极速测试接口是否可用的功能。
4. 我们真诚希望您 理解并谅解 这一挑战,同时我们将继续 努力提供更多可靠的接口 ,以满足您的需求。
5. 最后,如果您需要与我取得联系,我的微信:13132131321,再次感谢您对我们的支持与信任!!!


接口注意:接口故障请立即 点我反馈,修复进度会通过短信通知!

非官方接口,请联系开发者获取技术支持

Bug修复:非官方接口,Bug反馈请联系开发者

会员线路:因调用量剧增,定制独享优质线路请 参考定制方案

专属线路 成本透明 0服务费

请求参数

接口名称 是否必填 接口类型 接口说明
message string 问题

返回示例

{
    "code": 200,
    "msg": "获取成功",
    "message": "今天星期几",
    "online": "I will give you a question or an instruction. Your objective is to answer my question or fulfill my instruction.\n\nMy question or instruction is: 今天星期几\n\nFor your reference, today's date is 2023-08-16T15:05:28+08:00.\n\nIt's possible that the question or instruction, or just a portion of it, requires relevant information from the internet to give a satisfactory answer or complete the task. Therefore, provided below is the necessary information obtained from the internet, which sets the context for addressing the question or fulfilling the instruction. You will write a comprehensive reply to the given question or instruction. Do not include urls and sources in the summary text. If the provided information from the internet results refers to multiple subjects with the same name, write separate answers for each subject:\n\"\"\"\nNUMBER:1\nURL:wannianli.tianqi.com\nTITLE:Settings\nCONTENT:介绍说明:. 1、周,又叫星期,是一个时间单位,七天为一周. 2、一年共365天(闰年366天),一年大约53周. 3、可计算今天是第几周、今天是本月的第几周、今天是本年的第几周、距离今年结束还有多少天. 日历查询.\n\nNUMBER:2\nURL:www.jintianjihao.com\nTITLE:Clear\nCONTENT:2023年8月14日 星期一. 生肖属相. 兔. 最新资讯. 2018年巴西节日假期安排. 今天 阴历. 2023年六月廿八 (闰2月) 星座. 狮子座.\n\nNUMBER:3\nURL:m.wannianli.tianqi.com\nTITLE:今天是第几周,星期几,今天是2023年的第几周-万年历\nCONTENT:1、周,又叫星期,是一个时间单位,七天为一周 2、一年共365天(闰年366天),一年大约53周 3、可计算今天是第几周、今天是本月的第几周、今天是本年的第几周、距离今年结束还有多少天\n\"\"\"\nReply in 中文"
}

返回参数

接口名称 接口类型 接口说明
code integer 状态码
msg string 状态信息
message string 问题
online string 联网文本

支持多层级可视化显示返回json示例,直观展示接口对应的键值对的代表含义!


{
    "online": "联网文本",
    "message": "问题",
    "msg": "状态信息",
    "code": "状态码"
}

小白教程

本教程帮助用户快速对接联网问答文本获取接口,现已支持智能生成代码

生成代码

支持生成对接联网问答文本获取接口代码,多语言选择,助力学生对接!

注意,AI·BOT自动生成对接「联网问答文本获取」简易代码,方便您调试对接,实时生成!

点击生成代码,自动生成对接代码,您可以自行测试,如有疑问请联系夏柔QQ:1501904!
自动生成JAVA对接「联网问答文本获取」代码,如有疑问请联系夏柔QQ:1501904!
自动生成PHP对接「联网问答文本获取」代码,如有疑问请联系夏柔QQ:1501904!
自动生成NodeJS对接「联网问答文本获取」代码,如有疑问请联系夏柔QQ:1501904!
自动生成C语言对接「联网问答文本获取」代码,如有疑问请联系夏柔QQ:1501904!
                                                        

实时调试

部分视频、图片或其他接口报错、空值并不代表无法对接,请在本地尝试请求参数接口

在线调试

温馨提示:请修改请求参数,未修改可能返回报错

参数名称 参数值(修改后测试)
{
  "code": 200,
  "msg": "获取成功",
  "message": "今天星期几",
  "online": "I will give you a question or an instruction. Your objective is to answer my question or fulfill my instruction.\n\nMy question or instruction is: 今天星期几\n\nFor your reference, today's date is 2023-08-16T15:05:28+08:00.\n\nIt's possible that the question or instruction, or just a portion of it, requires relevant information from the internet to give a satisfactory answer or complete the task. Therefore, provided below is the necessary information obtained from the internet, which sets the context for addressing the question or fulfilling the instruction. You will write a comprehensive reply to the given question or instruction. Do not include urls and sources in the summary text. If the provided information from the internet results refers to multiple subjects with the same name, write separate answers for each subject:\n\"\"\"\nNUMBER:1\nURL:wannianli.tianqi.com\nTITLE:Settings\nCONTENT:介绍说明:. 1、周,又叫星期,是一个时间单位,七天为一周. 2、一年共365天(闰年366天),一年大约53周. 3、可计算今天是第几周、今天是本月的第几周、今天是本年的第几周、距离今年结束还有多少天. 日历查询.\n\nNUMBER:2\nURL:www.jintianjihao.com\nTITLE:Clear\nCONTENT:2023年8月14日 星期一. 生肖属相. 兔. 最新资讯. 2018年巴西节日假期安排. 今天 阴历. 2023年六月廿八 (闰2月) 星座. 狮子座.\n\nNUMBER:3\nURL:m.wannianli.tianqi.com\nTITLE:今天是第几周,星期几,今天是2023年的第几周-万年历\nCONTENT:1、周,又叫星期,是一个时间单位,七天为一周 2、一年共365天(闰年366天),一年大约53周 3、可计算今天是第几周、今天是本月的第几周、今天是本年的第几周、距离今年结束还有多少天\n\"\"\"\nReply in 中文"
}