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

# マップ

> 注意: 機能とパフォーマンスが向上した本 API の新しい [v2 バージョン](/ja/api-reference/endpoint/map) が利用可能です。


## OpenAPI

````yaml ja/api-reference/v1-openapi.json POST /map
openapi: 3.0.0
info:
  contact:
    email: support@firecrawl.dev
    name: Firecrawl Support
    url: https://firecrawl.dev/support
  description: Firecrawl サービスと連携して Web サイトのスクレイピングおよびクロール処理を行うための API です。
  title: Firecrawl API
  version: v1
servers:
  - url: https://api.firecrawl.dev/v1
security:
  - bearerAuth: []
paths:
  /map:
    post:
      tags:
        - Mapping
      summary: オプションに基づいて複数のURLをマップする
      operationId: mapUrls
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ignoreSitemap:
                  default: true
                  description: クロール時にサイトマップを無視する。
                  type: boolean
                includeSubdomains:
                  default: true
                  description: サイトのサブドメインを含める
                  type: boolean
                limit:
                  default: 5000
                  description: 返すリンク数の上限
                  maximum: 30000
                  type: integer
                location:
                  description: >-
                    リクエストのロケーション設定。指定した場合、利用可能であれば対応するプロキシを使用し、対応する言語とタイムゾーン設定をエミュレートします。指定しない場合は、デフォルトで「US」が使用されます。
                  properties:
                    country:
                      default: US
                      description: 'ISO 3166-1 alpha-2 形式の国コード（例: 「US」「AU」「DE」「JP」）'
                      pattern: ^[A-Z]{2}$
                      type: string
                    languages:
                      description: >-
                        リクエストに対して優先される言語およびロケール（優先度順）。指定された location
                        の言語が既定値です。詳細は
                        https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Language
                        を参照してください。
                      items:
                        example: en-US
                        type: string
                      type: array
                  type: object
                search:
                  description: >-
                    マッピングに使用する検索クエリです。Alpha フェーズ中は、検索機能の「スマート」な部分は検索結果 500
                    件までに制限されています。ただし、map によってそれ以上の結果が見つかった場合でも、その件数には制限はありません。
                  type: string
                sitemapOnly:
                  default: false
                  description: ウェブサイトのサイトマップに含まれるリンクだけを返す
                  type: boolean
                threatProtection:
                  $ref: '#/components/schemas/ThreatProtectionOverride'
                timeout:
                  description: タイムアウト時間（ミリ秒単位）。デフォルトではタイムアウトは設定されていません。
                  type: integer
                url:
                  description: クロールを開始するベースURL
                  format: uri
                  type: string
              required:
                - url
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MapResponse'
          description: 成功時のレスポンス
        '402':
          content:
            application/json:
              schema:
                properties:
                  error:
                    example: Payment required to access this resource.
                    type: string
                type: object
          description: お支払いが必要です
        '429':
          content:
            application/json:
              schema:
                properties:
                  error:
                    example: >-
                      Request rate limit exceeded. Please wait and try again
                      later.
                    type: string
                type: object
          description: リクエストが多すぎます。
        '500':
          content:
            application/json:
              schema:
                properties:
                  error:
                    example: An unexpected error occurred on the server.
                    type: string
                type: object
          description: サーバーエラー
      security:
        - bearerAuth: []
components:
  schemas:
    ThreatProtectionOverride:
      description: >-
        リクエスト単位の[脅威保護](https://docs.firecrawl.dev/features/threat-protection)オーバーライドです。指定したフィールドは、このリクエストに限り、組織のポリシー内の対応するフィールドを上書きします。省略したフィールドには組織レベルの値がそのまま使用されます。利用するには、チームで脅威保護（エンタープライズ機能）が有効になっている必要があります。そうでない場合、リクエストは
        403 で拒否されます。組織でリクエストのオーバーライドが無効になっている場合、このオブジェクトを含むリクエストはすべて 403
        で拒否されます。チームで脅威保護の適用が必須になっている場合、`mode` に `off` は設定できません。
      properties:
        blacklist:
          description: >-
            常にブロックするドメインです。通常のドメイン（`example.com`）またはワイルドカードグロブ（`*.example.com`）で指定します。プロトコル、パス、ポートは含めないでください。
          items:
            type: string
          maxItems: 1000
          type: array
        blockedTlds:
          description: '無条件でブロックするトップレベルドメインです。先頭のドットを除いた小文字で指定します（例: `zip`）。'
          items:
            type: string
          maxItems: 1000
          type: array
        failurePolicy:
          description: 分類器に接続できない場合の動作です。`closed` はリクエストをブロックし、`open` は許可します。
          enum:
            - open
            - closed
          type: string
        mode:
          description: >-
            このリクエストのURLスキャンモードです。`normal` では URL を Google Web Risk
            でチェックします（スキャン対象の URL 1 件ごとに +2 クレジット）。
          enum:
            - 'off'
            - normal
          type: string
        riskScoreThreshold:
          description: >-
            分類器の判定で URL
            がブロックされる、正規化リスクスコア（0～100）のしきい値です。この値以上でブロックされ、低いほど厳しくなります。
          example: 75
          maximum: 100
          minimum: 0
          type: integer
        whitelist:
          description: 常に許可するドメインです。通常のドメインまたはワイルドカードグロブで指定します。ほかのすべてのルールより優先されます。
          items:
            type: string
          maxItems: 1000
          type: array
      title: Threat Protection Override
      type: object
    MapResponse:
      properties:
        links:
          items:
            type: string
          type: array
        success:
          type: boolean
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````