Asalebeta
ツール市場
ウェブコンテンツ

Content Parsing Live

ContentParsingLive

呼び出しテスト
料金
0.000150 USDT / リクエスト
状態
利用可能
公式参考価格
0.000150 USDT / リクエスト
呼び出し方法
REST · MCP

呼び出しテスト

実行をクリックすると送信されます。入力内容と費用上限を先に確認してください。

入力パラメーターJSON

表示は開始価格です。入力内容の見積もりを取得してください。完了後、実際の使用量で精算し、差額を返金します。

ログイン

テストにはアカウント残高を使用し、選択したキーの予算が適用されます。費用上限は今回の API 呼び出しのみを対象とし、後続の呼び出しや上流の定期タスクは含みません。

実行結果

テストを実行すると、状態、費用、応答をここで確認できます。

API リファレンス

非同期の作成処理が成功すると受付 ID が返されます。その ID をプロバイダーの状態・結果 API に渡し、タスクの完了を確認してください。

curl https://gw.asale.ai/v1/tool-runs \
  -H 'Authorization: Bearer <ASALE_API_KEY>' \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: <UNIQUE_REQUEST_ID>' \
  -d '{
  "tool": "on.page.content.parsing.live",
  "input": {
    "body": [
      {}
    ]
  },
  "max_cost_micros": 150
}'
curl https://gw.asale.ai/v1/tool-runs/<RUN_ID> -H 'Authorization: Bearer <ASALE_API_KEY>'
パラメーター必須
bodyいいえarray
入力スキーマ全体
{
  "$defs": {
    "OnPageContentParsingLiveRequestInfo": {
      "properties": {
        "accept_language": {
          "anyOf": [
            {
              "description": "language header for accessing the websiteoptional fieldall locale formats are supported (xx, xx-XX, xxx-XX, etc.)Note: if you do not specify this parameter, some websites may deny access; in this case, pages will be returned with the \"type\":\"broken in the response array",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "browser_preset": {
          "anyOf": [
            {
              "description": "preset for browser screen parametersoptional fieldif you use this field, you don't need to indicate browser_screen_width, browser_screen_height, browser_screen_scale_factor possible values:desktop, mobile, tablet desktop preset will apply the following values: browser_screen_width: 1920browser_screen_height: 1080browser_screen_scale_factor: 1 mobile preset will apply the following values: browser_screen_width: 390browser_screen_height: 844br",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "browser_screen_height": {
          "anyOf": [
            {
              "description": "browser screen heightoptional fieldyou can set a custom browser screen height to perform audit for a particular device;if you use this field, you don't need to indicate browser_preset as it will be ignored; Note: to use this parameter, set enable_javascript or enable_browser_rendering to true minimum value, in pixels: 240maximum value, in pixels: 9999",
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "browser_screen_scale_factor": {
          "anyOf": [
            {
              "description": "browser screen scale factoroptional fieldyou can set a custom browser screen resolution ratio to perform audit for a particular device;if you use this field, you don't need to indicate browser_preset as it will be ignored; Note: to use this parameter, set enable_javascript or enable_browser_rendering to true minimum value: 0.5maximum value: 3",
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "browser_screen_width": {
          "anyOf": [
            {
              "description": "browser screen widthoptional fieldyou can set a custom browser screen width to perform audit for a particular device;if you use this field, you don't need to indicate browser_preset as it will be ignored; Note: to use this parameter, set enable_javascript or enable_browser_rendering to true minimum value, in pixels: 240maximum value, in pixels: 9999",
              "format": "int64",
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "custom_user_agent": {
          "anyOf": [
            {
              "description": "custom user agentoptional fieldcustom user agent for crawling a websiteexample: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36default value: Mozilla/5.0 (compatible; RSiteAuditor)",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "disable_cookie_popup": {
          "anyOf": [
            {
              "description": "disable the cookie popup optional fieldset to true if you want to disable the popup requesting cookie consent from the user;default value:false",
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ]
        },
        "enable_browser_rendering": {
          "anyOf": [
            {
              "description": "emulate browser rendering to measure Core Web Vitalsoptional fieldby using this parameter you will be able to emulate a browser when loading a web page;enable_browser_rendering loads styles, images, fonts, animations, videos, and other resources on a page;default value: falseset to true to obtain Core Web Vitals (FID, CLS, LCP) metrics in the response;if you use this field, enable_javascript, and load_resources parameters must be set to trueNote: if you use this parameter, additional charges wil",
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ]
        },
        "enable_javascript": {
          "anyOf": [
            {
              "description": "load javascript on a pageoptional fieldset to true if you want to load the scripts available on a pagedefault value: falseNote: if you use this parameter, additional charges will apply; learn more about the cost of tasks with this parameter in our help article; the cost can be calculated on the Pricing Page",
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ]
        },
        "enable_xhr": {
          "anyOf": [
            {
              "description": "enable XMLHttpRequest on a pageoptional fieldset to true if you want our crawler to request data from a web server using the XMLHttpRequest objectdefault value:false if you use this field, enable_javascript must be set to true;",
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ]
        },
        "ip_pool_for_scan": {
          "anyOf": [
            {
              "description": "proxy pooloptional fieldyou can choose a location of the proxy pool that will be used to obtain the requested data;the parameter can be used if page content is inaccessible in one of the locations, resulting in occasional site_unreachable errorspossible values: us, de",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "markdown_view": {
          "anyOf": [
            {
              "description": "return page content as markdownoptional fieldif set to true, the markdown-formatted content of the page will be returned in the page_as_markdown field of the response;default value: false",
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ]
        },
        "store_raw_html": {
          "anyOf": [
            {
              "description": "store HTML of a crawled pageoptional fieldset to true if you want to get the HTML of the page using the OnPage Raw HTML endpointdefault value: false",
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ]
        },
        "switch_pool": {
          "anyOf": [
            {
              "description": "switch proxy pooloptional fieldif true, additional proxy pools will be used to obtain the requested data;the parameter can be used if a multitude of tasks is set simultaneously, resulting in occasional rate-limit and/or site_unreachable errors",
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ]
        },
        "url": {
          "description": "URL of the content to parserequired fieldURL of the page to parseexample:`https://www.fujielectric.com/`",
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "additionalProperties": false,
  "properties": {
    "body": {
      "items": {
        "anyOf": [
          {
            "oneOf": [
              {
                "$ref": "#/$defs/OnPageContentParsingLiveRequestInfo"
              }
            ],
            "type": "object"
          },
          {
            "type": "null"
          }
        ]
      },
      "type": "array"
    }
  },
  "required": [],
  "type": "object"
}

料金

0.000150 USDT / リクエスト

表示は開始価格です。入力内容の見積もりを取得してください。完了後、実際の使用量で精算し、差額を返金します。

テストにはアカウント残高を使用し、選択したキーの予算が適用されます。費用上限は今回の API 呼び出しのみを対象とし、後続の呼び出しや上流の定期タスクは含みません。

料金バージョン 5

ウェブコンテンツ

Asale は同じ機能の利用可能なチャネルを価格順に選択します。参考価格は確認済みのチャネル参考価格の最高値です。未実行が確実な拒否のみ別チャネルへ切り替え、結果が不明な場合は二重請求を防ぐため照合を行います。

供給チャネル: 1