---
title: "Etsy API: Product Data as JSON | Perceptlayer"
description: "One GET to /v1/etsy/product returns an Etsy listing's price, discount, stock, variations and images as JSON, at 10 credits per successful call."
url: https://perceptlayer.com/blog/etsy-api-listings-json
---

[Blog](https://perceptlayer.com/blog) / [API guides](https://perceptlayer.com/blog/category/api-guides)

# Etsy API: Product Data as JSON

15 Nov 2026 Perceptlayer 7 min read

To get Etsy product data as JSON, send one request to Perceptlayer's `GET /v1/etsy/product` with a `listing_id` or a `url`. The response holds the listing's title, price with discount, availability, stock count, variations, materials, images, shop ID and favourites count. The Etsy API has this one endpoint, and it costs 10 credits per successful call, so budget per product you track. This guide shows the request, the parameters, a recorded response, a tracking script and the cost.

## Key takeaways

-   The Etsy API has one endpoint, `GET /v1/etsy/product`, with two optional parameters, `url` and `listing_id`, at 10 credits per successful call.
-   The recorded response carries `price.current`, `price.original`, `price.discount_percent`, `price.currency`, `availability`, `quantity_available` and `favorites_count` for the listing.
-   Tracking 200 listings once a day is 200 × 30 × 10 = 60,000 credits a month; the 100 signup credits cover 10 calls.
-   Failed calls cost nothing and return `X-Credits-Used: 0`, and each successful response also reports `meta.credits_charged`.
-   `variations` lists each option group by `name`, with an `id` and a `label` per option, so you can store what a buyer can choose.

## What does the Etsy product endpoint return?

The endpoint returns one Etsy listing as a JSON object: the listing ID and URL, title, description, category, a `price` object, availability and stock, images, materials, variations, shipping origin, the shop's ID, the favourites count and the date in `listed_on`. Everything sits under `data`, and a `meta` object reports the request ID and the credits charged. There is no search or shop endpoint, so you start from listings you already know.

That shape fits jobs that watch a known set of products: price and discount tracking, stock monitoring, catalogue enrichment or checking how a listing's favourites count moves over time. If you need to discover listings by keyword, you need a list of listing IDs or URLs from somewhere else first; this endpoint reads them one at a time.

The data comes from publicly available sources and is returned as found at the time of the call. Each call is a fresh read of one listing, so a daily job gives you a daily snapshot.

## How is this different from a seller-account integration?

A seller-account integration is built around your own shop: you connect an account and work with that shop's data. This endpoint reads a public listing by its ID or URL, with one Perceptlayer key and no shop connection, so it works the same for your listings, a supplier's or a competitor's. It returns what the listing shows, not account data such as orders.

That makes the trade-off simple. If you manage a shop and need to change listings or read orders, look at Etsy's own developer documentation and compare it yourself; this endpoint doesn't do that. If you need read-only product data across shops you don't own, in the same JSON shape as other marketplaces, the product endpoint fits. The [Marketplaces APIs](https://perceptlayer.com/verticals/marketplaces) use the same key, headers and error format, so an Etsy job can sit next to, say, an AliExpress or Vinted job without a second integration. [AliExpress Scraper or API](https://perceptlayer.com/blog/aliexpress-scraper-vs-api) and [Vinted Scraper or API](https://perceptlayer.com/blog/vinted-scraper-vs-api) cover those two.

## How do you call the Etsy product endpoint?

Send a `GET` request to `https://api.perceptlayer.com/v1/etsy/product` with the listing in the query string and your key in the `X-API-Key` header. This is the request behind the recorded response used in this guide:

```bash
curl "https://api.perceptlayer.com/v1/etsy/product?listing_id=1241528786" \
  -H "X-API-Key: $API_KEY"
```

Keys start with `sk_live_`. Where you can't set a header, the key can go in the `api_key` query parameter instead; the [authentication docs](https://docs.perceptlayer.com/authentication) cover both. A successful response carries `X-Credits-Used` and `X-Credits-Remaining` headers, so a job can log each call's cost and the balance left.

## Which parameters does the endpoint take?

The endpoint takes two parameters, and neither is marked required. `listing_id` is a string, and `url` is a string of up to 500 characters. The recorded call passes `listing_id` alone, and the response echoes both the `listing_id` and the listing's `url`. Nothing else about the parameters is documented, so don't assume defaults.

| Parameter | Type | Required | Documented constraint |
| --- | --- | --- | --- |
| `listing_id` | string | no | None documented |
| `url` | string | no | Up to 500 characters |

If you hold listing URLs rather than IDs, try a `url` call in the playground on the [Etsy product endpoint page](https://perceptlayer.com/apis/etsy/product) before you build a job around it, and compare the `listing_id` that comes back with your own records. The recording returns `listing_id` as a string, so store it as text.

## What does a recorded response look like?

A successful response has `success`, a `data` object with the listing and a `meta` object with the request details. This is the recorded response for listing `1241528786`, trimmed to the fields a tracking job reads:

```json
{
  "success": true,
  "data": {
    "listing_id": "1241528786",
    "url": "https://www.etsy.com/listing/1241528786/personalized-leather-rfid-wallet",
    "title": "Personalized Leather RFID Wallet, Engraved Genuine Leather Custom Wallet, …",
    "category": [
      "Wallets"
    ],
    "price": {
      "current": 28,
      "original": 70,
      "discount_percent": 60,
      "currency": "USD"
    },
    "availability": "InStock",
    "quantity_available": 1333,
    "rating": {},
    "images": [
      {
        "url": "https://i.etsystatic.com/35016605/r/il/a5f633/4007318605/il_fullxfull.4007318605_mj36.jpg",
        "thumbnail": "https://i.etsystatic.com/35016605/r/il/a5f633/4007318605/il_340x270.4007318605_mj36.jpg"
      },
      …
    ],
    "materials": [
      "Leather",
      "Nylon"
    ],
    "variations": [
      {
        "name": "Engraving Side",
        …
      },
      {
        "name": "Color",
        "options": [
          {
            "id": "2682504516",
            "label": "Light Brown"
          },
          …
        ]
      }
    ],
    "shipping": {
      "origin_country": "US"
    },
    "shop": {
      "id": "35016605",
      …
    },
    "favorites_count": 19378,
    "listed_on": "2026-11-12"
  },
  "meta": {
    "request_id": "req_cef5a95241574a968fd0fb23440aff7d",
    "credits_charged": 10,
    …
  }
}
```

| Field | What it holds in the recording |
| --- | --- |
| `price.current` / `price.original` | 28 and 70 |
| `price.discount_percent` | 60 |
| `price.currency` | `USD` |
| `availability` | `InStock` |
| `quantity_available` | 1333 |
| `variations[].name` | `Engraving Side`, `Color` |
| `shop.id` | `35016605` |
| `favorites_count` | 19378 |
| `meta.credits_charged` | 10 |

### Which fields need care?

`rating` is an empty object in the recording, so your code shouldn't assume it holds anything. Read it defensively and store nothing when it's empty. `description` is cut short in the recording and ends in `…`, so treat it as a summary rather than the full text. The `price` figures arrive as numbers next to a `currency` string; store the currency with every price so a later change doesn't mix units.

## How do you track a set of listings in Python?

A tracking job is a loop over listing IDs: one call each, a few fields from `data`, and one row appended to a CSV file. The script below does that with `requests`. It waits on a 429 or 503 using the `Retry-After` header, reads only fields that appear in the recorded response, and records the credits each call used.

```python
import csv
import datetime
import os
import time

import requests

API_KEY = os.environ["API_KEY"]
URL = "https://api.perceptlayer.com/v1/etsy/product"
LISTING_IDS = ["1241528786"]

def fetch(listing_id, attempts=3):
    for _ in range(attempts):
        r = requests.get(
            URL,
            params={"listing_id": listing_id},
            headers={"X-API-Key": API_KEY},
            timeout=60,
        )
        if r.status_code in (429, 503):
            time.sleep(int(r.headers.get("Retry-After", "5")))
            continue
        r.raise_for_status()
        return r.json(), r.headers.get("X-Credits-Used")
    raise RuntimeError(f"gave up on {listing_id}")

today = datetime.date.today().isoformat()
with open("etsy_prices.csv", "a", newline="") as f:
    out = csv.writer(f)
    for listing_id in LISTING_IDS:
        body, credits = fetch(listing_id)
        data = body.get("data", {})
        price = data.get("price", {})
        out.writerow([
            today,
            data.get("listing_id", listing_id),
            price.get("current", ""),
            price.get("original", ""),
            price.get("discount_percent", ""),
            price.get("currency", ""),
            data.get("availability", ""),
            data.get("quantity_available", ""),
            data.get("favorites_count", ""),
            credits,
        ])
        time.sleep(1)
```

Each row holds the date, listing ID, current and original price, discount, currency, availability, stock, favourites and the credits used. The one-second pause keeps the job within the free tier's 1 request a second; paying accounts run at least 5 a second. Run it from cron at the cadence your budget allows.

### What should the job do with errors?

Every error returns an HTTP status and a JSON body with `code`, `message` and `request_id`. The script retries `rate_limited` (429) and `temporarily_unavailable` (503) after `Retry-After`. Treat `invalid_parameters` (422) as a bad entry in your list and `source_error` (502) as one to retry on the next run. Requests have no idempotency key, so a client timeout may hide a call that succeeded and was billed; keep the timeout generous. The [errors docs](https://docs.perceptlayer.com/errors) list every code.

## What does tracking Etsy listings cost?

Tracking costs 10 credits per listing per check, and only successful calls are billed. Multiply the number of listings by the checks per month and by 10. Because Etsy calls cost ten times a 1-credit endpoint, the check cadence matters more than usual: four weekly checks a month cost 40 credits per listing, against 300 for daily checks.

| Plan | Arithmetic | Credits a month |
| --- | --- | --- |
| 50 listings, weekly | 50 × 4 checks × 10 credits | 2,000 |
| 50 listings, daily | 50 × 30 days × 10 credits | 15,000 |
| 200 listings, daily | 200 × 30 days × 10 credits | 60,000 |
| 1,000 listings, weekly | 1,000 × 4 checks × 10 credits | 40,000 |

The 100 free credits on signup cover 10 calls, enough to test a handful of listings. The first plan fits the Starter pack's 10,000 credits for five months. The second fits the Build pack's 50,000 for three months, the third fits the Growth pack's 200,000 for three months, and the last fits the Build pack for one month. Purchased credits last 12 months, with no subscription. See [pricing](https://perceptlayer.com/pricing) for what credits cost and the [credits docs](https://docs.perceptlayer.com/credits) for how debits work.

To start, run listing `1241528786` or one of your own in the playground on the [Etsy API page](https://perceptlayer.com/apis/etsy), check that the fields you need are filled, then [get a free API key](https://perceptlayer.com/signup) and schedule the script.

## APIs in this post

-   [Etsy **from 10 credits per call** · 1 endpoint](https://perceptlayer.com/apis/etsy)

## Frequently asked questions

### How much does an Etsy API call cost?

Each successful call to `GET /v1/etsy/product` costs 10 credits and returns one listing. A failed call costs nothing and returns `X-Credits-Used: 0`. The response's `meta.credits_charged` and the `X-Credits-Used` header both report the cost. Tracking 200 listings daily is 200 × 30 × 10 = 60,000 credits a month. The pricing page lists what credit packs cost.

### Can I search Etsy or list a whole shop?

No. The Etsy API has one endpoint, `product`, which reads one listing per call by `listing_id` or `url`. It has no search or shop listing endpoint. The response includes `shop.id`, which you can store to group the listings you track by shop, but you need the listing IDs or URLs themselves from your own records.

### How fast can I call the Etsy endpoint?

Request rates are per account, shared by all its keys, and counted per minute. Free accounts get 1 request a second, 60 a minute. Paying accounts run at least 5 a second, 300 a minute, depending on the pack. Responses carry `RateLimit-Remaining` and `RateLimit-Reset`, and a 429 carries `Retry-After`. The [rate limits docs](https://docs.perceptlayer.com/rate-limits) have the details.

### What happens when a listing can't be fetched?

The call returns an HTTP status and a JSON error body with `code`, `message` and `request_id`, such as `not_found` (404) or `source_error` (502), and no credits are debited. Log the `request_id` with the listing ID, skip it for this run and try again on the next one rather than retrying in a tight loop.

### Can an AI agent look up Etsy listings?

Yes. Through the MCP server at `https://perceptlayer.com/mcp`, an agent finds the Etsy endpoint with `search_endpoints`, reads its parameters with `get_endpoint` (both free) and fetches a listing with `call_endpoint`, which spends 10 credits on success only and reports the credits used and remaining. The [AI agents docs](https://docs.perceptlayer.com/ai-agents) show the setup.

etsy marketplaces product data price tracking python

## More from the blog

1.  [API guides](https://perceptlayer.com/blog/category/api-guides) 17 Nov 2026 Perceptlayer 8 min read
    
    ## [Etsy Scraper or API: What You Get](https://perceptlayer.com/blog/etsy-scraper-vs-api)
    
    An Etsy scraper vs one 10-credit product endpoint: a recorded listing with price, discount, quantity, variations and favorites, and the cost per item tracked.
    
2.  [API guides](https://perceptlayer.com/blog/category/api-guides) 15 Nov 2026 Perceptlayer 7 min read
    
    ## [Costco API: Product Data and Prices as JSON](https://perceptlayer.com/blog/costco-api-product-prices)
    
    A recorded Costco search returned 24 products with price, original price, stock and rating as JSON for 1 credit. Endpoints, parameters, tracking costs.
    
3.  [API guides](https://perceptlayer.com/blog/category/api-guides) 13 Nov 2026 Perceptlayer 7 min read
    
    ## [Kroger API: Grocery Products and Prices as JSON](https://perceptlayer.com/blog/kroger-api-grocery-prices)
    
    Search Kroger products as JSON: price, regular\_price, sale\_ends, unit\_price and stock\_level per item. The recorded milk search returned 24 items for 1 credit.
