# Etsy Product Details (`pintostudio/etsy-product-details`) Actor

The Etsy Product Details Actor is a powerful Apify scraper designed to extract comprehensive product information from Etsy listings.

- **URL**: https://apify.com/pintostudio/etsy-product-details.md
- **Developed by:** [Pinto Studio](https://apify.com/pintostudio) (community)
- **Categories:** E-commerce, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 27 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.80 / 1,000 results

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

## Etsy Product Details Actor Documentation

### Overview

The **Etsy Product Details Actor** is a powerful Apify scraper designed to extract comprehensive product information from Etsy listings. This actor retrieves detailed product data including pricing, inventory, images, descriptions, and metadata from any Etsy product URL.

### Features

- **Complete Product Information**: Extracts all essential product details including title, description, pricing, and availability
- **Multi-Currency Support**: Retrieve pricing information in different currencies (USD, EUR, GBP, etc.)
- **Localization Options**: Support for multiple languages and country-specific data
- **Rich Media Data**: Captures all product images with detailed metadata (dimensions, colors, blur hashes)
- **Inventory Details**: Real-time stock availability and quantity information
- **Shop Information**: Includes seller details and shop metadata
- **Taxonomy Data**: Product categorization and tagging information
- **No Proxy Required**: Lightweight implementation that works without proxy configuration

### Input Parameters

The actor accepts the following input parameters:

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `productUrl` | String | No | Sample URL | The full Etsy product listing URL |
| `currency` | String | No | USD | Currency code for pricing (USD, EUR, GBP, CAD, etc.) |
| `language` | String | No | en-GB | Language code for localized content (en-US, de, fr, es, etc.) |
| `country` | String | No | US | Country code for region-specific data |

#### Input Example

```json
{
  "productUrl": "https://www.etsy.com/listing/4373914722/custom-photo-hunting-ornament-hunting",
  "currency": "USD",
  "language": "en-GB",
  "country": "US"
}
```

### Output Data Structure

The actor returns a comprehensive JSON object containing the following sections:

#### Basic Information

- `listingId`: Unique identifier for the listing
- `shopId`: Shop identifier
- `title`: Product title
- `description`: Full product description
- `state`: Listing status (active, sold out, etc.)
- `url`: Direct link to the product
- `shopName`: Name of the seller's shop

#### Pricing

- `price`: Formatted price
- `priceInt`: Price in cents/smallest currency unit
- `currencyCode`: Currency code
- `currencySymbol`: Currency symbol
- `formattedPrice`: Human-readable price string

#### Inventory

- `quantity`: Available stock
- `isAvailable`: Availability status
- `isSoldOut`: Whether the product is sold out
- `isActive`: Listing active status

#### Product Details

- `categoryName`: Product category
- `tags`: Array of product tags
- `materials`: Materials used
- `whenMade`: Production method (made_to_order, etc.)
- `isMadeToOrder`: Custom order flag
- `isCustomizable`: Customization availability
- `isDigital`: Digital product flag
- `shipsFromCountry`: Origin country

#### Media

- `images`: Array of image URLs
- `imageDetails`: Detailed image metadata including:
  - Dimensions (width/height)
  - Color codes
  - Blur hashes
  - Saturation and hue values

#### Metrics

- `views`: Number of views
- `favorites`: Favorite count
- `isBestseller`: Bestseller status
- `isTopRated`: Top-rated flag

#### Dates

- `created`: Creation timestamp
- `updated`: Last update timestamp

#### Additional Information

- Payment methods
- Shipping details
- Localization options
- Taxonomy hierarchy
- Shop section information

### Output Example

```json
{
  "basic": {
    "listingId": 4373914722,
    "title": "Custom Photo Hunting Ornament...",
    "state": "active",
    "shopName": "CraftopiaByLH"
  },
  "pricing": {
    "price": 18.72,
    "currencyCode": "USD",
    "formattedPrice": "$18.72"
  },
  "inventory": {
    "quantity": 1801,
    "isAvailable": true
  },
  "media": {
    "images": ["https://i.etsystatic.com/..."],
    "imageDetails": [...]
  }
}
```

### Use Cases

#### E-commerce Analytics

- Track competitor pricing and inventory
- Monitor product availability
- Analyze product descriptions and marketing strategies

#### Market Research

- Collect data on trending products
- Analyze pricing strategies across sellers
- Study product categorization and tagging

#### Price Monitoring

- Track price changes over time
- Compare prices across different currencies
- Identify pricing patterns

#### Inventory Management

- Monitor stock levels
- Track product availability
- Get alerts on low inventory

#### Content Aggregation

- Build product catalogs
- Create comparison websites
- Aggregate product information for marketplaces

### Technical Details

#### Implementation

- Built with Apify SDK
- Uses Axios for HTTP requests
- ESM module structure
- Error handling and validation included

#### Performance

- Fast execution time
- Minimal resource usage
- No proxy configuration required
- Efficient data extraction

#### Data Storage

- Results saved to Apify dataset
- Output stored in key-value store
- Supports batch processing

### Error Handling

The actor includes robust error handling:

- Validates input parameters
- Catches and logs errors
- Provides meaningful error messages
- Graceful failure with proper exit codes

### Best Practices

1. **URL Validation**: Ensure product URLs are valid and properly formatted
2. **Rate Limiting**: Be mindful of request frequency to avoid rate limits
3. **Currency Codes**: Use standard ISO 4217 currency codes
4. **Language Codes**: Use ISO 639-1 language codes
5. **Batch Processing**: For multiple products, process in manageable batches

### Limitations

- Requires valid Etsy product URLs
- Respects Etsy's robots.txt and terms of service
- Real-time data only (no historical tracking built-in)
- Some data may vary based on user location and settings

### Support and Updates

For issues, feature requests, or questions:

- Check the Apify platform documentation
- Contact us

### Version History

- **Current Version**: 1.0
- Initial release with comprehensive product data extraction
- Support for multiple currencies and languages
- Full media and metadata extraction

***

# Actor input Schema

## `productUrl` (type: `string`):

The productUrl to retrieve the description of. i.e: https://www.etsy.com/listing/4329063949/laser-cut-perpetual-calendar-svg-floral

## `currency` (type: `string`):

The currency code.

## `language` (type: `string`):

The language.

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

The country.

## Actor input object example

```json
{
  "productUrl": "https://www.etsy.com/listing/4329063949/laser-cut-perpetual-calendar-svg-floral",
  "currency": "USD",
  "language": "en-US",
  "country": "US"
}
```

# 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 = {
    "productUrl": "https://www.etsy.com/listing/4329063949/laser-cut-perpetual-calendar-svg-floral",
    "currency": "USD",
    "language": "en-US",
    "country": "US"
};

// Run the Actor and wait for it to finish
const run = await client.actor("pintostudio/etsy-product-details").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 = {
    "productUrl": "https://www.etsy.com/listing/4329063949/laser-cut-perpetual-calendar-svg-floral",
    "currency": "USD",
    "language": "en-US",
    "country": "US",
}

# Run the Actor and wait for it to finish
run = client.actor("pintostudio/etsy-product-details").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 '{
  "productUrl": "https://www.etsy.com/listing/4329063949/laser-cut-perpetual-calendar-svg-floral",
  "currency": "USD",
  "language": "en-US",
  "country": "US"
}' |
apify call pintostudio/etsy-product-details --silent --output-dataset

```

## MCP server setup

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

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/ikoDhuddmFWnKAcHH/builds/MJKqDxRW6ElO7ZUHs/openapi.json
