需两次购买:①订购原厂商接口 ②免费接口,注册后直接调用;使用HTTP接口调用您自己的InfluxDB数据库,以完成增删查改以及数据库级别的建表、建索引、维护等所有指令,大大提升开发效率。也可以预定义查询SQL并埋入变量,调用时传入变量值进行调用。演示时默认使用的是公用测试库,数据不定期清理。用于生产环境时, 请绑定自己的InfluxDB数据。
showapi_res_body
curl -X POST "https://connector.showapi.com/1884-1?appKey=YOUR_APPKEY" \ -H "content-type: application/x-www-form-urlencoded" \ -d "fields=*&table=mytest2&where=%22code%22%3D%3F%20and%20%20%20%22name%22%3D%3F&where_param=%5B%2212345%22%2C%22aaaaa%22%5D&order_by_time=desc&limit=20&offset=0&epoch=&database=mydatabase&ds_id="
{ "showapi_res_error": "", "showapi_res_id": "eaadff8a1aaf4779ac9f1c1f5c79507f", "showapi_res_code": 0, "showapi_res_body": { "remark": "", "results": [ { "series": [ { "columns": [ "time", "age", "code", "name", "type" ], "name": "mytest1", "values": [ [ 1534430190001, 34, "12345", "aaaaa", "cccc" ] ] } ], "statement_id": 0 } ], "ret_code": 0 } }
在 Cherry Studio、ChatBox 等支持 MCP 的客户端中配置,将 {your_appKey} 替换为真实 AppKey(AppKey 管理)。该服务覆盖本接口全部接入点。
{ "mcpServers": { "showapi-mcp-1884": { "url": "http://www.showapi.com.cn/mcp/1884/{your_appKey}" } } }
标准 OpenAPI 3.0 文档,覆盖本接口全部接入点,可导入 Apifox / Postman / Swagger UI,或供 AI Agent 直接消费。
客服热线请拨打
400-998-8033