# OnPage タスクの設定

**API:** Data API

**Endpoint:** `POST /v1/beta/dataforseo/on_page/task_post`

**Tags:** DataForSEO

`target` のクロールを開始し、`tasks[0].id` でタスク `id` を返します。**この id が、このファミリーの他のすべてのツールが必要とするハンドルです**。必ず保持してください。`max_crawl_pages` がクロールの上限を決め、`start_url`、`max_crawl_depth`、`priority_urls`、`crawl_delay` がその形を定め、`store_raw_html` が後で `post_dataforseo_on_page_raw_html` に返すものがあるかどうかを決めます。DataForSEO のエンベロープに包まれます。データは `tasks[0].result`、結果は `tasks[0].status_code` に格納され、拒否されたリクエストでも HTTP 200 が返ります。⚠️ これは一般的な送信／取得のペアではありません。クロールはセッションであり、その後に十数個のツールが id で照会します。`crawl_progress` が `finished` になるまで `get_dataforseo_on_page_summary` をポーリングしてください。example.com の 1 ページのクロールは 1 分もかかりませんでした。

### 料金の参考情報

- 計測方法：報告されたレスポンスコスト。
- 参考リクエスト見積もり：0.003 USD。
- 参照用の顧客乗数：1.0。確定済みの顧客金額に再適用しないでください。

参照用のメタデータのみであり、アカウントへの見積もり、保証された価格、支出上限ではありません。リソースクレジットは Felo クレジットではありません。最終的な請求は Felo の請求記録に従います。

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Request body

Required: **no**

### application/json

Schema:

