stophy-dev Amazon API
The Amazon API from stophy-dev — 5 operation(s) for amazon.
The Amazon API from stophy-dev — 5 operation(s) for amazon.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/stophy-dev:stophy-dev-amazon-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Stophy Amazon API
version: '1'
description: 'Every endpoint is a POST that takes its input as a JSON object body. Unknown fields are rejected with 400.
Responses leave out empty values: null, empty strings, empty objects and empty nested lists are not sent.
Text comes back whole. To get shorter responses, add ?maxTextLength= to the URL. Every text value longer than that is cut and ends with …. A screenshot is never cut, and a page whose text was cut has isTruncated set to true.
x-credits is what one call costs. Every call costs the same, whatever it returns, unless an operation''s description says it costs per 10 results, or per second of audio. Then x-credits is the lowest price and x-credits-max the most one call can cost. Where an operation takes limit, send it to return fewer results and pay for fewer.
When a response has a cursor, send it back unchanged with the same input to get the next page. When it has a page, send the next page number.
Endpoints whose security includes {} also work without an API key: 10 requests a minute and 50 a day per IP, and no paging.'
servers:
- url: https://api.stophy.dev
security:
- apiKey: []
tags:
- name: Amazon
paths:
/v1/amazon/search:
post:
operationId: amazonSearch
summary: Scrape Amazon search results
description: Costs 1 credit per call. Pages with page.
x-credits: 1
parameters:
- $ref: '#/components/parameters/MaxTextLength'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
query:
type: string
minLength: 1
maxLength: 300
category:
type: string
pattern: ^([a-z][a-z-]{1,40}|\d{3,15})$
minPrice:
type: number
minimum: 0
maxPrice:
type: number
minimum: 0
minRating:
type: number
const: 4
brand:
type: string
minLength: 1
maxLength: 60
sort:
default: relevance
description: 'Amazon''s own sort. avgCustomerReview is Avg. Customer Review: highest rated first, not most reviewed.'
type: string
enum:
- relevance
- priceLow
- priceHigh
- avgCustomerReview
- newest
- bestSelling
country:
default: us
enum:
- us
- gb
- de
- fr
- it
- es
- ca
- jp
- in
- au
- mx
- br
- nl
- se
- pl
- sg
- ae
- sa
- tr
- be
- eg
description: ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
type: string
page:
default: 1
description: Page number, starting at 1.
type: integer
minimum: 1
maximum: 20
additionalProperties: false
example:
query: wireless earbuds
responses:
'200':
description: The data, and the credits this call used.
headers:
X-Request-ID:
$ref: '#/components/headers/RequestId'
x-credits-used:
$ref: '#/components/headers/CreditsUsed'
X-RateLimit-Limit:
$ref: '#/components/headers/RateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/RateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/RateLimitReset'
x-cache:
$ref: '#/components/headers/Cache'
x-cache-age:
$ref: '#/components/headers/CacheAge'
content:
application/json:
schema:
type: object
required:
- success
- data
- creditsUsed
- requestId
properties:
success:
const: true
data:
type: object
additionalProperties: false
properties:
total:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
results:
type: array
items:
type: object
additionalProperties: false
properties:
productId:
type: string
productUrl:
type: string
format: uri
title:
type: string
imageUrl:
type: string
format: uri
price:
type: number
minimum: 0
originalPrice:
type: number
minimum: 0
priceCurrency:
type: string
pattern: ^[A-Z]{3}$
description: ISO 4217 currency code, e.g. USD.
rating:
type: number
reviews:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
boughtPastMonth:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
isSponsored:
type: boolean
required:
- productUrl
- isSponsored
page:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
required:
- results
- page
creditsUsed:
type: integer
requestId:
type: string
4XX:
$ref: '#/components/responses/Error'
5XX:
$ref: '#/components/responses/Error'
tags:
- Amazon
/v1/amazon/product:
post:
operationId: amazonProduct
summary: Scrape an Amazon product page
description: Costs 1 credit per call.
x-credits: 1
parameters:
- $ref: '#/components/parameters/MaxTextLength'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
productUrl:
type: string
description: Link to the Amazon product, like https://www.amazon.com/dp/B0CX23V2ZK. Send this or productId.
productId:
type: string
description: Amazon product ASIN, like B0CX23V2ZK. Send this or productUrl.
country:
enum:
- us
- gb
- de
- fr
- it
- es
- ca
- jp
- in
- au
- mx
- br
- nl
- se
- pl
- sg
- ae
- sa
- tr
- be
- eg
description: ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
type: string
sendOne:
- productUrl
- productId
additionalProperties: false
responses:
'200':
description: The data, and the credits this call used.
headers:
X-Request-ID:
$ref: '#/components/headers/RequestId'
x-credits-used:
$ref: '#/components/headers/CreditsUsed'
X-RateLimit-Limit:
$ref: '#/components/headers/RateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/RateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/RateLimitReset'
x-cache:
$ref: '#/components/headers/Cache'
x-cache-age:
$ref: '#/components/headers/CacheAge'
content:
application/json:
schema:
type: object
required:
- success
- data
- creditsUsed
- requestId
properties:
success:
const: true
data:
type: object
additionalProperties: false
properties:
productId:
type: string
productUrl:
type: string
format: uri
title:
type: string
brand:
type: string
price:
type: number
minimum: 0
originalPrice:
type: number
minimum: 0
priceCurrency:
type: string
pattern: ^[A-Z]{3}$
description: ISO 4217 currency code, e.g. USD.
availability:
type: string
rating:
type: number
reviews:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
bullets:
type: array
items:
type: string
description:
type: string
imageUrls:
type: array
items:
type: string
format: uri
variants:
type: array
items:
type: object
additionalProperties: false
properties:
productId:
type: string
options:
type: string
required: []
sellerName:
type: string
sellerId:
type: string
sellerShipsFrom:
type: string
categories:
type: array
items:
type: string
bestSellersRank:
type: array
items:
type: object
additionalProperties: false
properties:
rank:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
category:
type: string
required:
- rank
specs:
type: array
items:
type: object
additionalProperties: false
properties:
name:
type: string
value:
type: string
required: []
topReviews:
type: array
items:
type: object
additionalProperties: false
properties:
reviewId:
type: string
authorName:
type: string
rating:
type: number
title:
type: string
text:
type: string
publishedAt:
type: string
format: date-time
pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
isVerified:
type: boolean
variant:
type: string
helpfulVotes:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
imageUrls:
type: array
items:
type: string
format: uri
required:
- isVerified
description: Up to 13 reviews from the product page. Empty for US products, since Amazon US shows reviews only after sign-in.
required:
- productUrl
- bullets
- imageUrls
- variants
- categories
- bestSellersRank
- specs
- topReviews
creditsUsed:
type: integer
requestId:
type: string
4XX:
$ref: '#/components/responses/Error'
5XX:
$ref: '#/components/responses/Error'
tags:
- Amazon
/v1/amazon/reviews:
post:
operationId: amazonReviews
summary: Scrape an Amazon product's US reviews
description: Costs 1 credit per call. Pages with cursor.
x-credits: 1
parameters:
- $ref: '#/components/parameters/MaxTextLength'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
productUrl:
type: string
description: Link to the Amazon product, like https://www.amazon.com/dp/B0CX23V2ZK. Send this or productId.
productId:
type: string
description: Amazon product ASIN, like B0CX23V2ZK. Send this or productUrl.
rating:
description: Only reviews with this star rating.
type: integer
minimum: 1
maximum: 5
verifiedOnly:
default: false
description: Only reviews from verified purchases.
type: boolean
cursor:
type: string
minLength: 1
description: The cursor from the previous response. Send it as is.
sendOne:
- productUrl
- productId
additionalProperties: false
responses:
'200':
description: The data, and the credits this call used.
headers:
X-Request-ID:
$ref: '#/components/headers/RequestId'
x-credits-used:
$ref: '#/components/headers/CreditsUsed'
X-RateLimit-Limit:
$ref: '#/components/headers/RateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/RateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/RateLimitReset'
x-cache:
$ref: '#/components/headers/Cache'
x-cache-age:
$ref: '#/components/headers/CacheAge'
content:
application/json:
schema:
type: object
required:
- success
- data
- creditsUsed
- requestId
properties:
success:
const: true
data:
type: object
additionalProperties: false
properties:
productId:
type: string
results:
type: array
items:
type: object
additionalProperties: false
properties:
authorName:
type: string
rating:
type: integer
minimum: 1
maximum: 5
title:
type: string
text:
type: string
publishedAt:
description: The day the review was written, at midnight UTC. Amazon gives no time of day.
type: string
format: date-time
pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
country:
description: Where the review was written, like United States.
type: string
isVerified:
type: boolean
isVine:
type: boolean
description: Written in Amazon's Vine program, for a free product.
helpfulVotes:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
imageUrls:
type: array
items:
type: string
format: uri
videoUrls:
type: array
items:
type: string
format: uri
required:
- rating
- isVerified
- isVine
- helpfulVotes
cursor:
type: string
required:
- results
creditsUsed:
type: integer
requestId:
type: string
4XX:
$ref: '#/components/responses/Error'
5XX:
$ref: '#/components/responses/Error'
tags:
- Amazon
/v1/amazon/bestsellers:
post:
operationId: amazonBestsellers
summary: Scrape Amazon Best Sellers lists
description: Costs 1 credit per call. Pages with page.
x-credits: 1
parameters:
- $ref: '#/components/parameters/MaxTextLength'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
category:
type: string
country:
default: us
enum:
- us
- gb
- de
- fr
- it
- es
- ca
- jp
- in
- au
- mx
- br
- nl
- se
- pl
- sg
- ae
- sa
- tr
- be
- eg
description: ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
type: string
page:
default: 1
description: Page number, starting at 1.
type: integer
minimum: 1
maximum: 2
required:
- category
additionalProperties: false
example:
category: electronics
responses:
'200':
description: The data, and the credits this call used.
headers:
X-Request-ID:
$ref: '#/components/headers/RequestId'
x-credits-used:
$ref: '#/components/headers/CreditsUsed'
X-RateLimit-Limit:
$ref: '#/components/headers/RateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/RateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/RateLimitReset'
x-cache:
$ref: '#/components/headers/Cache'
x-cache-age:
$ref: '#/components/headers/CacheAge'
content:
application/json:
schema:
type: object
required:
- success
- data
- creditsUsed
- requestId
properties:
success:
const: true
data:
type: object
additionalProperties: false
properties:
category:
type: string
results:
type: array
items:
type: object
additionalProperties: false
properties:
rank:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
productId:
type: string
productUrl:
type: string
format: uri
title:
type: string
imageUrl:
type: string
format: uri
price:
type: number
minimum: 0
priceCurrency:
type: string
pattern: ^[A-Z]{3}$
description: ISO 4217 currency code, e.g. USD.
rating:
type: number
reviews:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
required:
- rank
- productUrl
page:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
required:
- results
- page
creditsUsed:
type: integer
requestId:
type: string
4XX:
$ref: '#/components/responses/Error'
5XX:
$ref: '#/components/responses/Error'
tags:
- Amazon
/v1/amazon/suggest:
post:
operationId: amazonSuggest
summary: Scrape Amazon search suggestions
description: Costs 1 credit per call.
x-credits: 1
parameters:
- $ref: '#/components/parameters/MaxTextLength'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
query:
type: string
minLength: 1
maxLength: 200
country:
default: us
enum:
- us
- ca
- mx
- br
- gb
- de
- fr
- it
- es
- nl
- be
- se
- pl
- tr
- ae
- sa
- eg
- in
- jp
- au
- sg
description: ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
type: string
required:
- query
additionalProperties: false
example:
query: best running shoes
responses:
'200':
description: The data, and the credits this call used.
headers:
X-Request-ID:
$ref: '#/components/headers/RequestId'
x-credits-used:
$ref: '#/components/headers/CreditsUsed'
X-RateLimit-Limit:
$ref: '#/components/headers/RateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/RateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/RateLimitReset'
x-cache:
$ref: '#/components/headers/Cache'
x-cache-age:
$ref: '#/components/headers/CacheAge'
content:
application/json:
schema:
type: object
required:
- success
- data
- creditsUsed
- requestId
properties:
success:
const: true
data:
type: object
additionalProperties: false
properties:
results:
type: array
items:
type: object
additionalProperties: false
properties:
keyword:
type: string
minLength: 1
rank:
type: integer
exclusiveMinimum: 0
maximum: 9007199254740991
required:
- keyword
- rank
required:
- results
creditsUsed:
type: integer
requestId:
type: string
4XX:
$ref: '#/components/responses/Error'
5XX:
$ref: '#/components/responses/Error'
tags:
- Amazon
components:
headers:
RateLimitLimit:
description: Requests allowed in the current window.
schema:
type: integer
Cache:
description: hit if this result came from the cache, miss if it was fetched live.
schema:
type: string
RateLimitRemaining:
description: Requests left in the current window.
schema:
type: integer
CreditsUsed:
description: Credits this call used.
schema:
type: integer
CacheAge:
description: Seconds since the returned result was written to the cache.
schema:
type: integer
RateLimitReset:
description: Unix time in seconds when the current window resets.
schema:
type: integer
RequestId:
description: The request id. Quote it when you report a problem.
schema:
type: string
RetryAfter:
description: Seconds to wait before retrying.
schema:
type: integer
parameters:
MaxTextLength:
name: maxTextLength
in: query
required: false
description: Cut every text value in the response to this many characters. A value that was cut ends with …, and a page whose text was cut has isTruncated set to true. A screenshot is never cut. Leave it out to get the full text.
schema:
type: integer
minimum: 1
schemas:
Error:
type: object
required:
- success
- error
properties:
success:
const: false
error:
type: object
required:
- code
- message
- retryable
- requestId
properties:
code:
type: string
enum:
- cliSessionCompleted
- cliSessionExists
- cliSessionNotFound
- forbidden
- insufficientCredits
- internalError
- inviteClaimed
- inviteDisabled
- inviteExpired
- inviteUsedUp
- invalidCliSession
- invalidCliVerifier
- invalidRequest
- notFound
- rateLimited
- sourceChanged
- sourceRefused
- sourceTimeout
- sourceUnavailable
- unauthorized
- unsupportedMediaType
message:
type: string
retryable:
type: boolean
retryAfterSeconds:
type: integer
requestId:
type: string
requiredCredits:
type: number
availableCredits:
type: number
billingUrl:
type: string
const: https://stophy.dev/billing
responses:
Error:
description: The request failed. retryable says whether trying again can help.
headers:
X-Request-ID:
$ref: '#/components/headers/RequestId'
Retry-After:
$ref: '#/components/headers/RetryAfter'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
securitySchemes:
apiKey:
type: http
scheme: bearer