# Challenge Details

Fetch challenge metadata by challenge ID or challenge name.

- **Documentation:** [https://scrappa.co/docs/tiktok/tiktok_challenges_details](https://scrappa.co/docs/tiktok/tiktok_challenges_details)
- **API group:** TikTok API
- **Endpoint:** `GET https://scrappa.co/api/tiktok/challenges/details`

## 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 |
| --- | --- | --- | --- |
| `challenge_id` | string | No | TikTok challenge identifier. |
| `challenge_name` | string | No | Challenge slug or name. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/tiktok/challenges/details?challenge_id=33380&challenge_name=cosplay"
```

## Example response

```json
{
    "code": 0,
    "msg": "success",
    "data": []
}
```

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