# Worten Technical Specifications API Documentation

`GET /api/worten/specifications` returns the `id`, `productName`, `manufacturer` and `sections[]` of a canonical product id from search.

Each section has a `name` and a `values[]` list of rows with `label`, `value` and `help`. Rows without a value are removed. The request bills only when at least one row has a value.

## Credits

A successful request costs **1 credit**. Errors, challenges and missing products cost nothing. The response shows the charge in `meta.credits_charged`.

- **Documentation:** [https://scrappa.co/docs/worten-api/worten_specifications](https://scrappa.co/docs/worten-api/worten_specifications)
- **API group:** Worten API
- **Endpoint:** `GET https://scrappa.co/api/worten/specifications`

## 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 |
| --- | --- | --- | --- |
| `id` | string | Yes | Canonical product id from a search result. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/worten/specifications?id=ffffffff-0000-4000-a000-000077b0f986"
```

## Example response

```json
{
    "success": true,
    "site": "pt",
    "product": {
        "id": "ffffffff-0000-4000-a000-000077b0f986",
        "name": "Example iPhone",
        "manufacturer": "APPLE",
        "sections": [
            {
                "name": "Refer\u00eancias",
                "values": [
                    {
                        "label": "Refer\u00eancia",
                        "value": "8997856",
                        "help": null
                    }
                ]
            }
        ]
    },
    "meta": {
        "endpoint_family": "worten-specifications",
        "billable": true,
        "attempts": 1,
        "credits_charged": 1
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | The storefront has no product with that id (`not_found`). Non-billable. |
| 422 | Validation Error | A parameter is missing or unsupported. Only page sizes 24 and 48 are accepted, and filters use facet slugs from the search result. Non-billable. |
| 503 | Upstream Unavailable | The storefront could not be reached, answered with a challenge, or changed its response shape. Retryable and never billed. Clients are never rate limited. |

## 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)
