Request
Endpoint
POST https://realtime.easyparser.com/v1/requestRequired Parameters
This operation requires certain common parameters to be included in every request. For more details, see Common Required Request Fields.
Optional Parameters
Parameter
Type
Description
include_html
boolean
Whether to include the raw HTML response from Amazon.
min_page
integer
Minimum search result page (for pagination).
max_page
integer
Maximum search result page (for pagination).
Example Request
curl --location 'https://realtime.easyparser.com/v1/request?api_key=YOUR_API_KEY&platform=AMZ&operation=PRODUCT_LOOKUP&output=json&domain=.com&keyword=013803302721&include_html=false'
import requests
import json
# set up the request parameters
params = {
"api_key": "YOUR_API_KEY",
"platform": "AMZ",
"operation": "PRODUCT_LOOKUP",
"output": "json",
"domain": ".com",
"keyword": "013803302721",
"include_html": "false",
}
# make the http GET request to EasyParser API
api_result = requests.get("https://realtime.easyparser.com/v1/request", params)
# print the JSON response from EasyParser API
print(json.dumps(api_result.json()))
const axios = require("axios");
// set up the request parameters
const params = {
api_key: "YOUR_API_KEY",
platform: "AMZ",
operation: "PRODUCT_LOOKUP",
output: "json",
domain: ".com",
keyword: "013803302721",
include_html: "false",
}
// make the http GET request to EasyParser API
axios.get("https://realtime.easyparser.com/v1/request", { params })
.then(response => {
// print the JSON response from EasyParser API
console.log(JSON.stringify(response.data, 0, 2));
})
.catch(error => {
//catch and print the error
console.log(error);
})
GET /v1/request?api_key=YOUR_API_KEY&platform=AMZ&operation=PRODUCT_LOOKUP&output=json&domain=.com&keyword=013803302721&include_html=false HTTP/1.1
Host: realtime.easyparser.com
# set up the request parameters
$queryString = http_build_query([
"api_key" => "YOUR_API_KEY",
"platform" => "AMZ",
"operation" => "PRODUCT_LOOKUP",
"output" => "json",
"domain" => ".com",
"keyword" => "013803302721",
"include_html" => "false",
]);
# make the http GET request to EasyParser API
$ch = curl_init(sprintf("%s?%s", "https://realtime.easyparser.com/v1/request", $queryString));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
# the following options are required if you're using an outdated OpenSSL version
# more details: https://www.openssl.org/blog/blog/2021/09/13/LetsEncryptRootCertExpire/
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_TIMEOUT, 180);
$api_result = curl_exec($ch);
curl_close($ch);
# print the JSON response from EasyParser API
echo $api_result;
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://realtime.easyparser.com/v1/request?api_key=YOUR_API_KEY&platform=AMZ&operation=PRODUCT_LOOKUP&output=json&domain=.com&keyword=013803302721&include_html=false"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("", "")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := io.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://realtime.easyparser.com/v1/request?api_key=YOUR_API_KEY&platform=AMZ&operation=PRODUCT_LOOKUP&output=json&domain=.com&keyword=013803302721&include_html=false");
request.Headers.Add("", "");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("https://realtime.easyparser.com/v1/request?api_key=YOUR_API_KEY&platform=AMZ&operation=PRODUCT_LOOKUP&output=json&domain=.com&keyword=013803302721&include_html=false")
.method("GET", body)
.addHeader("", "")
.build();
Response response = client.newCall(request).execute();
Last updated