Reference example
# Fixed reference example. Playground inputs do not update this sample.
curl --request GET \
--url https://api.aisa.one/apis/v1/dataforseo/ai_optimization/chat_gpt/llm_scraper/task_get/advanced/00000000-0000-0000-0000-000000000000 \
--header 'Authorization: Bearer <token>'curl --request GET \
--url https://api.aisa.one/apis/v1/dataforseo/ai_optimization/chat_gpt/llm_scraper/task_get/advanced/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/dataforseo/ai_optimization/chat_gpt/llm_scraper/task_get/advanced/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/dataforseo/ai_optimization/chat_gpt/llm_scraper/task_get/advanced/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/dataforseo/ai_optimization/chat_gpt/llm_scraper/task_get/advanced/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/dataforseo/ai_optimization/chat_gpt/llm_scraper/task_get/advanced/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/dataforseo/ai_optimization/chat_gpt/llm_scraper/task_get/advanced/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/dataforseo/ai_optimization/chat_gpt/llm_scraper/task_get/advanced/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"cost": 123,
"status_code": 123,
"status_message": "<string>",
"tasks_count": 123,
"tasks_error": 123,
"time": "<string>",
"version": "<string>",
"tasks": [
{
"cost": 123,
"data": {},
"id": "<string>",
"path": [
"<string>"
],
"result_count": 123,
"status_code": 123,
"status_message": "<string>",
"time": "<string>",
"result": [
{
"brand_entities": [
{
"category": "<string>",
"markdown": "<string>",
"title": "<string>",
"type": "<string>",
"urls": {}
}
],
"check_url": "<string>",
"datetime": "<string>",
"fan_out_queries": [
"<string>"
],
"item_types": [
"<string>"
],
"items": [
{
"advertiser": {
"favicon_url": "<string>",
"name": "<string>",
"url": "<string>"
},
"domain": "<string>",
"image_url": "<string>",
"is_rendered": true,
"snippet": "<string>",
"title": "<string>",
"url": "<string>",
"rank_absolute": 123,
"rank_group": 123,
"type": "<string>"
}
],
"items_count": 123,
"keyword": "<string>",
"language_code": "<string>",
"location_code": 123,
"markdown": "<string>",
"model": "<string>",
"se_results_count": 123,
"search_results": [
{
"breadcrumb": "<string>",
"description": "<string>",
"domain": "<string>",
"title": "<string>",
"type": "<string>",
"url": "<string>"
}
],
"sources": [
{
"domain": "<string>",
"markdown": "<string>",
"publication_date": "<string>",
"snippet": "<string>",
"source_name": "<string>",
"thumbnail": "<string>",
"title": "<string>",
"type": "<string>",
"url": "<string>"
}
]
}
]
}
]
}ChatGPT
Get ChatGPT LLM Scraper Advanced Results by id
Retrieves a queued ChatGPT scrape by id.
GET
https://api.aisa.one
/
apis
/
v1
/
dataforseo
/
ai_optimization
/
chat_gpt
/
llm_scraper
/
task_get
/
advanced
/
{id}
Reference example
# Fixed reference example. Playground inputs do not update this sample.
curl --request GET \
--url https://api.aisa.one/apis/v1/dataforseo/ai_optimization/chat_gpt/llm_scraper/task_get/advanced/00000000-0000-0000-0000-000000000000 \
--header 'Authorization: Bearer <token>'curl --request GET \
--url https://api.aisa.one/apis/v1/dataforseo/ai_optimization/chat_gpt/llm_scraper/task_get/advanced/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/dataforseo/ai_optimization/chat_gpt/llm_scraper/task_get/advanced/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/dataforseo/ai_optimization/chat_gpt/llm_scraper/task_get/advanced/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/dataforseo/ai_optimization/chat_gpt/llm_scraper/task_get/advanced/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/dataforseo/ai_optimization/chat_gpt/llm_scraper/task_get/advanced/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/dataforseo/ai_optimization/chat_gpt/llm_scraper/task_get/advanced/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/dataforseo/ai_optimization/chat_gpt/llm_scraper/task_get/advanced/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"cost": 123,
"status_code": 123,
"status_message": "<string>",
"tasks_count": 123,
"tasks_error": 123,
"time": "<string>",
"version": "<string>",
"tasks": [
{
"cost": 123,
"data": {},
"id": "<string>",
"path": [
"<string>"
],
"result_count": 123,
"status_code": 123,
"status_message": "<string>",
"time": "<string>",
"result": [
{
"brand_entities": [
{
"category": "<string>",
"markdown": "<string>",
"title": "<string>",
"type": "<string>",
"urls": {}
}
],
"check_url": "<string>",
"datetime": "<string>",
"fan_out_queries": [
"<string>"
],
"item_types": [
"<string>"
],
"items": [
{
"advertiser": {
"favicon_url": "<string>",
"name": "<string>",
"url": "<string>"
},
"domain": "<string>",
"image_url": "<string>",
"is_rendered": true,
"snippet": "<string>",
"title": "<string>",
"url": "<string>",
"rank_absolute": 123,
"rank_group": 123,
"type": "<string>"
}
],
"items_count": 123,
"keyword": "<string>",
"language_code": "<string>",
"location_code": 123,
"markdown": "<string>",
"model": "<string>",
"se_results_count": 123,
"search_results": [
{
"breadcrumb": "<string>",
"description": "<string>",
"domain": "<string>",
"title": "<string>",
"type": "<string>",
"url": "<string>"
}
],
"sources": [
{
"domain": "<string>",
"markdown": "<string>",
"publication_date": "<string>",
"snippet": "<string>",
"source_name": "<string>",
"thumbnail": "<string>",
"title": "<string>",
"type": "<string>",
"url": "<string>"
}
]
}
]
}
]
}Retrieves a queued ChatGPT scrape by
id. Same parsed shape as the live endpoint. Wrapped in DataForSEO’s envelope: data in tasks[0].result, outcome in tasks[0].status_code - a rejected request still returns HTTP 200. Free - the charge was on the submit.
Example
curl -X GET "https://api.aisa.one/apis/v1/dataforseo/ai_optimization/chat_gpt/llm_scraper/task_get/advanced/{id}" \
-H "Authorization: Bearer YOUR_API_KEY"
Request contract
- Method and path: GET /apis/v1/dataforseo/ai_optimization/chat_gpt/llm_scraper/task_get/advanced/{id}
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/dataforseo/ai_optimization/chat_gpt/llm_scraper/task_get/advanced/{id} - id: path; required
{
"operationId": "get_dataforseo_ai_chat_gpt_llm_scraper_fetch",
"method": "GET",
"path": "/apis/v1/dataforseo/ai_optimization/chat_gpt/llm_scraper/task_get/advanced/{id}",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"description": "<em>task identifier</em><br><a href=\"https://en.wikipedia.org/wiki/Universally_unique_identifier\">a universally unique identifier (UUID)</a><br><strong>unique task identifier in our system</strong><br>you will be able to use it within <strong>30 days</strong> to request the results of the task at any time",
"example": "00000000-0000-0000-0000-000000000000",
"in": "path",
"name": "id",
"required": true,
"schema": {
"type": "string"
}
}
],
"security": [
{
"bearerAuth": []
}
],
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Published reference price: $0 USD per successful request. Your account price may differ; use a request quote where supported.Authorizations
Path Parameters
task identifier
a universally unique identifier (UUID)
unique task identifier in our system
you will be able to use it within 30 days to request the results of the task at any time
Response
object | null
Successful operation