Skip to content

Search the API directory ​

GET /api/v1.0/quote/apis

List deployed public endpoint definitions sorted by path, including HTTP method, path, parameter constraints, and response field schemas (this may include additional live endpoints beyond those documented individually here, such as news routes). Independently registered endpoints—this directory, permissions, quota queries, and subscription—are excluded.

Request parameters ​

ParameterTypeInRequiredDescription
pageintegerqueryNoPage number starting at 1; defaults to 1
page_sizeintegerqueryNoEntries per page; defaults to 10, range 1–20
keywordstringqueryNoCase-insensitive substring match against api_id, path, description, or description_en (leading/trailing spaces trimmed); omit to list all entries

Request example ​

bash
curl -s "https://webapi.futunn.com/api/v1.0/quote/apis?keyword=/api/v1.0/quote/search-hot-topics&page_size=1" \
  -H "Authorization: Bearer <AccessToken>"

Response fields ​

This endpoint returns apis and pagination directly at the top level without a data wrapper.

FieldTypeDescription
apisobject[]Matching API definitions sorted by path; empty array when there are no matches
apis[].api_idstringUnique API identifier
apis[].pathstringRequest path
apis[].methodstringHTTP method (e.g. GET, POST)
apis[].descriptionstringChinese endpoint description; omitted when unset
apis[].description_enstringEnglish endpoint description; omitted when unset
apis[].requestobjectRequest parameter and body schema
apis[].request.paramsobject[]Path and query parameter list; empty array when none
apis[].request.params[].namestringParameter name
apis[].request.params[].typestringParameter type (e.g. string, int, number, bool, array<string>, object_array)
apis[].request.params[].requiredbooleanWhether required; omitted when optional
apis[].request.params[].defaultstring / number / booleanDefault value; omitted when unset
apis[].request.params[].minnumberNumeric lower bound; omitted when unset
apis[].request.params[].maxnumberNumeric upper bound; omitted when unset
apis[].request.params[].minimumnumberNumeric lower bound; omitted when unset
apis[].request.params[].maximumnumberNumeric upper bound; omitted when unset
apis[].request.params[].minLengthintegerMinimum string byte length or array item count; omitted when unset
apis[].request.params[].maxLengthintegerMaximum string byte length or array item count; omitted when unset
apis[].request.params[].patternstringRegular expression pattern; omitted when unset
apis[].request.params[].min_itemsintegerMinimum array item count; omitted when unset
apis[].request.params[].max_itemsintegerMaximum array item count; omitted when unset
apis[].request.params[].enumstring[] / integer[]Allowed enum values; omitted when unset
apis[].request.params[].descstringChinese parameter description; omitted when unset
apis[].request.params[].desc_enstringEnglish parameter description; omitted when unset
apis[].request.params[].fieldsobject[]Nested child fields (same item schema as params[]); omitted when empty
apis[].request.bodyobject[]Request body fields (same item schema as request.params[]); empty array when none
apis[].responseobjectResponse schema definition
apis[].response.wrapstringOptional outer wrapper key (e.g. items); omitted when unwrapped
apis[].response.fieldsobjectResponse field map keyed by field name; empty object when no fields are declared
apis[].response.fields.<field>.descstringChinese field description; omitted when unset
apis[].response.fields.<field>.desc_enstringEnglish field description; omitted when unset
apis[].response.fields.<field>.wrapstringOptional nested wrapper key; omitted when unwrapped
apis[].response.fields.<field>.fieldsobjectNested child field map (same structure as response.fields); omitted when none
paginationobjectTop-level pagination metadata
pagination.pageintegerCurrent page number (1-based)
pagination.page_sizeintegerEntries per page
pagination.totalintegerTotal number of matching APIs
pagination.total_pagesintegerTotal number of pages; 0 when total is 0
pagination.has_nextbooleanWhether a next page exists
pagination.has_prevbooleanWhether a previous page exists; false when total is 0

Response example ​

json
{
  "apis": [
    {
      "api_id": "quote.search_hot_topics",
      "description": "获取全市场实时热门搜索词条与话题列表。\n返回包含:词条 ID(item_id)、词条文本(text)、热度值(hot_value)与落地页跳转链接(url_scheme)。\n",
      "description_en": "Get real-time trending search topics and keywords.\nReturns: item_id, text, hot_value, and url_scheme.\n",
      "path": "/api/v1.0/quote/search-hot-topics",
      "method": "GET",
      "request": {
        "params": [],
        "body": []
      },
      "response": {
        "wrap": "items",
        "fields": {
          "hot_value": {
            "desc": "热度值",
            "desc_en": "Heat value"
          },
          "item_id": {
            "desc": "热点词条唯一 ID",
            "desc_en": "Topic item unique ID"
          },
          "text": {
            "desc": "热点词条文本",
            "desc_en": "Trending topic text"
          },
          "url_scheme": {
            "desc": "跳转链接",
            "desc_en": "Landing URL"
          }
        }
      }
    }
  ],
  "pagination": {
    "page": 1,
    "page_size": 1,
    "total": 1,
    "total_pages": 1,
    "has_next": false,
    "has_prev": false
  }
}

Errors ​

Invalid pagination parameters return HTTP 400 with {"error", "message"} instead of the standard envelope:

HTTP StatuserrorDescription
400invalid_pagepage is not a positive integer
400invalid_page_sizepage_size is not a positive integer
400page_size_too_largepage_size exceeds the limit of 20
400page_out_of_rangeMatches exist and requested page exceeds total_pages
json
{
  "error": "page_size_too_large",
  "message": "page_size must be <= 20 (got 21)"
}
json
{
  "error": "page_out_of_range",
  "message": "page 2 exceeds total_pages 1"
}

Rate-limit and access-policy errors return HTTP 200 with ret_code, ret_msg, and error:

ret_codeerror.codeDescription
-9permission_deniedAccess denied by policy
-11rate_limitedRate limit exceeded; back off for Retry-After seconds when provided
-13quota_unavailableRate-limit dependency temporarily unavailable

Notes ​

  • When keyword matches no entries (total=0), even page > 1 returns HTTP 200 with apis: [], total_pages: 0, has_next: false, and has_prev: false.