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

# 銘柄スクリーナーを実行

> 戦略 ID またはカスタム条件でスクリーナーを実行します。



## OpenAPI

````yaml /ja/api-reference/openapi.json get /api/market-data/screener/search
openapi: 3.1.0
info:
  title: Financial Context
  version: 1.0.0
  description: >-
    Financial Context は、認証済みで従量制の読み取り専用 US
    株式市場データアクセスを提供します。`/api/market-data/*` エンドポイントを使用して、`.US` シンボルと `US` market
    フィルターで、クォート、ローソク足、市場カレンダー、ファンダメンタルズ、ニュース、スクリーナー、関連分析にアクセスできます。
servers:
  - url: https://openapi.fcontext.com
    description: 本番環境
security:
  - ApiKeyHeader: []
  - BearerAuth: []
tags:
  - name: クォート
    description: クォート、ローソク足、取引日、板情報、ブローカーキュー、その他の市場データエンドポイント。
  - name: コンテンツ
    description: 証券コンテンツ：ニュースとトピック。
  - name: 市場
    description: 市場ステータス、取引カレンダー、異常な取引活動、ランキング。
  - name: カレンダー
    description: 財務イベントカレンダー。
  - name: ファンダメンタルズ
    description: ファンダメンタルズ、アナリスト評価、バリュエーション、株主、取引開示。
  - name: スクリーナー
    description: スクリーニング戦略、フィルター、指標。
paths:
  /api/market-data/screener/search:
    get:
      tags:
        - スクリーナー
      summary: 銘柄スクリーナーを実行
      description: 戦略 ID またはカスタム条件でスクリーナーを実行します。
      parameters:
        - name: market
          in: query
          required: false
          description: 市場コード。カスタム条件スクリーニングのデフォルトは `US`。戦略 ID で実行する場合は省略します。
          schema:
            type: string
          example: US
        - name: strategy_id
          in: query
          required: false
          description: 戦略 ID。指定すると、スクリーナーはその戦略を実行します。
          schema:
            type: integer
            minimum: 1
          example: 19
        - name: strategyId
          in: query
          required: false
          description: '`strategy_id` の互換エイリアス。'
          schema:
            type: integer
            minimum: 1
          example: 19
        - name: conditions
          in: query
          required: false
          description: カスタムスクリーニング条件。`KEY:MIN:MAX` または JSON 配列をサポートします。
          schema:
            type: string
          example: 'pettm:10:50,roe:5:'
        - name: condition
          in: query
          required: false
          description: '`conditions` の互換エイリアス。'
          schema:
            type: string
          example: 'pettm:10:50,roe:5:'
        - name: show
          in: query
          required: false
          description: 追加表示する指標。カンマ区切りまたは JSON 配列。
          schema:
            type: string
          example: roe,divyld
        - name: page
          in: query
          required: false
          description: 0 始まりのページ番号。デフォルトは 0。
          schema:
            type: integer
            minimum: 0
            default: 0
          example: 0
        - name: size
          in: query
          required: false
          description: 1 ページあたりの項目数。デフォルトは 20、最大 100。
          schema:
            type: integer
            default: 20
            minimum: 1
            maximum: 100
          example: 20
        - name: count
          in: query
          required: false
          description: '`size` の互換エイリアス。'
          schema:
            type: integer
            minimum: 1
            maximum: 100
          example: 20
      responses:
        '200':
          description: スクリーナー結果
          content:
            application/json:
              schema:
                type: object
                properties:
                  results:
                    $ref: '#/components/schemas/ScreenerSearch'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          description: 有料の Financial Context プラン、または残りのデータリクエスト枠が必要です。
        '403':
          description: この認証情報では Financial Context の市場データにアクセスできません。
components:
  schemas:
    ScreenerSearch:
      oneOf:
        - $ref: '#/components/schemas/ScreenerData'
        - type: object
          additionalProperties: true
          properties:
            total:
              type: number
            page:
              type: number
            market:
              type: string
            items:
              type: array
              items:
                type: object
                additionalProperties: true
                properties:
                  symbol:
                    type: string
                  name:
                    type: string
    ScreenerData:
      type: object
      additionalProperties: true
      properties:
        data:
          oneOf:
            - type: string
            - type: object
              additionalProperties: true
            - type: array
              items: {}
    Error:
      type: object
      description: 標準エラーレスポンス。
      additionalProperties: true
      properties:
        error:
          type: string
          description: 人が読めるエラーメッセージ。
  responses:
    BadRequest:
      description: リクエストパラメータが無効です。
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Financial Context 認証情報がない、または無効です。
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: 'Unauthorized: missing API key'
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
      description: 'アカウント設定で生成された Financial Context key。`x-api-key: <key>` として送信します。'
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: OAuth access token
      description: >-
        `market_data` scope を持つ Financial Context CLI、MCP、または agent クライアント向けの
        OAuth bearer token。

````