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

レスポンス:

パラメータ説明
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