Search

/search endpoint

Get an amazon Product

POST https://api.stellarscrape.com/v1/amazon/search

Endpoint to fetch a single product

Headers

Name
Value

Content-Type

application/json

Authorization

<apiKey>

Body

Name
Type
Description

query

string

Your search query

countries

array

The array of countries for the product.

userCountry

string

The countrycode of the country you want to see the delivery price for

amount

int

The amount of amazon products

startAt

int

The first product returned. Useful if you want to have more products when performing a search

Response

{
  status: 200,
  data: {
    searchData: {
      query: 'iphone',
      userCountry: 'fr',
      productsData: [Array],
      totalSearchResults: 46,
      firstResult: 10,
      amount: 10
    },
    tokensLeft: 0,
    tokensUsed: 10,
    responseTime: 5
  },
  message: 'Request Successful'
}

Last updated