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"
}
}'
बॉडी पैरामीटर:
| पैरामीटर | प्रकार | आवश्यक | विवरण |
|---|---|---|---|
| prompt | string | true | इनपुट प्रॉम्प्ट। |
| country | string | true | देश या क्षेत्र कोड। |
| mode | string | true | MODEL_MODE_FAST MODEL_MODE_EXPERT MODEL_MODE_AUTO |
प्रतिक्रियाएँ:
| पैरामीटर | प्रकार | विवरण |
|---|---|---|
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_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 |