# TikTok Shop Product ID by Share Link API

> Returns the TikTok Shop product identifier extracted from a provided product share link. Takes a required share URL to resolve the associated product ID.

Source: https://www.sandbase.ai/model/tiktok/shop-web/product-id-by-share-link
API reference: https://www.sandbase.ai/model/tiktok/shop-web/product-id-by-share-link/docs

## Facts

- Provider: TikTok
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/tiktok/shop-web/product-id-by-share-link`
- Price: $0.0015 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: api, tiktok
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/tiktok/shop-web/product-id-by-share-link` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `share_link` | string | yes |  |

## FAQ

### How do I use the TikTok Shop Product ID by Share Link API?

Send a POST request to https://api.sandbase.ai/v1/api/tiktok/shop-web/product-id-by-share-link 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 TikTok Shop Product ID by Share Link API cost?

$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

### What parameters does the TikTok Shop Product ID by Share Link API accept?

Required: share_link (string). The Parameters table and the Playground on this page list every field.

### What does the TikTok Shop Product ID by Share Link API return?

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

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

No. TikTok Shop Product ID by Share Link 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 TikTok API access separately.

## README

### TikTok Shop Product ID by Share Link API

Look up a TikTok Shop product identifier using a `share_link`. Resolves shared URLs into direct product IDs for downstream product queries.

#### Use cases

- Resolve TikTok Shop share links into direct product identifiers.
- Automate product catalog indexing from shared TikTok product URLs.
- Extract item IDs for subsequent product detail queries.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/shop-web/product-id-by-share-link" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"share_link": "<share_link>"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `share_link` | string | Yes | Share link |

#### Notes

- Pass the full TikTok Shop product URL in the `share_link` parameter.

#### Related APIs

- [TikTok Shop Product Details](/model/tiktok/shop-web/product-detail): Retrieves full product details and page component information from TikTok Shop by product ID.
- [TikTok Shop Product Details (V2)](/model/tiktok/shop-web/product-detail-v2): Returns basic product details from TikTok Shop for a specified item.
- [TikTok Shop Product Detail (V3)](/model/tiktok/shop-web/product-detail-v3): Returns comprehensive TikTok Shop product data including shop information, videos, and recommendations for a given product ID across supported regions.
