Data Service Request
π Overview
Once a bulk request is submitted and accepted, each subtask (or query) returns a unique ID in the results section of the bulk response.
These IDs represent individual parsing operations that were created based on the payload you submitted (e.g., a product detail fetch, search result parsing, etc.).
You can use these IDs to retrieve the parsed data by sending a request to the Data Service endpoint.
π§© Endpoint
GET https://data.easyparser.com/v1/queries/{id}You may also retrieve only the parsed result directly via:
GET https://data.easyparser.com/v1/queries/{id}/results?format=jsonπ Example Request(JSON Format)
curl --location 'https://data.easyparser.com/v1/queries/YOUR_QUERY_ID/results?format=json' \
--header 'api-key: YOUR_API_KEY' \
--data ''import requests
url = "https://data.easyparser.com/v1/queries/YOUR_QUERY_ID/results?format=json"
payload = ""
headers = {
'api-key': 'YOUR_API_KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
const myHeaders = new Headers();
myHeaders.append("api-key", "YOUR_API_KEY");
const raw = "";
const requestOptions = {
method: "GET",
headers: myHeaders,
body: raw,
redirect: "follow"
};
fetch("https://data.easyparser.com/v1/queries/YOUR_QUERY_ID/results?format=json", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));π© What Happens After You Send the Request?
Once you send a request to the Data Service using a valid query ID, the system responds with detailed and structured data based on the operation type.
Whether it's a product detail, offer list, search result, or any other supported operation, the response contains all the parsed content ready for use in your application.
π To explore the structure of this response and understand the meaning of each field, head over to the Data Service Response section.
Last updated