# Tokopedia API - Get Tokopedia product details(By URL)

## API Overview

- Product basic information (title/category/price)
- Product properties
- Main images/video
- Detailed description
- Shop information (Shop name, shop ID, etc.)
- Review information (rating star/review count)
- Item status

## API URL

`GET https://api.tmapi.io/tokopedia/item_detail_by_url`

## Request Parameters

### Query

| Field | Type | Explanation | Required |
| --- | --- | --- | --- |
| url | string | Product URL | true |

## Security Auth

> Please go to [Console-Account Center](https://console.tmapi.io/account/center) to get your apiToken.

> Add your apiToken to the request parameters. Please refer to the examples below.

## Request Example

```bash

curl --request GET 'https://api.tmapi.io/tokopedia/item_detail_by_url?apiToken=xxxxxx&url=https%3A%2F%2Fwww.tokopedia.com%2Fellipses%2Ftumblr-tee-t-shirt-kaos-pria-lengan-pendek-ny-warna-hitam'

```

## Response Example

```json

{
  "code": 200,
  "msg": "success",
  "data": {
    "item_id": "7724676288",
    "product_url": "https://www.tokopedia.com/ideahouseware/lap-kain-microfiber-cloth-100-premium-export-quality-40x40-cm",
    "title": "lap kain microfiber cloth 100% premium export quality 40x40 cm",
    "currency": "IDR",
    "price_info": {
      "price": "5500",
      "origin_price": "7850"
    },
    "main_imgs": [
      "https://images.tokopedia.net/img/cache/700/VqbcmM/2023/4/28/560b6056-7b70-476f-9ace-25ebb5b7967a.jpg",
      "https://images.tokopedia.net/img/cache/700/VqbcmM/2023/4/28/db428df3-612e-4c02-9df4-27044d4b93e5.jpg",
      "https://images.tokopedia.net/img/cache/700/VqbcmM/2023/4/28/b498fc82-60d2-454c-bb77-2faaeaf92f68.jpg",
      "https://images.tokopedia.net/img/cache/700/VqbcmM/2023/4/28/55d874a1-9ea6-4cfe-95ad-c2b92650467b.jpg"
    ],
    "video_url": "https://vod-stream.tokopedia.net/view/adaptive.m3u8?id=1ff4f1b0a06971edbfcb87c7371d0102",
    "category_id": 1018,
    "category_path": [
      {
        "id": 984,
        "name": "Rumah Tangga"
      },
      {
        "id": 988,
        "name": "Kebersihan"
      },
      {
        "id": 1018,
        "name": "Kain Lap"
      }
    ],
    "sold_count": 375,
    "sales_info": {
      "sold_count": 375,
      "sold_count_text": "250+"
    },
    "product_props": [
      {
        "key": "Kondisi",
        "value": "Baru"
      },
      {
        "key": "Berat Satuan",
        "value": "65 g"
      },
      {
        "key": "Min. Pemesanan",
        "value": "1 Buah"
      },
      {
        "key": "Kategori",
        "value": "Kain Lap"
      },
      {
        "key": "Etalase",
        "value": "Rumah Tangga -Cleaning Tools"
      }
    ],
    "shop_info": {
      "shop_id": "15073627",
      "shop_name": "idea houseware",
      "is_power_merchant": true
    },
    "delivery_info": {
      "weight": 65,
      "weight_unit": "GRAM"
    },
    "review_info": {
      "rating_star": 4.9,
      "review_count": 36
    },
    "min_order": 1,
    "max_order": 625,
    "stock": 625,
    "view_count": 1989,
    "details": "Jaminan mutu dan jaminan uang kembali\n\n- ukuran +- 40x40 cm \n- 100% premium microfiber\n- Kualitas export ,varian two tone utk export USA\n-Sangat mudah menyerap cairan.\n-Tidak luntur /tidak pudar\n-Tidak cepat robek ,serat tidak cepat terurai.\n-Ketebalan 350 GSM \n\nKegunaan:\n-Untuk kebutuhan rumah tangga\n-Salon mobil\n-Car wash\n-Pet shop\n\nHarga termurah dengan kualitas export  ,bisa dicek sendiri di toko terkenal  yg ada dimall ,dengan barang serupa harga kami jauh lebih murah .\n\n#lapkainmicrofiber #lapbersih #cleaningcloth #mopcloth #kebersihanrumah #cleaninghacks #cleaningtips #rumahbersih #microfiber #beresrumah #microfiberindo #microfibercloth #microfibertowel #cleaningtools #housecleaning #cleaninggoals #cleaningmadeeasy #cleaningroutine #cleaningaddict #cleaningday #cleaninghouse #cleanspace #homesweethome #beresberes #kebersihanadalahsebagiandasardariiman\n\n\n",
    "is_pre_sale": false,
    "is_cod": true,
    "status": "WAREHOUSE"
  }
}

```