Securities Industry Laws and Regulations Semantic Search API
Performs semantic search at the legal provision level for the securities industry using a natural-language query. Supports filters for validity status, first-level legal authority, and effective date range. Results are in extra.fatiao; each result primarily contains a legal provision and information about its parent regulation, rather than the full text of an entire regulation. To retrieve regulation details, call the regulation detail API with the regulation ID.
- Selected price
- $0 / callPublished pricing
- Providers / implementations
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
| Provider | Price / call | Requests · 30d | Performance | Access |
|---|---|---|---|---|
yuandianCurrent Securities Industry Laws and Regulations Semantic Search API · POST | $0 / call | — | —successP50— |
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 2. Price update time: not supplied.
Playground
Run sends a real API request. Charges follow the published API contract.
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
}'- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/yuandian/open/law_vector_zq_search- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
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
}'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
query | JSON request bodybody | string | Yes | Question or query text to search for |
rewrite_flag | JSON request bodybody | boolean | No | Whether to rewrite the query; defaults to `false` |
fatiao_filter | JSON request bodybody | object | No | Filters for searching laws and regulations; see the field descriptions for details |
return_num | JSON request bodybody | integer | No | Number of laws and regulations to return (default 45; cannot exceed the total number retrieved) |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Published response example · Configured HTTP 200; actual status is unverified. Published documentation example. Verify the actual response after an approved call.
{
"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": ""
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Securities Industry Laws and Regulations Semantic Search API
Performs semantic search at the legal provision level for the securities industry using a natural-language query. Supports filters for validity status, first-level legal authority, and effective date range. Results are in extra.fatiao; each result primarily contains a legal provision and information about its parent regulation, rather than the full text of an entire regulation. To retrieve regulation details, call the regulation detail API with the regulation ID.
## Available implementations
yuandian · Securities Industry Laws and Regulations Semantic Search API: https://openany.si/markets/apis/capabilities/yuandian-securities-industry-laws-and-regulations-semantic-search-api?offering=652c8467-92a2-42c6-a04d-d3edf883c6a1 · $0 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/yuandian-securities-industry-laws-and-regulations-semantic-search-api
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/yuandian/open/law_vector_zq_search
Price: $0 / call
Provider: yuandian
Contract revision: 2
Price source: selected implementation in the OpenAny public API catalog. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```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
}'
```
## API contract
```json
{
"resource_type": "api",
"name": "Securities Industry Laws and Regulations Semantic Search API",
"endpoint": "https://api.openany.si/v1/agent-apis/yuandian/open/law_vector_zq_search",
"method": "POST",
"content_type": "application/json",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Question or query text to search for",
"location": "body",
"name": "query",
"nullable": false,
"pointer": "/query",
"required": true,
"type": "string"
},
{
"description": "Whether to rewrite the query; defaults to `false`",
"location": "body",
"name": "rewrite_flag",
"nullable": false,
"pointer": "/rewrite_flag",
"required": false,
"type": "boolean"
},
{
"description": "Filters for searching laws and regulations; see the field descriptions for details",
"location": "body",
"name": "fatiao_filter",
"nullable": false,
"pointer": "/fatiao_filter",
"required": false,
"type": "object"
},
{
"description": "Number of laws and regulations to return (default 45; cannot exceed the total number retrieved)",
"location": "body",
"name": "return_num",
"nullable": false,
"pointer": "/return_num",
"required": false,
"type": "integer"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "0",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Documentation example (HTTP status set during import)",
"request": {
"body": {
"fatiao_filter": {
"effect1": [
"法律"
],
"sxx": [
"现行有效"
]
},
"query": "内幕交易",
"return_num": 2,
"rewrite_flag": false
},
"headers": {},
"path": {},
"query": {}
},
"response_body": {
"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
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Documentation example (HTTP status set during import)
Published documentation example. Verify the actual response after an approved call.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 4
Review these request fields before running. Keep the published provider and request method unchanged.
query- Question or query text to search for
rewrite_flag- Whether to rewrite the query; defaults to `false`
fatiao_filter- Filters for searching laws and regulations; see the field descriptions for details
return_num- Number of laws and regulations to return (default 45; cannot exceed the total number retrieved)
Terminal · cURLcurl \ '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 }'Check the response
Published response example · Configured HTTP 200; actual status is unverified.
Sample response · not a live result{ "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": "" }
Common questions
Do I need a separate key for every provider?
Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.
Are these providers interchangeable?
No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.
How is this API billed?
API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.
Where do the price and contract come from?
The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.
How do OpenAny Balance and x402 differ?
OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.
Does Playground send a paid request?
Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.