Grok Scraper
リクエスト例:
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"
},
"webhook": {
"url": "http://www.youwebhook.com"
}
}'
ボディパラメータ:
| パラメータ | 型 | 必須 | 説明 |
|---|---|---|---|
prompt | string | true | 入力プロンプト。 |
country | string | true | 国または地域コード。 |
should_fetch_share_link | boolean | いいえ | 共有リンクを取得します。 |
レスポンス:
| パラメータ | 型 | 説明 |
|---|---|---|
conversation | object | レスポンスコンテンツ |
conversation.conversation_id | string | 会話ID |
conversation.create_time | time | 作成時刻 |
conversation.modify_time | time | 最終更新時刻 |
conversation.temporary | bool | 一時的な会話かどうか |
conversation.title | string | 会話のタイトル |
create_time | time | 作成時刻 |
follow_up_suggestions | []string | 推奨されるフォローアップ質問 |
full_response | string | レスポンスコンテンツ |
tool_usages | array | ツールの使用状況 |
tool_usages.card_id | string | カードID |
tool_usages.tool_args | string | ツールの引数 |
tool_usages.tool_name | string | ツール名 |
user_model | string | 使用されたモデル |
user_query | string | プロンプト |
web_search_results | array | Web検索結果 |
web_search_results.preview | string | プレビュー |
web_search_results.title | string | タイトル |
web_search_results.url | string | URL |
footnotes | object | 脚注オブジェクト。各脚注はサブオブジェクトです。 |
footnotes.{{key}} | string | 脚注キー(例:018426) |
footnotes.{{key}}.card_type | string | 脚注タイプ |
footnotes.{{key}}.id | string | 脚注ID(脚注キーと同じ) |
footnotes.{{key}}.url | string | 脚注リンクのURL |
x_search_results | array | X検索結果 |
x_search_results.create_time | time | 作成時刻 |
x_search_results.profile_image_url | string | 画像リンク |
x_search_results.view_count | int | 閲覧数 |
x_search_results.user_name | string | ユーザー名 |
x_search_results.name | string | 表示名 |
x_search_results.text | string | コンテンツ |
x_search_results.post_id | string | 投稿ID |
share_url | string | 共有リンク。 |