> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Discover Companies

> <!-- aisa-pricing:start -->
按用量计费；默认请求预估费用：$0.0403 USD（不是固定价格）。 声明的单位费率：每 provider_credit $0.000001 USD。 最终费用以账户适用价格及实际结算为准。
<!-- aisa-pricing:end -->

## 请求规范

* **方法与路径:** POST /apis/v1/predict-leads/discover-companies
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/predict-leads/discover-companies`
* **Runtime 事实版本:** e0bd07e632ad90107c78fe3e2a0a8c42a327ecc682d82122d9d5e59d5ffc93e3

[完整 OpenAPI 定义](https://aisa.one/docs/reference-contracts/zh/predict-leads.json)

有效请求与价格声明（包括认证和引用的 schema）：

```json theme={null}
{
  "operationId": "predict-leads.discover-companies",
  "method": "POST",
  "path": "/apis/v1/predict-leads/discover-companies",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "page": {
              "type": "integer",
              "default": 1,
              "minimum": 1,
              "description": "Provider page number. Page numbering starts at 1."
            },
            "limit": {
              "maximum": 1000,
              "minimum": 1,
              "type": "integer",
              "description": "Maximum companies on this page (1-1000). Charged per returned company, so the conservative default is 5."
            },
            "sizes": {
              "type": "array",
              "items": {
                "enum": [
                  "1",
                  "2-10",
                  "11-50",
                  "51-200",
                  "201-500",
                  "501-1000",
                  "1001-5000",
                  "5001-10000",
                  "10001+"
                ],
                "type": "string"
              },
              "examples": [
                [
                  "11-50",
                  "51-200"
                ]
              ],
              "description": "Employee-size bands to match. Accepts an array or comma-separated string; sent as one comma-separated query value."
            },
            "industry": {
              "type": "string",
              "examples": [
                "software"
              ],
              "description": "Industry text to match."
            },
            "location": {
              "type": "string",
              "examples": [
                "San Francisco, California"
              ],
              "description": "Company location to match."
            },
            "naics_codes": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "examples": [
                [
                  "541511",
                  "541512"
                ]
              ],
              "description": "NAICS codes to match. Accepts an array or comma-separated string; sent as one comma-separated query value."
            },
            "revenue_range_low": {
              "type": "integer",
              "description": "Minimum company revenue. Must not exceed revenue_range_high."
            },
            "revenue_range_high": {
              "type": "integer",
              "description": "Maximum company revenue. Must be at least revenue_range_low."
            }
          },
          "required": [
            "limit"
          ]
        }
      }
    }
  },
  "x-aisa-status": "enabled",
  "x-aisa-pricing": {
    "cost_contract": "response_units",
    "customer_multiplier": 1.0,
    "customer_pricing": "provider_cost_multiplier",
    "default_request_estimate_usd": 0.0403,
    "estimate_source": "profile_seed",
    "evidence_source": "response_body",
    "maximum_units": 10000000,
    "unit": "provider_credit",
    "unit_rate_usd": 1e-06
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 费用与请求规则

按用量计费；默认请求预估费用：\$0.0403 USD（不是固定价格）。 声明的单位费率：每 provider\_credit \$0.000001 USD。 最终费用以账户适用价格及实际结算为准。

公开参考值不是你的账户报价或最终扣费。对于支持 X-AISA-Cost-Mode: quote 的接口，执行前请针对完整请求获取免费报价；执行后通过响应费用元数据和 Usage Logs 核对结算费用。1 USD 等于 1,000,000 个整数 micro-USD。

* **默认请求参考估价（USD）:** 0.0403
* **声明的单位费率（USD）:** 1e-06
* **计费单位:** provider\_credit
* **计费依据:** response\_units
* **公开参考倍率:** 1.0
* **声明的最大计数或单位数:** 10000000
* **结算证据来源:** response\_body


## OpenAPI

````yaml reference-contracts/zh/predict-leads.json POST /apis/v1/predict-leads/discover-companies
openapi: 3.1.0
info:
  description: ''
  title: PredictLeads
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-configured-paths:
    - /apis/v1/predict-leads/companies-connections
    - /apis/v1/predict-leads/companies-discover
    - /apis/v1/predict-leads/companies-enrich
    - /apis/v1/predict-leads/companies-financing-events
    - /apis/v1/predict-leads/companies-github-repositories
    - /apis/v1/predict-leads/companies-job-openings
    - /apis/v1/predict-leads/companies-news-events
    - /apis/v1/predict-leads/companies-products
    - /apis/v1/predict-leads/companies-sec-filings
    - /apis/v1/predict-leads/companies-similar
    - /apis/v1/predict-leads/companies-technology-detections
    - /apis/v1/predict-leads/discover-companies
    - /apis/v1/predict-leads/discover-intelligence
    - /apis/v1/predict-leads/financing-discover
    - /apis/v1/predict-leads/get-company
    - /apis/v1/predict-leads/get-company-intelligence
    - /apis/v1/predict-leads/get-similar-companies
    - /apis/v1/predict-leads/jobs-detail
    - /apis/v1/predict-leads/jobs-discover
    - /apis/v1/predict-leads/news-detail
    - /apis/v1/predict-leads/news-discover
    - /apis/v1/predict-leads/portfolio-companies
    - /apis/v1/predict-leads/products-detail
    - /apis/v1/predict-leads/products-discover
    - /apis/v1/predict-leads/sec-filings-detail
    - /apis/v1/predict-leads/startup-platform-posts
    - /apis/v1/predict-leads/technologies-detail
    - /apis/v1/predict-leads/technologies-detection-detail
    - /apis/v1/predict-leads/technologies-list
    - /apis/v1/predict-leads/technologies-users
  x-aisa-document:
    facts_hash: e0bd07e632ad90107c78fe3e2a0a8c42a327ecc682d82122d9d5e59d5ffc93e3
    generator_version: '3'
    protocol_version: '1'
    schema_version: '1'
    composer_version: '28'
    response_pending:
      - operation_id: predict-leads.companies-enrich
        path: /apis/v1/predict-leads/companies-enrich
        method: GET
        statuses:
          - '200'
        reason: public success response has no authoritative payload declaration
      - operation_id: predict-leads.companies-financing-events
        path: /apis/v1/predict-leads/companies-financing-events
        method: GET
        statuses:
          - '200'
        reason: public success response has no authoritative payload declaration
      - operation_id: predict-leads.companies-github-repositories
        path: /apis/v1/predict-leads/companies-github-repositories
        method: GET
        statuses:
          - '200'
        reason: public success response has no authoritative payload declaration
      - operation_id: predict-leads.companies-similar
        path: /apis/v1/predict-leads/companies-similar
        method: GET
        statuses:
          - '200'
        reason: public success response has no authoritative payload declaration
      - operation_id: predict-leads.companies-technology-detections
        path: /apis/v1/predict-leads/companies-technology-detections
        method: GET
        statuses:
          - '200'
        reason: public success response has no authoritative payload declaration
      - operation_id: predict-leads.jobs-detail
        path: /apis/v1/predict-leads/jobs-detail
        method: GET
        statuses:
          - '200'
        reason: public success response has no authoritative payload declaration
      - operation_id: predict-leads.news-detail
        path: /apis/v1/predict-leads/news-detail
        method: GET
        statuses:
          - '200'
        reason: public success response has no authoritative payload declaration
      - operation_id: predict-leads.portfolio-companies
        path: /apis/v1/predict-leads/portfolio-companies
        method: GET
        statuses:
          - '200'
        reason: public success response has no authoritative payload declaration
      - operation_id: predict-leads.products-detail
        path: /apis/v1/predict-leads/products-detail
        method: GET
        statuses:
          - '200'
        reason: public success response has no authoritative payload declaration
      - operation_id: predict-leads.sec-filings-detail
        path: /apis/v1/predict-leads/sec-filings-detail
        method: GET
        statuses:
          - '200'
        reason: public success response has no authoritative payload declaration
      - operation_id: predict-leads.technologies-detail
        path: /apis/v1/predict-leads/technologies-detail
        method: GET
        statuses:
          - '200'
        reason: public success response has no authoritative payload declaration
      - operation_id: predict-leads.technologies-detection-detail
        path: /apis/v1/predict-leads/technologies-detection-detail
        method: GET
        statuses:
          - '200'
        reason: public success response has no authoritative payload declaration
      - operation_id: predict-leads.technologies-list
        path: /apis/v1/predict-leads/technologies-list
        method: GET
        statuses:
          - '200'
        reason: public success response has no authoritative payload declaration
      - operation_id: predict-leads.technologies-users
        path: /apis/v1/predict-leads/technologies-users
        method: GET
        statuses:
          - '200'
        reason: public success response has no authoritative payload declaration
    document_hash: sha256:05cb5df47a242996d19ef3fcbbeef83e3c345711815f2aba41dc20967c78b0fa
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: predict-leads
  x-aisa-catalogs:
    predict-leads:
      title: PredictLeads
      description: ''
      x-aisa-document:
        facts_hash: e0bd07e632ad90107c78fe3e2a0a8c42a327ecc682d82122d9d5e59d5ffc93e3
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/predict-leads/discover-companies:
    post:
      tags:
        - PredictLeads
      summary: Discover Companies
      description: >-
        <!-- aisa-pricing:start -->

        按用量计费；默认请求预估费用：$0.0403 USD（不是固定价格）。 声明的单位费率：每 provider_credit $0.000001
        USD。 最终费用以账户适用价格及实际结算为准。

        <!-- aisa-pricing:end -->
      operationId: predict-leads.discover-companies
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                page:
                  type: integer
                  default: 1
                  minimum: 1
                  description: Provider page number. Page numbering starts at 1.
                limit:
                  maximum: 1000
                  minimum: 1
                  type: integer
                  description: >-
                    Maximum companies on this page (1-1000). Charged per
                    returned company, so the conservative default is 5.
                sizes:
                  type: array
                  items:
                    enum:
                      - '1'
                      - 2-10
                      - 11-50
                      - 51-200
                      - 201-500
                      - 501-1000
                      - 1001-5000
                      - 5001-10000
                      - 10001+
                    type: string
                  examples:
                    - - 11-50
                      - 51-200
                  description: >-
                    Employee-size bands to match. Accepts an array or
                    comma-separated string; sent as one comma-separated query
                    value.
                industry:
                  type: string
                  examples:
                    - software
                  description: Industry text to match.
                location:
                  type: string
                  examples:
                    - San Francisco, California
                  description: Company location to match.
                naics_codes:
                  type: array
                  items:
                    type: string
                  examples:
                    - - '541511'
                      - '541512'
                  description: >-
                    NAICS codes to match. Accepts an array or comma-separated
                    string; sent as one comma-separated query value.
                revenue_range_low:
                  type: integer
                  description: Minimum company revenue. Must not exceed revenue_range_high.
                revenue_range_high:
                  type: integer
                  description: Maximum company revenue. Must be at least revenue_range_low.
              required:
                - limit
      responses:
        '200':
          description: Tool result data
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Response576A0Ea506F3_connect_PREDICT_LEADS_DISCOVER_COMPANIES__output__public_data
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  schemas:
    Response576A0Ea506F3_connect_PREDICT_LEADS_DISCOVER_COMPANIES__output__public_data:
      $ref: >-
        #/components/schemas/Response576A0Ea506F3_connect_PREDICT_LEADS_DISCOVER_COMPANIES__output__447efeec41fe68e5
    Response576A0Ea506F3_connect_PREDICT_LEADS_DISCOVER_COMPANIES__output__447efeec41fe68e5:
      type: object
      required:
        - meta
      properties:
        data:
          type: array
          items:
            $ref: >-
              #/components/schemas/Response576A0Ea506F3_connect_PREDICT_LEADS_DISCOVER_COMPANIES__output__8bc5ec0c82e969d8
        meta:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_PREDICT_LEADS_DISCOVER_COMPANIES__output__7d5c7e7f4ba22d8d
        included:
          type: array
          items:
            $ref: >-
              #/components/schemas/Response576A0Ea506F3_connect_PREDICT_LEADS_DISCOVER_COMPANIES__output__65c63d6836fa619c
    Response576A0Ea506F3_connect_PREDICT_LEADS_DISCOVER_COMPANIES__output__8bc5ec0c82e969d8:
      type: object
      required:
        - id
        - type
      properties:
        id:
          type: string
        type:
          type: string
        attributes:
          type: object
          additionalProperties: true
        relationships:
          type: object
          additionalProperties: true
    Response576A0Ea506F3_connect_PREDICT_LEADS_DISCOVER_COMPANIES__output__7d5c7e7f4ba22d8d:
      type: object
      properties:
        count:
          type: integer
        record_state:
          type: string
        schema_version:
          type: string
        count_is_estimated:
          type: boolean
    Response576A0Ea506F3_connect_PREDICT_LEADS_DISCOVER_COMPANIES__output__65c63d6836fa619c:
      type: object
      required:
        - id
        - type
      properties:
        id:
          type: string
        type:
          type: string
        attributes:
          type: object
          additionalProperties: true
        relationships:
          type: object
          additionalProperties: true
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.