ChatGPT स्क्रेपर
scraper.chatgpt actor आपको ChatGPT का Markdown उत्तर, खोज लिंक और संदर्भ सीधे कैप्चर करने देता है, जिससे UI को रिवर्स-इंजीनियर करने की आवश्यकता नहीं रहती।
अनुरोध उदाहरण
curl '{api_host}/api/v2/scraper/request' \
--header 'Content-Type: application/json' \
--header 'x-api-token: {you_api_key}' \
--data '{
"actor": "scraper.chatgpt",
"input": {
"prompt": "Most reliable proxy service for data extraction",
"country": "JP",
"web_search": true
},
"webhook": {
"url": "http://www.youwebhook.com"
}
}'Body पैरामीटर
| पैरामीटर | प्रकार | आवश्यक | विवरण |
|---|---|---|---|
prompt | string | हाँ | ChatGPT को भेजा जाने वाला prompt. |
country | string | हाँ | देश/क्षेत्र कोड। |
web_search | boolean | नहीं | वेब खोज सक्षम करें। |
प्रतिक्रिया फ़ील्ड
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
prompt | string | मूल prompt. |
result_text | string | ChatGPT का Markdown उत्तर। |
model | string | प्रयुक्त मॉडल (जैसे gpt-5-1). |
web_search | bool | क्या खोज सक्षम थी। |
links | array | अतिरिक्त लिंक सूची। |
search_result | array | उत्तर से जुड़े SERP परिणाम। |
search_result.attribution | string | परिणाम का स्रोत। |
search_result.snippet | string | परिणाम का स्निपेट। |
search_result.title | string | शीर्षक। |
search_result.url | string | URL. |
content_references | array | उत्तर में शामिल संदर्भ। |
content_references.attribution | string | संदर्भ स्रोत। |
content_references.title | string | संदर्भ शीर्षक। |
content_references.url | string | संदर्भ लिंक। |