# Conrad Category Children API Documentation

`GET /api/conrad/category?category=ID` returns the children of a public category id. Use a child `id` as `category` on the search endpoint. An unknown id returns an empty list, not a made-up category.

## Credits

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

- **Documentation:** [https://scrappa.co/docs/conrad-api/conrad_category_child](https://scrappa.co/docs/conrad-api/conrad_category_child)
- **API group:** Conrad API
- **Endpoint:** `GET https://scrappa.co/api/conrad/category`

## 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 |
| --- | --- | --- | --- |
| `category` | string | Yes | Public category id such as c2864444. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/conrad/category?category=c2864444"
```

## Example response

```json
{
    "success": true,
    "category_id": "c2864444",
    "categories": [
        {
            "id": "c2864445",
            "name": "Boards",
            "products_in_sub_tree": 120,
            "children": []
        }
    ],
    "meta": {
        "endpoint_family": "conrad-category",
        "billable": true,
        "attempts": 1,
        "credits_charged": 1
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A query parameter is missing, unknown or unusable. Unknown parameters are rejected, never ignored. Non-billable. |
| 503 | Upstream Unavailable | The upstream could not be reached, answered with a challenge, or changed its JSON shape (`upstream_blocked`, `upstream_unavailable`, `parser_drift`). 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)
