# PriceOye Scraper - Pakistan Phone Prices and Specs (`scrapewise/priceoye-scraper`) Actor

Scrape PriceOye.pk (Pakistan) phone and electronics listings: product name, price in PKR, retail price, discount, stock, rating, colors, storage options and specs. Search by keyword or paste category and product links.

- **URL**: https://apify.com/scrapewise/priceoye-scraper.md
- **Developed by:** [Scrapewise Data](https://apify.com/scrapewise) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.28 / 1,000 product delivereds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## PriceOye Scraper: Pakistan Phone and Electronics Prices

Scrape PriceOye.pk, the Pakistan price comparison and shop, for phones and electronics. Every product comes with its
name, brand, current price in PKR, retail price and discount, stock, rating, colors, storage options and the full
specification text. Search by keyword, or paste a category or product link and get the whole list page by page.

No login and no account on priceoye.pk are needed. The Actor only reads public pages.

### At a glance

| | |
|---|---|
| Price | US$ 3.00 per 1,000 products delivered, plus US$ 0.005 per run start |
| Currency | PKR (Pakistani rupee), as shown on the site |
| Input | Keywords, category links, search links or product links |
| Output | One row per product, plus error rows (free) |
| Free rows | Error rows, duplicates and products already delivered in earlier runs (onlyNew) |
| Proxy | Apify Proxy with a Pakistan exit by default |

### Quick start

Search for a keyword:

```json
{
  "searchTerms": ["iphone"],
  "maxItems": 50
}
```

Get a whole category, 200 products at most:

```json
{
  "startUrls": ["https://priceoye.pk/mobiles"],
  "maxItems": 200
}
```

Get one product by its link:

```json
{
  "startUrls": ["https://priceoye.pk/mobiles/infinix/infinix-smart-20"]
}
```

Run it from the Apify API, a schedule or an integration, and read the results from the dataset.

### Input

| Field | Type | Default | What it does |
|---|---|---|---|
| `searchTerms` | list of strings | `["iphone"]` when nothing else is given | One search on priceoye.pk per keyword. |
| `startUrls` | list of links | empty | Category links (`/mobiles`), search links (`/search?q=...`) or product links (`/mobiles/brand/model`). |
| `maxItems` | integer | 50 | Cap for the whole run, across every search and link. 0 means no cap. |
| `onlyNew` | boolean | false | Keeps the products delivered in earlier runs of the same search or link (in your account) and delivers only new ones. |
| `proxyConfiguration` | object | Apify Proxy | Change it only if you know you need to. |

Category and search links are read page by page until the last page or `maxItems`. Links from other sites are returned
as an `INVALID_URL` error row and are not charged.

### Output fields

Every product row has these fields. A field the site does not show for that product is `null`.

| Field | Example | Notes |
|---|---|---|
| `type` | `product` | Error rows have `type: error`. |
| `productId` | `15610` | The site's product number. Unique per product. |
| `name` | `Infinix Smart 20` | Product title. |
| `brand` | `Infinix` | Brand name. |
| `category` | `Mobiles` | Category on priceoye.pk. |
| `url` | `https://priceoye.pk/mobiles/infinix/infinix-smart-20` | Product page. |
| `imageUrl` | `https://images.priceoye.pk/...-270x270.webp` | Main product image. |
| `price` | `37280` | Lowest current price in PKR across the stores the site lists. |
| `retailPrice` | `37999` | Price before the site's discount, in PKR. |
| `discountAmount` | `719` | Saving in PKR (retail minus price). |
| `discountPercent` | `2` | Saving as a percentage of the retail price. |
| `highestPrice` | `43895` | Highest price the site lists for the product, in PKR. |
| `currency` | `PKR` | Always PKR on priceoye.pk. |
| `inStock` | `true` | In stock on the listing. |
| `stockQty` | `36` | Units the site shows in stock. |
| `rating` | `4.9` | Average rating from the site, out of 5. |
| `ratingCount` | `38` | Number of ratings. Reviews text is not included. |
| `sizes` | `["64gb - 4gb ram", "128gb - 4gb ram"]` | Storage and RAM options. |
| `colors` | `["Shadow Black", "Cloudline Blue"]` | Color options. |
| `specifications` | `Release Date 2026-05-15 SIM Support ...` | Full specification text, as the site writes it. |
| `badges` | `["Express Delivery"]` | Badges on the listing, when there are any. |
| `productStatus` | `launched` | Status on the site. |
| `listedOn` | `2026-05-15` | Date the product was listed on priceoye.pk. |
| `sourceQuery` | `iphone` | The keyword or link the row came from. |
| `scrapedAt` | `2026-11-09T12:08:41Z` | When the row was read. |
| `errorCode` / `error` | `INVALID_URL` | Only on error rows. |

### Example output

One real row from a category run (fields trimmed where marked):

```json
{
  "type": "product",
  "productId": 15610,
  "name": "Infinix Smart 20",
  "brand": "Infinix",
  "category": "Mobiles",
  "url": "https://priceoye.pk/mobiles/infinix/infinix-smart-20",
  "imageUrl": "https://images.priceoye.pk/infinix-smart-20-pakistan-priceoye-0s4x3-270x270.webp",
  "price": 37280,
  "retailPrice": 37999,
  "discountAmount": 719,
  "discountPercent": 2,
  "highestPrice": 43895,
  "currency": "PKR",
  "inStock": true,
  "stockQty": 36,
  "rating": 4.9,
  "ratingCount": 38,
  "sizes": ["64gb - 4gb ram", "128gb - 4gb ram"],
  "colors": ["Shadow Black", "Cloudline Blue", "Polaris Titanium", "Sunlike Orange"],
  "specifications": "Release Date 2026-05-15 SIM Support 2 nano SIMs Phone Dimensions 167.7 x 78.8 x 7.7 mm Operating System XOS 16 Screen Size 6.78 inches ...",
  "badges": null,
  "productStatus": "launched",
  "listedOn": "2026-05-15",
  "sourceQuery": "mobiles",
  "scrapedAt": "2026-11-09T12:08:41Z",
  "errorCode": null,
  "error": null
}
```

Error row for a link that is not a priceoye.pk page (not charged):

```json
{
  "type": "error",
  "sourceQuery": "https://example.com/x",
  "errorCode": "INVALID_URL",
  "error": "Not a priceoye.pk link. Use a category page (priceoye.pk/mobiles), a search page (priceoye.pk/search?q=...) or a product page (priceoye.pk/mobiles/brand/model) (not charged)",
  "scrapedAt": "2026-11-09T12:08:45Z"
}
```

### Error codes

| Code | Meaning | Charged |
|---|---|---|
| `INVALID_INPUT` | A value in the input is not valid, for example a non-number in `maxItems`. | No |
| `INVALID_URL` | The link is not a priceoye.pk category, search or product page. | No |
| `NO_RESULTS` | The search has no product on priceoye.pk. | No |
| `BLOCKED` | The site refused every attempt for that search or link. Run it again in a few minutes. | No |
| `UNEXPECTED` | Something else stopped that part of the run. The rows already delivered are kept. | No |

### Integrations, scheduling and AI agents

- Schedules: run it every day with `onlyNew` on, to get only the products that appeared since the last run.
- Export: download the dataset as JSON, CSV, Excel or XML from the run's Storage tab, or through the API.
- Make, n8n and Zapier: use the Apify app or the dataset API to send rows to a sheet, a database or a chat.
- Apify MCP server: ask an AI agent to run the Actor and read the dataset for you.
- Webhooks: fire one when a run finishes.

### FAQ

**Do I need a priceoye.pk account?**
No. The Actor reads public pages only.

**Why is the price in PKR?**
priceoye.pk shows prices in Pakistani rupees. The `currency` field says so on every row.

**What does `price` mean when a product is sold by more than one store?**
It is the lowest current price the site lists for the product. `highestPrice` is the top of the range.

**Does it return reviews?**
No. Only the average rating and the number of ratings.

**Can I get only new products every day?**
Yes. Turn `onlyNew` on and schedule the run. Products delivered in earlier runs of the same search or link are skipped and not charged.

**Does a search return accessories too?**
Yes, when the site's search matches them. Products such as cables and chargers come with the phones for a keyword like iphone. Filter on `category` or `brand` in your own step if you need only phones.

**Why did a search return no rows?**
If the site has no product for the keyword, the run writes a `NO_RESULTS` row and charges nothing.

### Limitations

- Only what priceoye.pk shows on its public pages. Fields the site does not show are `null`.
- Prices and stock change on the site all the time. Each row is a snapshot of the moment the run read it.
- The specification text is one string, as the site writes it. It is not split into separate fields.
- Some categories and searches show a limited number of pages on the site. The run stops at the last page it finds.
- The site decides the order of results. Use `maxItems` to cap the run.

### Changelog

#### 0.1 (9 Nov 2026)

- First version: keyword search, category links, search links and product links.
- Output: name, brand, price and retail price in PKR, discount, stock, rating, colors, storage options and specs.
- Price per product delivered, with error rows and repeated products free.
- Optional `onlyNew` for schedules.

# Actor input Schema

## `searchTerms` (type: `array`):

Product keywords, one per line, for example iphone or infinix. Each keyword is one search on priceoye.pk. Leave empty when you paste links below.

## `startUrls` (type: `array`):

Optional: priceoye.pk links. A category link (https://priceoye.pk/mobiles) gives every product in it, page by page. A product link (https://priceoye.pk/mobiles/infinix/infinix-smart-20) gives that product.

## `maxItems` (type: `integer`):

Hard cap for the whole run, across all searches and links. 0 = no cap.

## `onlyNew` (type: `boolean`):

On: remembers the products delivered in earlier runs of the same search or link (in your account) and delivers only products not seen before. Skipped products are free.

## `proxyConfiguration` (type: `object`):

Apify Proxy with a Pakistan exit by default. Change it only if you know you need to.

## Actor input object example

```json
{
  "searchTerms": [
    "iphone"
  ],
  "maxItems": 50,
  "onlyNew": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `resultsCsv` (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 = {
    "searchTerms": [
        "iphone"
    ],
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapewise/priceoye-scraper").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 = {
    "searchTerms": ["iphone"],
    "maxItems": 50,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapewise/priceoye-scraper").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 '{
  "searchTerms": [
    "iphone"
  ],
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call scrapewise/priceoye-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapewise/priceoye-scraper"
        }
    }
}
```

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/SFkFVNyhmApp3vMaj/builds/6GGhv7vhHOmI7Hh51/openapi.json