```json
{
  "type": "array",
  "items": {
    "type": [
      "object",
      "null"
    ],
    "oneOf": [
      {
        "type": "object",
        "properties": {
          "target": {
            "type": "string",
            "description": "<em>対象ドメイン</em><br><strong>必須フィールド</strong><br>ドメイン名は <code>https://</code> と <code>www.</code> を付けずに指定してください<br>ページ URL を指定した場合、その URL に含まれるドメインの結果が返されます"
          },
          "max_crawl_pages": {
            "type": "integer",
            "description": "<em>クロールするページ数の上限</em><br><strong>必須フィールド</strong><br>指定したドメインでクロールするページ数<br><strong>注意：</strong><br><code>max_crawl_pages</code> を 1 に設定し、<code>start_url</code> を指定しないかホームページを設定した場合、次のサイト全体チェックが無効になります：<br><code>test_canonicalization</code>、<code>enable_www_redirect_check</code>、<code>test_hidden_server_signature</code>、<code>test_page_not_found</code>、<code>test_directory_browsing</code>、<code>test_https_redirect</code><br>強制的に有効にするには、<code>force_sitewide_checks</code> を <code>true</code> に設定します。<code>max_crawl_pages</code> を 1 に設定し、<code>start_url</code> にホームページ以外を指定した場合、すべてのサイト全体チェックが無効になります。<br>強制的に有効にするには、<code>force_sitewide_checks</code> を <code>true</code> に設定します"
          },
          "start_url": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>クロールする最初の URL</em><br>任意フィールド<br><strong>注意：</strong>絶対 URL を指定してください<br>単一ページをクロールする場合は、このフィールドにその URL を指定し、さらに <code>max_crawl_pages</code> パラメータを <code>1</code> に設定します<br>ページ固有のデータを取得するには、<a href=\"/v3/on_page/instant_pages/?bash\" target=\"_blank\" rel=\"noopener noreferrer\">ライブ Instant Pages エンドポイント</a>も使用できます"
          },
          "force_sitewide_checks": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "<em>単一ページのクロール時にサイト全体チェックを有効化</em><br>任意フィールド<br>単一ページをクロールするときにサイト全体チェックのデータを取得する場合は <code>true</code> に設定します。<br>デフォルト値：<code>false</code>"
          },
          "priority_urls": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "description": "<em>キューをバイパスしてクロールする URL</em><br>任意フィールド<br>この配列で指定した URL は、クロールキューをバイパスして最初にクロールされます。<br><strong>注意：</strong>絶対 URL を指定してください。<br>最大 <strong>20 個の URL</strong> を指定できます。<br>配列内のすべての URL は <code>target</code> ドメインに属している必要があります。<br><code>allow_subdomains</code> パラメータを <code>true</code> に設定しない限り、サブドメインは無視されます。例：<br>`\"priority_urls\": [<br>\"https://dataforseo.com/apis/serp-api\",<br>\"https://dataforseo.com/contact\"<br>]`"
          },
          "max_crawl_depth": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<em>クロールの深さ</em><br>任意フィールド<br>クロールするページのリンクの深さ。<br>たとえば、クロールの開始ページがレベル 0、そのページからのリンクがあるページがレベル 1 になります。"
          },
          "crawl_delay": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<em>ヒット間の遅延（ミリ秒）</em><br>任意フィールド<br>クローラーがサーバーへアクセスする際のヒット間のカスタム遅延<br>デフォルト値：<code>2000</code>"
          },
          "store_raw_html": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "<em>クロールしたページの HTML を保存</em><br>任意フィールド<br><a href=\"/v3/on_page/raw_html/\" target=\"_blank\" rel=\"noopener noreferrer\">OnPage Raw HTML エンドポイント</a>を使用してページの HTML を取得する場合は <code>true</code> に設定します<br>デフォルト値：<code>false</code>"
          },
          "enable_content_parsing": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "<em>クロールしたページのコンテンツを解析</em><br>任意フィールド<br><code>true</code> に設定すると、<a href=\"/v3/on_page/content_parsing/live/\" target=\"_blank\" rel=\"noopener noreferrer\">OnPage Content Parsing エンドポイント</a>を使用します<br>デフォルト値：<code>false</code>"
          },
          "support_cookies": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "<em>クロールしたページで Cookie をサポート</em><br>任意フィールド<br>ページをクロールするときに Cookie をサポートするには <code>true</code> に設定します<br>デフォルト値：<code>false</code>"
          },
          "accept_language": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>ウェブサイトにアクセスするための言語ヘッダー</em><br>任意フィールド<br>すべてのロケール形式をサポートしています（xx、xx-XX、xxx-XX など）<br><strong>注意：</strong>このパラメーターを指定しない場合、一部のウェブサイトがアクセスを拒否することがあります。その場合、レスポンス配列のページには <code>\"type\":\"broken</code> が付きます"
          },
          "custom_robots_txt": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>カスタム robots.txt 設定</em><br>任意フィールド<br>例：<code>Disallow: /directory1/</code>"
          },
          "robots_txt_merge_mode": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>robots.txt 設定のマージまたは上書き</em><br>任意フィールド<br>使用可能な値：<code>merge</code>、<code>override</code><br>ウェブサイトのクロール制限やその他の robots.txt 設定を無視する場合は <code>override</code> に設定します<br>デフォルト値：<code>merge</code><br><strong>注意：</strong><code>override</code> に設定する場合は、<code>custom_robots_txt</code> パラメータを指定してください"
          },
          "custom_user_agent": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>カスタムユーザーエージェント</em><br>任意フィールド<br>ウェブサイトをクロールするためのカスタムユーザーエージェント<br>例： <code>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36<br></code><br>デフォルト値：<code>Mozilla/5.0 (compatible; RSiteAuditor)</code>"
          },
          "browser_preset": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>ブラウザースクリーンパラメーターのプリセット</em><br>任意フィールド<br>このフィールドを使用する場合、<code>browser_screen_width</code>、<code>browser_screen_height</code>、<code>browser_screen_scale_factor</code> を指定する必要はありません可能な値：<br><code>desktop</code>、<code>mobile</code>、<code>tablet</code><code>desktop</code> プリセットでは次の値が適用されます：<code>browser_screen_width: 1920</code><br><code>browser_screen_height: 1080</code><br><code>browser_screen_scale_factor: 1</code><code>mobile</code> プリセットでは次の値が適用されます：<code>browser_screen_width: 390</code><br><code>browser_screen_height: 844</code><br><code>browser_screen_scale_factor: 3</code><code>tablet</code> プリセットでは次の値が適用されます：<code>browser_screen_width: 1024</code><br><code>browser_screen_height: 1366</code><br><code>browser_screen_scale_factor: 2</code><br><strong>注意：</strong>このパラメーターを使用するには、<code>enable_javascript</code> または <code>enable_browser_rendering</code> を <code>true</code> に設定します"
          },
          "browser_screen_width": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<em>ブラウザースクリーンの幅</em><br>任意フィールド<br>特定のデバイス向けの監査を実行するために、ブラウザースクリーンの幅をカスタム設定できます；<br>このフィールドを使用する場合、<code>browser_preset</code> は無視されるため指定する必要はありません；<br><strong>注意：</strong>このパラメーターを使用するには、<code>enable_javascript</code> または <code>enable_browser_rendering</code> を <code>true</code> に設定します最小値（ピクセル）：<code>240</code><br>最大値（ピクセル）：<code>9999</code>",
            "format": "int64"
          },
          "browser_screen_height": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<em>ブラウザースクリーンの高さ</em><br>任意フィールド<br>特定のデバイス向けの監査を実行するために、ブラウザースクリーンの高さをカスタム設定できます；<br>このフィールドを使用する場合、<code>browser_preset</code> は無視されるため指定する必要はありません；<br><strong>注意：</strong>このパラメーターを使用するには、<code>enable_javascript</code> または <code>enable_browser_rendering</code> を <code>true</code> に設定します最小値（ピクセル）：<code>240</code><br>最大値（ピクセル）：<code>9999</code>"
          },
          "browser_screen_scale_factor": {
            "type": [
              "number",
              "null"
            ],
            "description": "<em>ブラウザースクリーンのスケール係数</em><br>任意フィールド<br>特定のデバイス向けの監査を実行するために、ブラウザースクリーンの解像度比をカスタム設定できます；<br>このフィールドを使用する場合、<code>browser_preset</code> は無視されるため指定する必要はありません；<br><strong>注意：</strong>このパラメーターを使用するには、<code>enable_javascript</code> または <code>enable_browser_rendering</code> を <code>true</code> に設定します最小値：<code>0.5</code><br>最大値：<code>3</code>"
          },
          "respect_sitemap": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "<em>クロール時にサイトマップを優先</em><br>任意フィールド<br>クロール時にプライマリサイトマップに記載されたページ順に従う場合は <code>true</code> に設定します。<br>デフォルト値：<code>false</code><br><strong>注意：</strong><code>true</code> に設定すると、API レスポンスの <code>click_depth</code> 値は <code>0</code> になります。<br>リクエストの <code>max_crawl_depth</code> フィールドは無視されます。クロールするページ数は <code>max_crawl_pages</code> パラメータで指定できます"
          },
          "custom_sitemap": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>カスタムサイトマップ URL</em><br>任意フィールド<br>代替サイトマップが置かれているページの URL<br><strong>注意：</strong>このパラメータを使用するには、<code>respect_sitemap</code> が <code>true</code> である必要があります"
          },
          "crawl_sitemap_only": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "<em>サイトマップに記載されたページのみをクロール</em><br>任意フィールド<br>サイトマップに記載されたページのみをクロールする場合は <code>true</code> に設定します<br>このパラメータを <code>true</code> に設定し、<code>custom_sitemap</code> を指定しない場合は、デフォルトのサイトマップがクロールされます<br>デフォルト値：<code>false</code><br><strong>注意：</strong>このパラメータを使用するには、<code>respect_sitemap</code> が <code>true</code> である必要があります"
          },
          "load_resources": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "<em>リソースを読み込む</em><br>任意フィールド<br>画像、スタイルシート、スクリプト、壊れたリソースを読み込む場合は <code>true</code> に設定します<br>デフォルト値：<code>false</code><br><strong>注意：</strong>このパラメータを使用すると追加料金が発生します。このパラメータを使用したタスクのコストについては<a href=\"https://dataforseo.com/help-center/cost-of-onpage-api-parameters\" target=\"_blank\" rel=\"noopener noreferrer\">ヘルプ記事</a>をご覧ください。コストは<a href=\"https://dataforseo.com/pricing/on-page/onpage-api\" target=\"_blank\" rel=\"noopener noreferrer\">料金ページ</a>で計算できます"
          },
          "enable_www_redirect_check": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "<em>ドメインが www リダイレクトを実装しているか確認</em><br>任意フィールド<br>リクエストされたドメインが www から非 www、または非 www から www へのリダイレクトを実装しているかを確認する場合は <code>true</code> に設定します。<br>デフォルト値：<code>false</code>"
          },
          "enable_javascript": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "<em>ページで JavaScript を読み込む</em><br>任意フィールド<br>ページで利用可能なスクリプトを読み込む場合は <code>true</code> に設定します<br>デフォルト値：<code>false</code><br><strong>注意：</strong>このパラメータを使用すると追加料金が発生します。このパラメータを使用したタスクのコストについては<a href=\"https://dataforseo.com/help-center/cost-of-onpage-api-parameters\" target=\"_blank\" rel=\"noopener noreferrer\">ヘルプ記事</a>をご覧ください。コストは<a href=\"https://dataforseo.com/pricing/on-page/onpage-api\" target=\"_blank\" rel=\"noopener noreferrer\">料金ページ</a>で計算できます"
          },
          "enable_xhr": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "<em>ページで XMLHttpRequest を有効化</em><br>任意フィールド<br>クローラーが XMLHttpRequest オブジェクトを使用してウェブサーバーからデータを要求する場合は <code>true</code> に設定します<br>デフォルト値：<code>false</code>。このフィールドを使用する場合、<code>enable_javascript</code> を <code>true</code> に設定する必要があります。"
          },
          "enable_browser_rendering": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "<em>Core Web Vitals を測定するためにブラウザレンダリングをエミュレート</em><br>任意フィールド<br>このパラメータを使用すると、ウェブページの読み込み時にブラウザをエミュレートできます。<br><code>enable_browser_rendering</code> は、ページ上のスタイル、画像、フォント、アニメーション、動画などのリソースを読み込みます。<br>デフォルト値：<code>false</code><br>レスポンスで Core Web Vitals（FID、CLS、LCP）の指標を取得するには <code>true</code> に設定します。<br><strong>このフィールドを使用する場合、<code>enable_javascript</code> と <code>load_resources</code> パラメータを <code>true</code> に設定する必要があります</strong><br><strong>注意：</strong>このパラメータを使用すると追加料金が発生します。このパラメータを使用したタスクのコストについては<a href=\"https://dataforseo.com/help-center/cost-of-onpage-api-parameters\" target=\"_blank\" rel=\"noopener noreferrer\">ヘルプ記事</a>をご覧ください。コストは<a href=\"https://dataforseo.com/pricing/on-page/onpage-api\" target=\"_blank\" rel=\"noopener noreferrer\">料金ページ</a>で計算できます"
          },
          "disable_cookie_popup": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "<em>Cookie ポップアップを無効化</em><br>任意フィールド<br>ユーザーに Cookie の同意を求めるポップアップを無効にする場合は <code>true</code> に設定します。<br>デフォルト値：<br><code>false</code>"
          },
          "custom_js": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>カスタム JavaScript</em><br>任意フィールド<br><strong>注意</strong>：ここに入力するスクリプトの実行時間は最大 700 ms にしてください。たとえば、次の JS スニペットを使用すると、ウェブサイトに Google Tag Manager が <code>scr</code> 属性として含まれているかを確認できます：<br><code>let meta = { haveGoogleAnalytics: false, haveTagManager: false };rnfor (var i = 0; i &lt; document.scripts.length; i++) {rn let src = document.scripts[i].getAttribute(\"src\");rn if (src != undefined) {rn if (src.indexOf(\"analytics.js\") &gt;= 0)rn      meta.haveGoogleAnalytics = true;rntif (src.indexOf(\"gtm.js\") &gt;= 0)rn      meta.haveTagManager = true;rn  }rn}rnmeta;</code>戻り値は、このフィールドに指定した内容によって異なります。たとえば、次のスクリプトを指定した場合：<br>`meta = {}; meta.url = document.URL; meta.test = 'test'; meta;`<br>レスポンスとして次のデータが返されます：<br>`\"custom_js_response\": {<br>\"url\": \"https://dataforseo.com/\",<br>\"test\": \"test\"<br>}`<br><strong>注意：</strong>入力するスクリプトの長さは 2000 文字以内である必要があります"
          },
          "validate_micromarkup": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "<em>マイクロデータ検証を有効化</em><br>任意フィールド<br><a href=\"/v3/on_page/microdata/\" target=\"_blank\" rel=\"noopener noreferrer\">OnPage API Microdata エンドポイント</a>を使用する場合は <code>true</code> に設定します<br>デフォルト値：<code>false</code>"
          },
          "allow_subdomains": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "<em>サブドメインのページを含める</em><br>任意フィールド<br>対象ウェブサイトのすべてのサブドメインをクロールする場合は <code>true</code> に設定します<br>デフォルト値：<code>false</code>"
          },
          "allowed_subdomains": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "description": "<em>クロールするサブドメイン</em><br>任意フィールド<br>クロールするサブドメインを指定します<br>例：<code>[\"blog.site.com\", \"my.site.com\", \"shop.site.com\"]</code><br><strong>注意：</strong>このパラメーターを使用するには、<code>allow_subdomains</code> パラメーターを <code>false</code> に設定する必要があります；<br>それ以外の場合、<code>allowed_subdomains</code> フィールドの内容は無視され、すべてのサブドメインの結果が返されます"
          },
          "disallowed_subdomains": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "description": "<em>クロールしないサブドメイン</em><br>任意フィールド<br>クロールしたくないサブドメインを指定します<br>例：<code>[\"status.site.com\", \"docs.site.com\"]</code><br><strong>注意：</strong>このパラメータを使用するには、<code>allow_subdomains</code> パラメータを <code>true</code> に設定する必要があります"
          },
          "check_spell": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "<em>スペルをチェックする</em><br>任意フィールド<br><code>true</code> に設定すると、<a href=\"http://hunspell.github.io/\" target=\"_blank\" rel=\"noopener noreferrer\">Hunspell</a> ライブラリを使用してウェブサイトのスペルをチェックします<br>デフォルト値：<code>false</code>"
          },
          "check_spell_language": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>スペルチェックの言語</em><br>任意フィールド<br>サポートされている言語：'hy', 'eu', 'bg', 'ca', 'hr', 'cs', 'da', 'nl', 'en', 'eo', 'et', 'fo', 'fa', 'fr', 'fy', 'gl', 'ka', 'de', 'el', 'he', 'hu', 'is', 'ia', 'ga', 'it', 'rw', 'la', 'lv', 'lt', 'mk', 'mn', 'ne', 'nb', 'nn', 'pl', 'pt', 'ro', 'gd', 'sr', 'sk', 'sl', 'es', 'sv', 'tr', 'tk', 'uk', 'vi'<br><strong>注意：</strong>言語を指定しない場合、ページの内容に基づいて自動的に設定されます"
          },
          "check_spell_exceptions": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "description": "<em>スペルチェックから除外する単語</em><br>任意フィールド<br>スペルチェックから除外する単語を指定します<br>単語の最大長：100 文字<br>単語の最大数：1000<br>例： <code>\"SERP\", \"minifiers\", \"JavaScript\"</code>"
          },
          "calculate_keyword_density": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "<em>対象ドメインのキーワード密度を計算</em><br>任意フィールド<br>ウェブサイトのページのキーワード密度を計算する場合は <code>true</code> に設定します<br>デフォルト値：<code>false</code><br><strong>注意：</strong>このパラメーターを使用すると追加料金が発生します。このパラメーターを使用するタスクのコストの詳細については、<a href=\"https://dataforseo.com/help-center/cost-of-onpage-api-parameters\" target=\"_blank\" rel=\"noopener noreferrer\">ヘルプ記事</a>をご覧ください<br>クロールが完了すると、<a href=\"/v3/on_page/keyword_density?bash\" target=\"_blank\" rel=\"noopener noreferrer\">Keyword Density エンドポイント</a>でキーワード密度の値を取得できます"
          },
          "checks_threshold": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": {
              "type": [
                "integer",
                "null"
              ],
              "format": "int64"
            },
            "description": "<em>チェックのカスタムしきい値</em><br>任意フィールド<br>OnPage API レスポンスの <code>checks</code> オブジェクトに含まれるパラメーターに、カスタムしきい値を指定できます；<br><strong>注意：</strong>変更できるのは整数のしきい値のみです；<br>たとえば、<code>high_loading_time</code> と <code>large_page_size</code> パラメーターはデフォルトでそれぞれ 3 秒と 1 メガバイトに設定されています；<br>これらのしきい値を 1 秒と 1000 KB に変更する場合は、次のスニペットを使用します：<br>`\"checks_threshold\": {<br>\"high_loading_time\": 1,<br>\"large_page_size\": 1000<br>}`<br>カスタマイズ可能なパラメーターとデフォルト値：<br>`\"title_too_short\", default value: 30, type: \"int\"<br>\"title_too_long\", default value: 65, type: \"int\"<br>\"small_page_size\", default value: 1024, type: \"int\"<br>\"large_page_size\", default value: 1048576 (1024 * 1024), type: \"int\"<br>\"low_character_count\", default value: 1024, type: \"int\"<br>\"high_character_count\", default value: 256000 (250 * 1024), type: \"int\"<br>\"low_content_rate\", default value: 0.1, type: \"float\"<br>\"high_content_rate\", default value: 0.9, type: \"float\"<br>\"high_loading_time\", default value: 3000, type: \"int\"<br>\"high_waiting_time\", default value: 1500, type: \"int\"<br>\"low_readability_rate\", default value: 15.0, type: \"float\"<br>\"irrelevant_description\", default value: 0.2, type: \"float\"<br>\"irrelevant_title\", default value: 0.3, type: \"float\"<br>\"irrelevant_meta_keywords\", default value: 0.6, type: \"float\"`"
          },
          "disable_sitewide_checks": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "description": "<em>特定のサイト全体チェックの実行を防止</em><br>任意フィールド<br>次の <code>checks</code> を指定して、<code>target</code> ウェブサイトでの実行を防ぎます：<br><code>\"test_page_not_found\"</code><br><code>\"test_canonicalization\"</code><br><code>\"test_https_redirect\"</code><br><code>\"test_directory_browsing\"</code>例：<br><code>\"disable_sitewide_checks\": [\"test_directory_browsing\", \"test_page_not_found\"]</code>詳細は<a href=\"https://dataforseo.com/help-center/how-to-disable-sitewide-checks-in-onpage-api\" target=\"_blank\" rel=\"noopener noreferrer\">ヘルプセンター</a>をご覧ください"
          },
          "disable_page_checks": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "description": "<em>特定のページチェックの実行を防止</em><br>任意フィールド<br>特定の <code>checks</code> を指定して、実行と <code>onpage_score</code> への影響を防ぎます。例：<br><code>\"disable_page_checks\": [\"is_5xx_code\", \"is_4xx_code\"]</code>"
          },
          "switch_pool": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "<em>プロキシプールを切り替える</em><br>任意フィールド<br><code>true</code> の場合、要求されたデータの取得に追加のプロキシプールが使用されます；<br>多数のタスクを同時に設定したために <code>rate-limit</code> や <code>site_unreachable</code> エラーが発生することがある場合、このパラメーターを使用できます"
          },
          "return_despite_timeout": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "<em>タイムアウトエラーでもページのデータを返す</em><br>任意フィールド<br><code>true</code> の場合、120 秒以内に読み込みに失敗しタイムアウトエラーを返したページのデータが提供されます。<br>デフォルト値：<code>false</code>"
          },
          "tag": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>ユーザー定義のタスク識別子</em><br>任意フィールド<br><em>文字数上限は 255 です</em><br>このパラメーターを使ってタスクを識別し、結果と照合できます<br>指定した <code>tag</code> の値は、レスポンスの <code>data</code> オブジェクトに含まれます"
          },
          "pingback_url": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>タスク完了通知の URL</em><br>任意フィールド<br>タスクが完了すると、指定した URL に GET リクエストを送信して通知します<br>‘$id’ 文字列を <code>$id</code> 変数として、‘$tag’ を URL エンコードされた <code>$tag</code> 変数として使用できます。リクエストの送信前に必要な値を設定します。<br>例:<br><code>http://your-server.com/pingscript?id=$id</code><br><code>http://your-server.com/pingscript?id=$id&amp;tag=$tag</code><br><strong>注意:</strong> <code>pingback_url</code> 内の特殊文字は URL エンコードされます<br>たとえば、<code>#</code> 文字は <code>%23</code> にエンコードされます<p>詳細については、<a href=\"https://dataforseo.com/help-center/pingbacks-postbacks-with-dataforseo-api\" target=\"_blank\" rel=\"noopener noreferrer\">ヘルプセンター</a>を参照してください"
          }
        },
        "example": [
          {
            "target": "dataforseo.com",
            "max_crawl_pages": 10,
            "load_resources": true,
            "enable_javascript": true,
            "custom_js": "meta = {}; meta.url = document.URL; meta;",
            "tag": "some_string_123",
            "pingback_url": "https://your-server.com/pingscript?id=$id&tag=$tag"
          }
        ]
      }
    ]
  },
  "example": [
    {
      "target": "dataforseo.com",
      "max_crawl_pages": 10,
      "load_resources": true,
      "enable_javascript": true,
      "custom_js": "meta = {}; meta.url = document.URL; meta;",
      "tag": "some_string_123",
      "pingback_url": "https://your-server.com/pingscript?id=$id&tag=$tag"
    }
  ]
}
```

## Responses

### 200 — 操作成功

Headers:
- `X-Request-Id` (string) — Felo サポートに問い合わせる際に伝えるリクエスト識別子。

**application/json**

Schema: object | null

```json
{
  "type": [
    "object",
    "null"
  ],
  "oneOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_OnPageTaskPostResponseInfo"
    }
  ]
}
```

### 400 — リクエストを処理できませんでした。リクエストパラメータを確認してください。

### 401 — 有効な Felo API キーが必要です。

### 402 — 請求要件が満たされていないため、リクエストを続行できません。

### 403 — このアカウントにはこの操作を行う権限がありません。

### 429 — リクエストまたは支出の上限に達しました。

### 502 — サービスがリクエストを完了できませんでした。

### 503 — API または請求サービスが一時的に利用できません。

### 504 — リクエストの処理中にサービスがタイムアウトしました。

### default — エラーレスポンス。上流のパススルーレスポンスはプロバイダーの形式を使用する場合があります

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_BaseResponseInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseInfo`

