Grokスクレイパー

リクエスト例:

curl 'https://api.scrapeless.com/api/v2/scraper/request' \
--header 'Content-Type: application/json' \
--header 'x-api-token: {you_api_key}' \
--data '{
    "actor": "scraper.grok",
    "input": {
        "prompt": "Most reliable proxy service for data extraction",
        "country": "US",
        "mode": "MODEL_MODE_AUTO"
    },
    "webhook": {
        "url": "http://www.youwebhook.com"
    }
}'
 

ボディパラメータ:

パラメータ型必須説明
promptstringtrue入力プロンプト。
countrystringtrue国または地域コード。
modestringtrueMODEL_MODE_FAST MODEL_MODE_EXPERT MODEL_MODE_AUTO
should_fetch_share_linkbooleanfalse共有リンクを取得します。

レスポンス:

パラメータ型説明
conversationobjectレスポンス内容
conversation.conversation_idstring会話ID
conversation.create_timetime作成時刻
conversation.modify_timetime最終更新時刻
conversation.temporarybool一時的な会話かどうか
conversation.titlestring会話タイトル
create_timetime作成時刻
follow_up_suggestions[]string提案されるフォローアップ質問
full_responsestringレスポンス内容
tool_usagesarrayツールの使用状況
tool_usages.card_idstringカードID
tool_usages.tool_argsstringツール引数
tool_usages.tool_namestringツール名
user_modelstring使用されたモデル
user_querystringプロンプト
web_search_resultsarrayWeb検索結果
web_search_results.previewstringプレビュー
web_search_results.titlestringタイトル
web_search_results.urlstringURL
footnotesobject脚注オブジェクト。各脚注はサブオブジェクトです。
footnotes.{{key}}string脚注キー。例: 018426
footnotes.{{key}}.card_typestring脚注タイプ
footnotes.{{key}}.idstring脚注ID(脚注キーと同じ)
footnotes.{{key}}.urlstring脚注リンクURL
x_search_resultsarrayX検索結果
x_search_results.create_timetime作成時刻
x_search_results.profile_image_urlstring画像リンク
x_search_results.view_countint閲覧数
x_search_results.user_namestringユーザー名
x_search_results.namestring名前
x_search_results.textstring内容
x_search_results.post_idstringポストID
share_urlstring共有リンク。