# Shopee Scraper & API | EveryInfra (`blushing_parachute/everyinfra-shopee-api`) Actor

Unofficial Shopee data via one Actor: search, profile, shop, product_detail. Pay per request, no start fee. First 3 requests free across EveryInfra Actors.

- **URL**: https://apify.com/blushing_parachute/everyinfra-shopee-api.md
- **Developed by:** [ECHO](https://apify.com/blushing_parachute) (community)
- **Categories:** E-commerce, Developer tools
- **Features:** Limited permissions
- **Stats:** 3 total users, 3 monthly users, 28.6% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.70 / 1,000 search requests

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Shopee Scraper & API | EveryInfra

Search Shopee products, organize items by shop, and view individual specifications, inventory, and store details.

Specify the marketplace country code, which defaults to Indonesia if left unstated.

### Actions

| Action | What you get | Required | Optional | Results per request | Price per request |
|---|---|---|---|---|---|
| `search` | Search a Shopee marketplace for products by keyword, with price, original price and discount, rating, units sold, seller location and a Shopee Mall flag. `country` defaults to Indonesia, and price filters use that market's own currency. | keyword | country, max_price, min_price, sort | 20 (up to 100) | $0.0017 |
| `profile` | Open a Shopee product page by its full `url`. Get the description, price range across variants, stock, units sold, likes, brand and pre-order status. Despite the name, this describes the item, not the buyer or seller. Resolve shortened links to the landing page first. | url | country | 1 | $0.0041 |
| `shop` | Browse the products a Shopee shop sells, by its username or numeric ID, with price, discount, rating, units sold and Mall status for each listing. Shop reviews, finances and private orders are not included, and the full catalog is not guaranteed. | shop | country | 20 (up to 100) | $0.0032 |
| `product_detail` | Read a full Shopee listing from its product link. Get description, variants, discount text, stock, units sold, reviews and the name and location of the shop. Each market has its own currency, so read `price` with `currency`. Displayed stock does not confirm units available. | url | country | 1 | $0.0010 |

### Input

Pick an `action` and fill the fields it uses. Example:

```json
{
  "action": "search",
  "keyword": "wireless mouse"
}
```

Fields that another action needs are ignored when left empty. API users can also pass `{"action": ..., "params": {...}}`.

### Output

Each result is one dataset row. Rows keep every field the source page exposes for that action; a field the platform hides or leaves empty for a record is omitted rather than filled with a placeholder. When there is a next page, the run's `OUTPUT` record holds `next_page_token`.

- `search`: `shop_id`, `item_id`, `name`, `url`, `image_url`, `price`, `original_price`, `discount_pct`, `currency`, `rating`, `rating_scale`, `rating_count`, `sold_count`, `location`, `is_mall`, `platform`
- `profile`: `shop_id`, `item_id`, `name`, `url`, `description`, `price`, `price_min`, `price_max`, `original_price`, `discount_pct`, `currency`, `rating`, `rating_scale`, `rating_count`, `sold_count`, `stock`, `liked_count`, `view_count`, `brand`, `is_pre_order`, `has_video`, `platform`, `images`, `shop`
- `shop`: `shop_id`, `item_id`, `name`, `url`, `image_url`, `price`, `original_price`, `discount_pct`, `currency`, `rating`, `rating_scale`, `rating_count`, `sold_count`, `location`, `is_mall`, `platform`
- `product_detail`: `id`, `url`, `name`, `text`, `price`, `original_price`, `currency`, `discount`, `stock`, `sold_count`, `rating`, `rating_scale`, `review_count`, `shop_name`, `shop_location`, `variants`, `image_url`, `platform`

#### Field notes

- `price`: Price as a number without a currency symbol; see currency. For product detail (product_detail), a call that returns no price is not charged; the other fields still come back.
- `brand`: Brand.
- `discount`: Discount description.
- `discount_pct`: Discount percentage.
- `has_video`: Whether the item has a video.
- `is_mall`: Whether the shop is an official Shopee Mall store. The first signal for spotting genuine goods on Southeast Asian e-commerce.
- `is_pre_order`: Whether the item is a pre-order.
- `item_id`: Item ID.
- `liked_count`: Number of times the item has been saved as a favorite.
- `original_price`: Original price.
- `price_max`: Upper bound of the price across variants.
- `price_min`: Lower bound of the price across variants.
- `shop_id`: Shop ID.
- `shop_location`: Shop location. Delivery times differ a lot between cross-border and local shops.
- `shop_name`: Shop name.
- `sold_count`: Units sold.
- `stock`: Stock available.
- `variants`: Product variants (options such as color or size).
- `shop`: The seller's shop (profile): shop_id, name, username, location, rating (shop rating), item_count (number of products), follower_count, response_rate (reply rate, as a percentage), is_official_shop and is_shopee_verified, each only when it has a value.

### Pricing

Pay per event, charged only when a run delivers data:

- `search`: $0.0017, one event per started block of 20 results.
- `profile`: $0.0041, one event per non-empty request, whatever the row count.
- `shop`: $0.0032, one event per started block of 20 results.
- `product_detail`: $0.0010, one event per non-empty request, whatever the row count.

Empty or failed requests are never charged. There is no actor-start fee and no per-row fee, and platform usage is included in these prices.

### Free trial

The first 3 accepted data requests per Apify account are free across all EveryInfra Actors combined (a lifetime total, not per Actor and not reset). Invalid input does not use a trial; an accepted request that returns no data still does. After that a paid Apify plan is required.

### Notes

- Results reflect what is publicly visible when the run happens; counts can be lower than requested.
- One run makes one request. For more pages, start another run with `page_token` where the action supports it.
- This is an independent Actor. It is not affiliated with, sponsored by, or endorsed by Shopee or its owner; names and trademarks belong to their respective owners.

### Support

Open an issue on this Actor's Issues tab with the run ID.

# Actor input Schema

## `action` (type: `string`):

What to fetch. Each action uses only the fields listed for it below; other fields are ignored when empty.

## `keyword` (type: `string`):

Used by `search` (required). Specifies product search keywords for `search`. The target regional marketplace is determined by `country`.

## `country` (type: `string`):

Used by `search`, `profile`, `shop`, `product_detail`. Sets the region code and takes precedence over `region` and URL inference. For `search`, `profile`, and `shop`, defaults to `id` (Indonesia) when unspecified. Configured domain detection includes `sg`, `my`, `th`, `ph`, `vn`, `br`, `tw`, `mx`, `co`, and `cl`, though a recognized domain does not guarantee data for every region. `product_detail` usually reads the region from the product URL.

## `max_price` (type: `number`):

Used by `search`. Sets the maximum item price using the target marketplace's price scale. Use it with min_price to define a range. Filtering uses whole numbers: decimals round up (145.98 becomes 146).

## `min_price` (type: `number`):

Used by `search`. Sets the minimum item price for `search` based on the target market's currency scale. Do not assume values represent the same currency across regions. This parameter does not represent API billing amounts. Filtering uses whole numbers: decimals round down (39.81 becomes 39).

## `sort` (type: `string`):

Used by `search`. Sorts product search results for `search`. Allowed values are `relevance`, `popular` (sales-based), `newest`, `price_asc`, and `price_desc`. This parameter is not used for `shop` listings or product details.

## `url` (type: `string`):

Used by `profile` (required), `product_detail` (required). Specifies the full Shopee product URL for `profile` and `product_detail`. `profile` extracts identifiers using the `i.shop_id.product_id` pattern. Shortened links must be resolved to their landing page URL first and are not guaranteed to parse directly.

## `shop` (type: `string`):

Used by `shop` (required). Specifies the shop username or numeric shop ID (with or without an `@` prefix) for `shop`. Returns the shop's product listing rather than shop reviews.

## `limit` (type: `integer`):

How many results to request for list actions. Defaults and maximums per action: `search` 20 (max 100); `shop` 20 (max 100). Billing: `search` one event per started block of 20 results; `shop` one event per started block of 20 results.

## `params` (type: `object`):

Optional JSON object with the same fields as above, for API and integration use. Flat fields and params must not disagree.

## Actor input object example

```json
{
  "action": "search",
  "keyword": "wireless mouse"
}
```

# Actor output Schema

## `records` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "keyword": "wireless mouse"
};

// Run the Actor and wait for it to finish
const run = await client.actor("blushing_parachute/everyinfra-shopee-api").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "keyword": "wireless mouse" }

# Run the Actor and wait for it to finish
run = client.actor("blushing_parachute/everyinfra-shopee-api").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "keyword": "wireless mouse"
}' |
apify call blushing_parachute/everyinfra-shopee-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,blushing_parachute/everyinfra-shopee-api"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/9FBhxUbw2VX6Gubiw/builds/YbwOcmt0IIhF8988K/openapi.json
