# Google Shopping Product

Returns one Google Shopping product by id: title, brand, description, images, specs, price insights and every store offer with price, shipping, total, condition, delivery, returns, store rating and the direct merchant link. Use the product_id from the Google Shopping Search endpoint. Google lists up to about 50 offers per product. Costs 45 credits per successful request.

- **Documentation:** [https://scrappa.co/docs/google-shopping-api/google_shopping_product](https://scrappa.co/docs/google-shopping-api/google_shopping_product)
- **API group:** Google Shopping API
- **Endpoint:** `GET https://scrappa.co/api/google/shopping/product`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `product_id` | string | No | Product id as returned in product_id by Google Shopping Search. Send exactly one id. |
| `catalog_id` | string | No | Google catalog id of the product (alternative to product_id). |
| `gpcid` | string | No | Google product category id (alternative to product_id). |
| `headline_offer_docid` | string | No | Headline offer id (alternative to product_id). |
| `gl` | string | No | Two-letter country code. Supported: us, gb. Default: us. |
| `hl` | string | No | Two-letter interface language. Default: en. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/google/shopping/product?product_id=10650881791843186003&gl=us&hl=en"
```

## Example response

```json
{
    "search_parameters": {
        "product_id": "10650881791843186003",
        "gl": "us",
        "hl": "en"
    },
    "product": {
        "title": "Samsung GALAXY S24 5G 128GB Black",
        "catalog_id": "2530627728052992871",
        "product_id": "10650881791843186003",
        "images": [
            "https://encrypted-tbn1.gstatic.com/shopping?q=tbn:example"
        ],
        "specs": {
            "brand": [
                "Samsung"
            ],
            "color": [
                "Black"
            ]
        }
    },
    "offers": [
        {
            "offer_id": "9014140178022547679",
            "store": "eBay",
            "title": "Samsung Galaxy S24 5G 128GB Black",
            "price": "$349.99",
            "extracted_price": 349.99,
            "currency": "USD",
            "shipping": "+ $5.00",
            "total": "$354.99",
            "extracted_total": 354.99,
            "condition": "Pre-owned",
            "availability": "In stock",
            "delivery": "Delivery by Nov 17 $5",
            "returns": "Final sale",
            "link": "https://www.ebay.com/itm/940019065820"
        }
    ],
    "offers_returned": 1,
    "offers_total": 47
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A parameter is missing or invalid, or the country is not supported for this endpoint. |
| 404 | Product Not Found | Google shows no product with offers for this id. Failed requests are not billable. |
| 503 | Google Shopping Unavailable | The upstream service is temporarily unavailable. Please retry shortly. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
