# Etsy Product API

> Look up one Etsy listing by id and get its price, images, description, rating, reviews count, shop, category, variations, stock, ship-from country, favorites and materials in one normalized response.

Source: https://www.sandbase.ai/apis/etsy/product
API reference: https://www.sandbase.ai/apis/etsy/product#api

## Facts

- Provider: Etsy
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/etsy/product`
- Price: From $0.00187 per call
- Capabilities: api, etsy, ecommerce, product data
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/etsy/product` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `listingId` | string | yes |  |
| `requireFields` | array | no |  |

## FAQ

### How do I use the Etsy Product API?

Send a POST request to https://api.sandbase.ai/v1/api/etsy/product with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the Etsy Product API cost?

From $0.00187 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

### What parameters does the Etsy Product API accept?

Required: listingId (string). Optional: requireFields (array). The Parameters table and the Playground on this page list every field.

### What does the Etsy Product API return?

A JSON response returned in the same HTTP request (synchronous).

### Do I need a Etsy developer account or API key?

No. Etsy Product runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Etsy API access separately.

## README

### Etsy Product API

Look up one Etsy listing by id and get its price, images, description, rating, reviews count, shop, category, variations, stock, ship-from country, favorites and materials in one normalized response.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "etsy/product", "listingId": "1810545592"}'
```

The result is returned in `outputs[0].data`. Lookups that find nothing fail with a not-found error.

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `listingId` | string | Yes | Etsy listing id, the number in the listing URL (https://www.etsy.com/listing/<id>/...), e.g. 1810545592. The Etsy Search and Etsy Shop Listings SKUs return it as listingId. |
| `requireFields` | array | No | Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `materials`, and it is served only by a source that returns every one  |

#### Pricing

Billed at the actual cost of each call, about $0.00187 per request. A call can cost more when the first data source fails and another one answers. Failed calls and lookups that find nothing are not charged.
