# Amazon on Onekey > 9 endpoints for Amazon (0 stable, 9 beta), 2 to 3 credits each. Category: E-commerce & marketplaces. One key, one JSON shape. Base URL: https://api.onekey.dev Auth: header `x-api-key: `. Call shape: `GET /v1/{platform}/{endpoint}?{params}`. Every response is `{success, data, metadata, error}`; check `success` first. Cost is in `metadata.credits_charged`. Free when served from cache (0.2 credit for a cached response over 100 KB). Failed and not-found calls are refunded. Status: stable = verified against the live source; beta = not yet verified, fields may be missing. Access: 9 of 9 endpoints are marked "needs a pack" or "may need a pack": free-grant credits reach only the open fetch path; a verified email and a purchased pack unlock the rest. Page: https://onekey.dev/platforms/amazon Reference (Markdown): https://onekey.dev/docs/api/amazon.md All docs: https://onekey.dev/llms.txt ## Canonical fields returned Unified-schema fields (same names on every platform), with how many of the 9 mapped Amazon endpoints return each: - `entity.url` (URL): 8 - `entity.name` (string): 7 - `entity.description` (string): 4 - `media.thumbnailUrl` (URL): 4 - `entity.id` (string): 3 - `listing.currency` (string): 3 - `listing.price` (number): 3 - `entity.stats.rating` (number): 2 - `entity.stats.ratingCount` (integer): 2 - `listing.brand` (string): 2 - `author.bio` (string): 1 - `author.displayName` (string): 1 - `author.id` (string): 1 - `author.location` (string): 1 - `author.url` (URL): 1 - `listing.available` (boolean): 1 - `listing.condition` (string): 1 - `listing.seller` (string): 1 - plus 3 platform-specific fields under `ext.` ## Endpoints ### amazon.bestsellers Amazon Best Sellers list of a category (links only). - Price: 3 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/amazon/bestsellers?category=electronics` with header `x-api-key: YOUR_API_KEY` - Parameters: - `category` (string, required): Best Sellers category slug - `domain` (string, optional, default www.amazon.com): Amazon marketplace host (allowlist) - Fields returned: `entity.url`, `entity.name` - Reference: https://onekey.dev/docs/api/amazon/bestsellers.md ### amazon.category Amazon category/browse-node page (links only). - Price: 3 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/amazon/category?node=172282` with header `x-api-key: YOUR_API_KEY` - Parameters: - `node` (string, required): Browse node id - `domain` (string, optional, default www.amazon.com): Amazon marketplace host (allowlist) - Fields returned: `entity.url`, `entity.name` - Reference: https://onekey.dev/docs/api/amazon/category.md ### amazon.deals Current Amazon deals. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/amazon/deals` with header `x-api-key: YOUR_API_KEY` - Parameters: none - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.description`, `media.thumbnailUrl`, `listing.price`, `listing.currency`, `listing.brand`, `entity.stats.rating`, `entity.stats.ratingCount` - Reference: https://onekey.dev/docs/api/amazon/deals.md ### amazon.product Amazon product page metadata by ASIN. - Price: 3 credits per fresh call. Status: beta. Access: needs a pack. Returns: one record. - Request: `GET https://api.onekey.dev/v1/amazon/product?asin=B08N5WRWNW` with header `x-api-key: YOUR_API_KEY` - Parameters: - `asin` (string, required): ASIN (10 alphanumerics) - `domain` (string, optional, default www.amazon.com): Amazon marketplace host (allowlist) - Fields returned: `entity.url`, `entity.name`, `entity.description`, `media.thumbnailUrl`, `ext.canonicalUrl` - Reference: https://onekey.dev/docs/api/amazon/product.md ### amazon.reviews Amazon product reviews page metadata by ASIN. - Price: 3 credits per fresh call. Status: beta. Access: needs a pack. Returns: one record. - Request: `GET https://api.onekey.dev/v1/amazon/reviews?asin=B08N5WRWNW` with header `x-api-key: YOUR_API_KEY` - Parameters: - `asin` (string, required): ASIN (10 alphanumerics) - `domain` (string, optional, default www.amazon.com): Amazon marketplace host (allowlist) - Fields returned: `entity.url`, `entity.name`, `entity.description`, `media.thumbnailUrl`, `ext.canonicalUrl` - Reference: https://onekey.dev/docs/api/amazon/reviews.md ### amazon.search Amazon search results page (links only). - Price: 3 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/amazon/search?q=laptop` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search query - `domain` (string, optional, default www.amazon.com): Amazon marketplace host (allowlist) - Fields returned: `entity.url`, `entity.name` - Reference: https://onekey.dev/docs/api/amazon/search.md ### amazon.seller An Amazon seller profile. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: one record. - Request: `GET https://api.onekey.dev/v1/amazon/seller?seller_id=A1B2C3D4E5` with header `x-api-key: YOUR_API_KEY` - Parameters: - `seller_id` (string, required): Seller id - Fields returned: `author.id`, `author.displayName`, `author.url`, `author.bio`, `author.location`, `ext.rating`, `ext.reviewCount` - Reference: https://onekey.dev/docs/api/amazon/seller.md ### amazon.sellers Sellers and offers for an Amazon product. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/amazon/sellers?asin=B08N5WRWNW` with header `x-api-key: YOUR_API_KEY` - Parameters: - `asin` (string, required): 10-character Amazon ASIN - Fields returned: `entity.id`, `listing.seller`, `entity.url`, `listing.price`, `listing.currency`, `listing.condition`, `listing.available` - Reference: https://onekey.dev/docs/api/amazon/sellers.md ### amazon.shop An Amazon shop or storefront page. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/amazon/shop?url=https%3A%2F%2Fwww.example-shop.com%2Fpage%2F1` with header `x-api-key: YOUR_API_KEY` - Parameters: - `url` (string, required): Full URL of the Amazon shop or storefront page - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.description`, `media.thumbnailUrl`, `listing.price`, `listing.currency`, `listing.brand`, `entity.stats.rating`, `entity.stats.ratingCount` - Reference: https://onekey.dev/docs/api/amazon/shop.md ## Sample request ```bash curl "https://api.onekey.dev/v1/amazon/seller?seller_id=A1B2C3D4E5" \ -H "x-api-key: YOUR_API_KEY" ```