# Swappa Scraper: iPhone, MacBook, Galaxy Prices, No Proxy Needed (`getascraper/swappa-scraper`) Actor

Get used and refurbished iPhone, MacBook, Samsung Galaxy, Google Pixel, and iPad listings from Swappa.com as structured data: price, condition, storage, carrier, and seller ratings. No residential proxy needed, no Cloudflare blocks. Export to CSV, JSON, or Excel. $7 per 1,000 results.

- **URL**: https://apify.com/getascraper/swappa-scraper.md
- **Developed by:** [GetAScraper](https://apify.com/getascraper) (community)
- **Categories:** E-commerce, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 8 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.87 / 1,000 listing scrapeds

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

## Swappa Scraper: iPhone, MacBook, Galaxy Prices, No Proxy Needed

<table width="100%" style="display:table;width:100%;border-collapse:separate;border-spacing:0;margin-bottom:0">
<tr>
<td style="padding:24px 28px;background:#F1F9F4;border:1px solid #BBF7D0;border-top:4px solid #16A34A;color:#1C1917;border-radius:10px 10px 0 0">
<span style="font-size:23px;font-weight:800;color:#1C1917;line-height:1.3">Turn Swappa listings into a clean pricing dataset</span><br>
<span style="font-size:15px;color:#57534E;line-height:1.6">Price, condition, carrier, storage, and seller details for every iPhone, MacBook, and Galaxy listing on Swappa, pulled without logins or blocked requests.</span>
</td>
</tr>
</table>
<table width="100%" style="display:table;width:100%;border-collapse:separate;border-spacing:0;margin-top:0">
<tr>
<td style="padding:14px 12px;width:25%;background:#FFFFFF;border:1px solid #BBF7D0;vertical-align:top;border-top:none;color:#1C1917;border-radius:0 0 0 10px">
<span style="font-size:15px;font-weight:800;color:#166534">🚫 Never blocked</span><br>
<span style="font-size:12px;color:#57534E">Reads public archive snapshots instead of the live storefront, so runs finish even when direct access is filtered.</span>
</td>
<td style="padding:14px 12px;width:25%;background:#FFFFFF;border:1px solid #BBF7D0;border-left:none;vertical-align:top;border-top:none;color:#1C1917">
<span style="font-size:15px;font-weight:800;color:#166534">💲 Full price detail</span><br>
<span style="font-size:12px;color:#57534E">Price, condition, storage, carrier, and shipping cost on every listing.</span>
</td>
<td style="padding:14px 12px;width:25%;background:#FFFFFF;border:1px solid #BBF7D0;border-left:none;vertical-align:top;border-top:none;color:#1C1917">
<span style="font-size:15px;font-weight:800;color:#166534">⭐ Seller trust data</span><br>
<span style="font-size:12px;color:#57534E">Seller name, star rating, and review count for every listing.</span>
</td>
<td style="padding:14px 12px;width:25%;background:#FFFFFF;border:1px solid #BBF7D0;border-left:none;vertical-align:top;border-top:none;color:#1C1917;border-radius:0 0 10px 0">
<span style="font-size:15px;font-weight:800;color:#166534">📅 Dated snapshots</span><br>
<span style="font-size:12px;color:#57534E">Every row keeps its archive date, so repeat runs give comparable history.</span>
</td>
</tr>
</table>

### 🔍 What does Swappa Scraper do?

**Get current Swappa listings for used and refurbished iPhones, MacBooks, Samsung Galaxies, Google Pixels, iPads, smartwatches, and gaming consoles, ready for your spreadsheet in under 60 seconds.** It extracts prices, condition grades, carrier options, storage specs, seller reviews, and images from public archives, meaning no login or complex proxies are required. Ideal for price monitoring, resale arbitrage, trade-in comparisons, and electronics market research.

### 💡 Why use Swappa Scraper?

- **I am an electronics reseller** comparing used phone and laptop prices on Swappa against eBay and Amazon trade-in values to spot high-margin arbitrage deals.
- **I am a deal hunter** watching used iPhone and MacBook pricing to purchase a certified pre-owned device when it hits my target budget.
- **I am a market-research analyst** building weekly reports on secondary electronics market trends, tracking depreciation curves and supply volume across different brands and models.
- **I am a buyback program manager** comparing real-time retail listing prices on Swappa against my store's buyback values to keep our margins competitive.
- **I am an AI developer** training a valuation model on historical retail listings to predict secondary market price changes over time.

### 🚀 How to use Swappa Scraper

<table width="100%" style="display:table;width:100%;border-collapse:separate;border-spacing:0">
<tr>
<td style="padding:16px 14px;width:33%;background:#F1F9F4;border:1px solid #BBF7D0;border-radius:10px 0 0 10px;vertical-align:top;color:#1C1917">
<span style="font-size:12px;font-weight:800;color:#16A34A;letter-spacing:1px">STEP 1</span><br>
<span style="font-size:14px;font-weight:700;color:#1C1917">Pick a target</span><br>
<span style="font-size:12px;color:#57534E">Type a search term like iPhone 14 or paste a Swappa listings URL.</span>
</td>
<td style="padding:16px 14px;width:33%;background:#F1F9F4;border:1px solid #BBF7D0;border-left:none;vertical-align:top;color:#1C1917">
<span style="font-size:12px;font-weight:800;color:#16A34A;letter-spacing:1px">STEP 2</span><br>
<span style="font-size:14px;font-weight:700;color:#1C1917">Set filters</span><br>
<span style="font-size:12px;color:#57534E">Narrow by price range, carrier, or condition grade if you need to.</span>
</td>
<td style="padding:16px 14px;width:33%;background:#F1F9F4;border:1px solid #BBF7D0;border-left:none;border-radius:0 10px 10px 0;vertical-align:top;color:#1C1917">
<span style="font-size:12px;font-weight:800;color:#16A34A;letter-spacing:1px">STEP 3</span><br>
<span style="font-size:14px;font-weight:700;color:#1C1917">Export your data</span><br>
<span style="font-size:12px;color:#57534E">Start the run and download results as CSV, JSON, or Excel.</span>
</td>
</tr>
</table>

Create a free Apify account (no credit card needed), open Swappa Scraper in the Apify Console, and follow the three steps above.

### 📥 Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `searchQueries` | array of strings | No | Fuzzy-match terms (e.g. `iPhone 14` maps to `/listings/apple-iphone-14`). Leave blank if using direct Start URLs. |
| `startUrls` | array of URLs | No | Direct Swappa listings URLs (e.g. `https://swappa.com/listings/apple-iphone-15`). Bypasses search mapping completely. |
| `category` | enum | No | Narrow search queries to a specific device class: `all`, `iphones`, `macbooks`, `galaxy`, `ipads`, `watches`, `consoles`. |
| `minPrice` | integer | No | Only include devices priced at or above this value. 0 = no minimum. |
| `maxPrice` | integer | No | Only include devices priced at or below this value. 0 = no maximum. |
| `carrier` | enum | No | Cellular carrier: `any`, `unlocked`, `verizon`, `att`, `t-mobile`, `sprint`, `xfinity`. |
| `condition` | enum | No | Restrict to device conditions: `any`, `mint`, `good`, `fair`, `poor`. |
| `dataSource` | enum | No | Choose where to pull listings from: `wayback` (recommended, unblocked), `live` (storefront), or `auto` (live then Wayback). |
| `scrapeDetails` | boolean | No | Fetch individual listing detail pages in parallel for full JSON-LD specs. Note: this is slower. Defaults to false. |
| `maxItems` | integer | No | Maximum listings to extract per category. Defaults to 100. |
| `maxConcurrency` | integer | No | Maximum parallel requests (1-20). Defaults to 5. |
| `debugLogging` | boolean | No | Print detailed tags (WAYBACK-CDX, WAYBACK-FETCH, EMIT) to the run log. Defaults to false. |
| `proxyConfiguration` | object | No | Proxy settings. Not needed for the recommended Internet Archive source. |

### 📤 Output

A structured dataset of electronics listings with pricing, condition, carrier, storage, color, seller details, and image URLs. Free users get up to 50 results per run, paid plans scale to 1,000,000.

```json
{
  "productID": "LXKJ43930",
  "title": "Apple iPhone 14 - Cricket, Midnight, 128 GB, A2649",
  "price": 255,
  "currency": "USD",
  "brand": "Apple",
  "color": "Midnight",
  "storage": "128 GB",
  "carrier": "Cricket",
  "model": "A2649",
  "condition": "Mint",
  "availability": "InStock",
  "sellerName": "The Cellular Resource",
  "sellerUrl": "",
  "sellerRating": "",
  "reviewCount": 7936,
  "shippingCost": 0,
  "imageUrl": "https://static.swappa.com/images/cache/a5/34/a53447e9b36d5bd1fd69f22af909e708.jpg",
  "description": "",
  "listingUrl": "https://swappa.com/listing/view/LXKJ43930",
  "waybackUrl": "https://web.archive.org/web/20250912111521id_/https://swappa.com/listings/apple-iphone-14",
  "snapshotDate": "20250912",
  "source": "swappa-wayback"
}
```

### 📊 Data table

| Field | Type | Description |
| --- | --- | --- |
| `productID` | string | Unique Swappa listing identifier (8-character alphanumeric). |
| `title` | string | Full listing title. |
| `price` | number | Listed price in US dollars. |
| `currency` | string | ISO 4217 currency code, always USD. |
| `brand` | string | Device brand (Apple, Samsung, Google, etc.). |
| `color` | string | Device color (Midnight, Starlight, etc.). |
| `storage` | string | Storage capacity (128 GB, 256 GB, etc.). |
| `carrier` | string | Cellular carrier (Unlocked, Verizon, AT\&T, T-Mobile, etc.). |
| `model` | string | Apple-style hardware model number (A2649, etc.). |
| `condition` | string | Device condition grade (Mint, Good, Fair, Poor). |
| `availability` | string | Listing availability, always InStock. |
| `sellerName` | string | Display name of the seller. |
| `sellerUrl` | string | Link to the seller profile (only present in detail mode). |
| `sellerRating` | string | Seller rating out of 5 stars (only present in detail mode). |
| `reviewCount` | number | Total number of seller reviews. |
| `shippingCost` | number | Shipping cost in USD (0 = free shipping). |
| `imageUrl` | string | Primary listing image URL. |
| `description` | string | Detailed seller description or battery health summary. |
| `listingUrl` | string | Canonical link to the live listing. |
| `waybackUrl` | string | Full Wayback snapshot URL. |
| `snapshotDate` | string | Date the Wayback snapshot was captured (YYYY-MM-DD). |
| `source` | string | Data origin (`swappa-wayback`). |

### 💰 Pricing

This Actor runs on pay-per-result pricing. You only pay for listings actually returned, so an empty search costs nothing. No subscriptions, no minimum spend, and no hidden fees.

### ⭐ Enjoying Swappa Scraper?

<table width="100%" style="display:table;width:100%;border-collapse:separate;border-spacing:0">
<tr>
<td style="padding:20px 24px 14px;background:#F1F9F4;border:1px solid #BBF7D0;border-left:5px solid #16A34A;border-radius:10px 10px 0 0;color:#1C1917">
<span style="font-size:20px;letter-spacing:4px">⭐ ⭐ ⭐ ⭐ ⭐</span><br>
<span style="font-size:17px;font-weight:800;color:#1C1917">If this Actor helped you spot a used-electronics arbitrage deal, leave a quick review.</span><br>
<span style="font-size:14px;color:#57534E">A 5-star rating takes 10 seconds and helps other resellers and deal hunters find it. Your feedback also tells us what to build next.</span>
</td>
</tr>
<tr>
<td style="padding:0;background:#107E39;border:1px solid #107E39;border-left:5px solid #107E39;border-top:none;border-radius:0 0 10px 10px;text-align:center;color:#1C1917">
<a href="https://apify.com/getascraper/swappa-scraper/reviews" style="display:block;padding:13px 16px;color:#FFFFFF;text-decoration:none;font-weight:800;font-size:15px;letter-spacing:0.3px">★&nbsp;&nbsp;Rate this Actor on Apify</a>
</td>
</tr>
</table>

### ✨ Tips or advanced options

- **Use the Wayback Machine source by default.** It is unblocked and costs $0 in proxy fees. It fetches the latest available snapshot of Swappa's listings and extracts clean product data.
- **Set filters to slim down the run.** Use the Carrier, Price, and Condition filters to target the exact listings you need. Filters are applied during extraction to save you time.
- **List-only mode is 10x faster.** Keep `scrapeDetails: false` (the default) to capture listings straight from the index page. Turn it on only if you need full seller reviews, shipping details, and descriptions.
- **Direct links bypass search.** Paste category URLs directly into `startUrls` to bypass search mapping and scrape niche models or accessories instantly.
- **Data snapshots are reproducible.** Because the snapshots are immutable, running the same Wayback URL with the same parameters will always produce identical, reliable results, which is perfect for backtesting and price history comparison.

### ❓ FAQ, disclaimers, and support

##### Is the Swappa scraper legal and compliant?

Yes. The Swappa scraper reads from the public Internet Archive Wayback Machine, which only crawls public web pages. It does not access private databases or require accounts. You are responsible for compliance with Swappa terms of service and applicable local laws.

##### Does this scraper get blocked by Cloudflare?

No. While direct cloud access to Swappa is heavily filtered by Cloudflare, our Wayback Machine route pulls data from public archives which are unblocked. This ensures your runs compile successfully and reliably on every single attempt.

##### How fresh is the pricing data?

The public archive snapshots are typically 1-7 days behind Swappa's live storefront. For price monitoring, market research, and trade-in comparison, this is fresh enough. If you require sub-second live pricing, you will need to enable live mode combined with residential proxies.

##### Which Swappa models and categories are supported?

All major consumer electronics classes, including iPhones, MacBooks, iPads, Samsung Galaxies, Google Pixels, smartwatches, and gaming consoles (PS5, Xbox, Nintendo Switch). You can filter the catalog by carrier, price, or condition grade.

**Disclaimer:** This Actor accesses public Internet Archive data only. It does not bypass authentication, paywalls, or anti-bot systems on the live Swappa site. Swappa is the registered trademark of Swappa, LLC. This Actor is not affiliated with, endorsed by, or sponsored by Swappa, LLC.

### 🔗 Other actors

- [Cashify Scraper](https://apify.com/getascraper/cashify-scraper) ↗ - tracks used device buyback and resale prices in India.
- [Whatnot Scraper](https://apify.com/getascraper/whatnot-scraper) ↗ - extracts live shopping shows, products, and sellers.
- [ShopGoodwill Scraper](https://apify.com/getascraper/shopgoodwill-scraper) ↗ - pulls active and sold charity auction listings.
- [AuctionNinja Scraper](https://apify.com/getascraper/auctionninja-scraper) ↗ - collects estate sale and online auction listings.
- [Mercari US Scraper](https://apify.com/getascraper/mercari-us-scraper) ↗ - extracts sold prices, conditions, and sellers on Mercari.

# Actor input Schema

## `searchQueries` (type: `array`):

Fuzzy-match terms (e.g. 'iPhone 14' maps to '/listings/apple-iphone-14'). Leave blank if using direct Start URLs.

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

Direct Swappa listings URLs (e.g. 'https://swappa.com/listings/apple-iphone-15'). Bypasses search mapping completely.

## `category` (type: `string`):

Narrow search queries to a specific device class (e.g. iPhones, MacBooks, iPads).

## `minPrice` (type: `integer`):

Only include devices priced at or above this value. 0 = no minimum.

## `maxPrice` (type: `integer`):

Only include devices priced at or below this value. 0 = no maximum.

## `carrier` (type: `string`):

Restrict to listings under this cellular network.

## `condition` (type: `string`):

Restrict to listings matching this physical condition grade.

## `dataSource` (type: `string`):

Where to pull listings from. Wayback Machine is unblocked and costs $0 in proxies. Live storefront is often blocked.

## `scrapeDetails` (type: `boolean`):

Fetch individual listing detail pages in parallel for JSON-LD specs. Note: this is slower and multiplies requests.

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

Maximum number of listings to output per category (0 = unlimited).

## `maxConcurrency` (type: `integer`):

Maximum parallel requests (1-20). Higher is faster but may trigger CDX rate limits.

## `debugLogging` (type: `boolean`):

Print granular tracing tags (WAYBACK-CDX, WAYBACK-FETCH, EMIT) to the run logs.

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

Proxy options. Required only if fetching from the live Swappa storefront.

## Actor input object example

```json
{
  "searchQueries": [
    "iPhone 14"
  ],
  "startUrls": [],
  "category": "all",
  "minPrice": 0,
  "maxPrice": 0,
  "carrier": "any",
  "condition": "any",
  "dataSource": "wayback",
  "scrapeDetails": false,
  "maxItems": 100,
  "maxConcurrency": 5,
  "debugLogging": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (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 = {
    "searchQueries": [
        "iPhone 14"
    ],
    "startUrls": [],
    "category": "all",
    "minPrice": 0,
    "maxPrice": 0,
    "carrier": "any",
    "condition": "any",
    "dataSource": "wayback",
    "scrapeDetails": false,
    "maxItems": 100,
    "maxConcurrency": 5,
    "debugLogging": false,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("getascraper/swappa-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 = {
    "searchQueries": ["iPhone 14"],
    "startUrls": [],
    "category": "all",
    "minPrice": 0,
    "maxPrice": 0,
    "carrier": "any",
    "condition": "any",
    "dataSource": "wayback",
    "scrapeDetails": False,
    "maxItems": 100,
    "maxConcurrency": 5,
    "debugLogging": False,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("getascraper/swappa-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 '{
  "searchQueries": [
    "iPhone 14"
  ],
  "startUrls": [],
  "category": "all",
  "minPrice": 0,
  "maxPrice": 0,
  "carrier": "any",
  "condition": "any",
  "dataSource": "wayback",
  "scrapeDetails": false,
  "maxItems": 100,
  "maxConcurrency": 5,
  "debugLogging": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call getascraper/swappa-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,getascraper/swappa-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/cgZTYM6AuGhApfj9f/builds/MBrFmUoJIrQ6OilIn/openapi.json
