# Securities Industry Laws and Regulations Semantic Search API

Search Yuandian Securities Law Semantic via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Yuandian, pass parameters such as fatiao_filter, query, return_num, and retrieve structured data including business status code, returned answer field, content, returned dy field, and returned effect1 field for document research and entity reference, and integration reference.

Documentation: https://openany.si/market/apis/yuandian/yuandian-securities-industry-laws-and-regulations-semantic-search-api/?offering=652c8467-92a2-42c6-a04d-d3edf883c6a1
API ID: 652c8467-92a2-42c6-a04d-d3edf883c6a1
Provider: yuandian
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/yuandian/open/law_vector_zq_search
Page update time: 2026-12-03T02:49:59.660Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:49:59.031Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Securities Industry Laws and Regulations Semantic Search API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "type": "object",
      "properties": {
        "query": {
          "type": "string",
          "description": "Question or query text to search for"
        },
        "rewrite_flag": {
          "type": "boolean",
          "description": "Whether to rewrite the query; defaults to `false`"
        },
        "fatiao_filter": {
          "type": "object",
          "description": "Filters for searching laws and regulations; see the field descriptions for details"
        },
        "return_num": {
          "type": "integer",
          "description": "Number of laws and regulations to return (default 45; cannot exceed the total number retrieved)"
        }
      },
      "required": [
        "query"
      ]
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "answer": {
      "type": "string"
    },
    "code": {
      "type": "integer"
    },
    "extra": {
      "type": "object",
      "properties": {
        "fatiao": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "content": {
                "type": "string"
              },
              "dy": {
                "type": "string"
              },
              "effect1": {
                "type": "string"
              },
              "effect2": {
                "type": "string"
              },
              "end": {
                "type": "integer"
              },
              "fgid": {
                "type": "string"
              },
              "fgtitle": {
                "type": "string"
              },
              "ftid": {
                "type": "string"
              },
              "location": {
                "type": "string"
              },
              "num": {
                "type": "string"
              },
              "score": {
                "type": "number"
              },
              "start": {
                "type": "integer"
              },
              "sxx": {
                "type": "string"
              },
              "tag": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "type": {
                "type": "integer"
              },
              "url": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "messageId": {
      "type": "string"
    },
    "msg": {
      "type": "string"
    },
    "request_id": {
      "type": "string"
    },
    "style": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Documentation example (HTTP status set during import)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/yuandian/open/law_vector_zq_search' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "fatiao_filter": {
    "effect1": [
      "法律"
    ],
    "sxx": [
      "现行有效"
    ]
  },
  "query": "内幕交易",
  "return_num": 2,
  "rewrite_flag": false
}'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Configured HTTP 200; actual status is unverified.
```json
{
  "answer": "",
  "code": 201,
  "extra": {
    "fatiao": [
      {
        "content": "　本法所称内幕信息，是指可能对期货交易或者衍生品交易的交易价格产生重大影响的尚未公开的信息。 \n期货交易的内幕信息包括： \n（一）国务院期货监督管理机构以及其他相关部门正在制定或者尚未发布的对期货交易价格可能产生重大影响的政策、信息或者数据； \n（二）期货交易场所、期货结算机构作出的可能对期货交易价格产生重大影响的决定； \n（三）期货交易场所会员、交易者的资金和交易动向； \n（四）相关市场中的重大异常交易信息； \n（五）国务院期货监督管理机构规定的对期货交易价格有重大影响的其他信息。",
        "dy": "中央",
        "effect1": "法律",
        "effect2": "法律",
        "end": 99999999,
        "fgid": "f74ea8ee4b09a918a3dea5c7d151514b",
        "fgtitle": "中华人民共和国期货和衍生品法",
        "ftid": "f74ea8ee4b09a918a3dea5c7d151514b_14",
        "location": "中央",
        "num": "第十四条",
        "score": 1.1926545599999998,
        "start": 20220801,
        "sxx": "现行有效",
        "tag": [
          "证券行业法规"
        ],
        "type": 1,
        "url": "https://ydzk.chineselaw.com/zxt/statuteDetail/detailPage/f74ea8ee4b09a918a3dea5c7d151514b?text=14"
      },
      {
        "content": "　证券交易活动中，涉及发行人的经营、财务或者对该发行人证券的市场价格有重大影响的尚未公开的信息，为内幕信息。 \n本法第八十条第二款、第八十一条第二款所列重大事件属于内幕信息。",
        "dy": "中央",
        "effect1": "法律",
        "effect2": "法律",
        "end": 99999999,
        "fgid": "f60152fce037dbb27c49045cb502bde7",
        "fgtitle": "中华人民共和国证券法(2019修订)",
        "ftid": "f60152fce037dbb27c49045cb502bde7_52",
        "location": "中央",
        "num": "第五十二条",
        "score": 1.1910819,
        "start": 20200301,
        "sxx": "现行有效",
        "tag": [
          "财税##金融证券法规##证券法规",
          "财税##金融证券法规",
          "财税##其他法律法规##其他法律",
          "企业法##证券、债券",
          "财税##金融证券法规##证券法规##证监会",
          "财税##其他法律法规",
          "财税",
          "企业法",
          "证券行业法规",
          "上市公司法",
          "上市公司法##上市公司"
        ],
        "type": 1,
        "url": "https://ydzk.chineselaw.com/zxt/statuteDetail/detailPage/f60152fce037dbb27c49045cb502bde7?text=52"
      }
    ]
  },
  "messageId": "",
  "msg": "成功(返回结构化数据)",
  "request_id": "",
  "style": ""
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- yuandian: https://openany.si/market/apis/yuandian/yuandian-securities-industry-laws-and-regulations-semantic-search-api/?offering=652c8467-92a2-42c6-a04d-d3edf883c6a1

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