```json
{
  "properties": {
    "version": {
      "type": [
        "string",
        "null"
      ],
      "description": "API の現在のバージョン"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "一般的なステータスコード\nレスポンスコードの完全な一覧はこちらです"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "一般的な情報メッセージ\n一般的な情報メッセージの完全な一覧はこちらです"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "合計実行時間（秒）"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "タスクの総コスト（USD）",
      "format": "double"
    },
    "tasks_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "tasks 配列内のタスク数",
      "format": "int64"
    },
    "tasks_error": {
      "type": [
        "integer",
        "null"
      ],
      "description": "エラーで返された tasks 配列内のタスク数",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseTaskInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo`

```json
{
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "タスク識別子\n当社システム内で UUID 形式の一意のタスク識別子"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "タスクのステータスコード\nDataForSEO によって生成され、次の範囲の値になります: 10000-60000\nレスポンスコードの完全な一覧はこちらです"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "タスクの情報メッセージ\n一般的な情報メッセージの完全な一覧はこちらです"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "実行時間（秒）"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "タスクの総コスト（USD）",
      "format": "double"
    },
    "result_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "result 配列内の要素数",
      "format": "int64"
    },
    "path": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "URL パス"
    },
    "data": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "object",
          "null"
        ]
      },
      "description": "POST リクエストで指定したものと同じパラメーターを含みます"
    }
  }
}
```

### Response36Afe1097B20_OnPageTaskPostResponseInfo

`#/components/schemas/Response36Afe1097B20_OnPageTaskPostResponseInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseInfo"
    },
    {
      "type": "object",
      "properties": {
        "tasks": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_OnPageTaskPostTaskInfo"
              }
            ]
          },
          "description": "<em>タスクの配列</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_OnPageTaskPostTaskInfo

`#/components/schemas/Response36Afe1097B20_OnPageTaskPostTaskInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo"
    },
    {
      "type": "object",
      "properties": {
        "result": {
          "type": [
            "object",
            "null"
          ],
          "description": "<em>結果の配列</em><br>この場合、値は <code>null</code> になります"
        }
      }
    }
  ]
}
```
