# Enterprise Search API

Search Yuandian Enterprise via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Yuandian, pass parameters such as name, top_k, and retrieve structured data including business status code, identifier, returned 企业名称 field, returned 统一社会信用代码 field, and reported status to search interfaces and source review, and integration reference, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/yuandian/yuandian-enterprise-search-api/0223439b-21e4-4d5f-9d84-c8046c332b8d/
API ID: 0223439b-21e4-4d5f-9d84-c8046c332b8d
Provider: yuandian
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/yuandian/open/rh_enterpriseSearch
Page update time: 2026-12-04T01:47:27.512Z
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: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

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

## Usage and limits
## Yuandian Enterprise Search API

Search for candidate enterprises by enterprise-name keywords to obtain their enterprise IDs and unified social credit codes first. Provide name in query. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

## What You Can Build

- **Search interfaces and source review**: Keep returned sources and query context together.
- **Integration reference**: Use the selected request format and keep source identifiers with the returned result.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `code` | Business status code |
| `data[].id` | Identifier |
| `data[].企业名称` | Returned 企业名称 field |
| `data[].统一社会信用代码` | Returned 统一社会信用代码 field |
| `status` | Reported status |
| `message` | Response message |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Enterprise 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": {
        "name": {
          "type": "string",
          "description": "Enterprise name"
        },
        "top_k": {
          "type": "integer",
          "description": "Number of results; defaults to 10; range 1~50; out-of-range values use the default"
        }
      },
      "required": [
        "name"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "code": {
      "type": "integer"
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "企业名称": {
            "type": "string"
          },
          "统一社会信用代码": {
            "type": "string"
          }
        }
      }
    },
    "message": {
      "type": "string"
    },
    "status": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Documentation example (HTTP status set during import)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/yuandian/open/rh_enterpriseSearch?name=%E7%99%BE%E5%BA%A6%E7%BD%91%E8%AE%AF&top_k=10' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Configured HTTP 200; actual status is unverified.
```json
{
  "code": 200,
  "data": [
    {
      "id": "a80a4cc8-9954-4dd3-bcaf-aebb99487b14",
      "企业名称": "北京百度网讯科技有限公司",
      "统一社会信用代码": "91110000802100433B"
    },
    {
      "id": "63df0ffb-2c04-4a87-955a-dd4af21e62bb",
      "企业名称": "北京百度网讯科技有限公司深圳分公司",
      "统一社会信用代码": "914403006748096152"
    },
    {
      "id": "7362097b-ee0c-4aa5-b14d-7a499c5283f7",
      "企业名称": "北京百度网讯科技有限公司东莞分公司",
      "统一社会信用代码": "914419006751765224"
    },
    {
      "id": "eb462768-37b5-4d60-b55e-9ffc25c1cd37",
      "企业名称": "北京百度网讯科技有限公司广州分公司",
      "统一社会信用代码": "91440101675657502F"
    },
    {
      "id": "68e55e77-06b6-4e6f-a0d2-0115e4ed298b",
      "企业名称": "北京百度网讯科技有限公司上海分公司",
      "统一社会信用代码": "91310114674598440W"
    },
    {
      "id": "12a600b2-79c1-4b9f-b96b-40045c749f7e",
      "企业名称": "福州百度网讯网络科技有限公司",
      "统一社会信用代码": "91350102MA2XW3LD3F"
    },
    {
      "id": "f6afc0e6-2ee1-4c7e-b106-21ffc27f6505",
      "企业名称": "北京百度网讯科技有限公司西安分公司",
      "统一社会信用代码": "91610131592209907Q"
    },
    {
      "id": "7489b383-b2d1-485a-8cc8-c68203074f10",
      "企业名称": "北京百度网讯科技有限公司重庆分公司",
      "统一社会信用代码": "91500000588927949C"
    },
    {
      "id": "308177f3-9f0a-4c0e-bd5f-0bcc70557669",
      "企业名称": "北京百度网讯科技有限公司南京分公司",
      "统一社会信用代码": "91320104070740629E"
    },
    {
      "id": "c751d3b8-e48a-475d-b11f-492bed03d0ae",
      "企业名称": "北京百度网讯科技有限公司佛山分公司",
      "统一社会信用代码": ""
    }
  ],
  "message": "请求成功",
  "status": "success"
}
```

## 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.

## Common questions
### Which inputs identify this request?
Provide name in query (string). Keep identifiers and URLs in the formats documented for this implementation.

### What type does top_k use?
top_k uses the JSON type integer in query. Preserve that type; strings, numbers, booleans and arrays are not interchangeable.

### Where do URL parameters belong?
Use the documented path and query inputs. This GET implementation does not use a JSON request body; keep path values and URL query values in their declared locations.

### How should I map the returned fields?
Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

## Available implementations
- yuandian: https://openany.si/yuandian/yuandian-enterprise-search-api/0223439b-21e4-4d5f-9d84-c8046c332b8d/

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