Skip to content
Platform / Docs / Random quote API

API Reference

Random quote API

GET randtext-api ID 4

Return a random quote, useful for integration tests or placeholder copy.

GET https://xiaoapis.com/api/randtext/get

Overview

  • 随机文本
  • 快速返回

Use cases

  • 接口联调
  • 占位文案
Conventions
  • Gateway · https://xiaoapis.com
  • Auth · send key (query or JSON body, as this API specifies)
  • Response · JSON. Check the business code and the HTTP status, not only HTTP 200

Authentication

Send the platform API key (query parameter key or JSON field key, as this page specifies). Create one in API key management.

GET https://xiaoapis.com/api/randtext/get
Content-Type: application/json

{
  "key": "YOUR_API_KEY"
}

FAQ

随机语录接口做什么?

每次请求返回一条随机文本,便于演示与联调。

需要复杂参数吗?

通常仅需 Key;其它参数见文档。

能用于生产文案吗?

更适合测试或轻量展示,正式文案请用业务内容源。

是否计费?

以控制台对该接口的计费配置为准。

返回语言?

以接口实际语料为准。

Full console doc (with the debugger):/doc/4