# Download — Wrapped API

> **You are on:** `https://api.beta.paywithlocus.com/api` | [llms.txt](https://beta.paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Search and discover software across CNET's download library, filter by platform and category, and access detailed product specs and download links. Find the latest releases and most popular downloads to quickly locate the software you need.

**Category:** Developer Tools | **Website:** [download.com/](https://download.com/) | **Docs:** [parse.bot/marketplace/a8bc8337-a8e1-4345-98c1-257ca7245cfd/download-com-api](https://parse.bot/marketplace/a8bc8337-a8e1-4345-98c1-257ca7245cfd/download-com-api)

Pay-per-use API proxy for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.beta.paywithlocus.com/api/wrapped/credits/download/`
**Auth:** `Authorization: Bearer <LOCUS_CREDITS_SECRET_KEY>` (an `lcr_` secret key or a scoped `lcac_` agent credential)
**Required header:** `Idempotency-Key: <fresh UUID per call>`. A retry with the same key replays the stored result without a new charge.
**Response:** the provider response after any endpoint-specific normalization. `X-Locus-Credits-Charged` carries the charge and `X-Locus-Credits-Balance` the remaining balance. Insufficient credits return `402` before the provider is called.
**Pricing:** estimated costs below are USD. Locus debits the credit equivalent at your workspace rate.

Full call contract: https://docs.paywithlocus.com/api-reference/introduction

> Using a Pay With Locus wallet key (`claw_` prefix)? Wallet routes are documented separately: https://docs.paywithlocus.com/wrapped-apis/for-agents

## Endpoints

### Get category listings

Browse software filtered by category and platform, paginated. Returns ~24 results per page. Category slugs are path segments on the site (e.g. 'browsers', 'security', 'games').

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category` | string | Yes | Software category slug: browsers, chat-voip-email, developers, education, entertainment-software, games, internet, multimedia, productivity, customization, security, travel, utilities-tools. |
| `page` | integer | No | Page number for pagination. |
| `platform` | string | No | Platform: windows, mac, android, ios, iphone. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/download/get-category-listings \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"category":"<string>","page":"<integer>","platform":"<string>"}'
```

### Get download link

Retrieve download information from a software's trigger page. Attempts to extract a direct download URL; if the download is JavaScript-initiated, returns the trigger page URL with an explanatory message.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | No | Software slug and ID for the download page, in format 'slug-name/product-id' (e.g. 'vlc-media-player-64-bit/3000-13632_4-75761094'). |
| `trigger_url` | string | No | Full CNET download trigger URL (e.g. 'https://download.cnet.com/download/vlc-media-player-64-bit/3000-13632_4-75761094.html'). Overrides slug. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/download/get-download-link \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>","trigger_url":"<string>"}'
```

### Get most popular

List the most popular software for a platform, sorted by download popularity. Returns a single page of ~24 items.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `platform` | string | No | Platform: windows, mac, android, ios, iphone. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/download/get-most-popular \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"platform":"<string>"}'
```

### Get new releases

List the newest software releases for a platform, sorted by release date. Returns a single page of ~24 items.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `platform` | string | No | Platform: windows, mac, android, ios, iphone. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/download/get-new-releases \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"platform":"<string>"}'
```

### Get platform listings

Browse top software for a platform, paginated by page number. Returns ~24 results per page in the site's default ranking order.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination. |
| `platform` | string | No | Platform: windows, mac, android, ios, iphone. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/download/get-platform-listings \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","platform":"<string>"}'
```

### Get software details

Fetch full product details for one software item including technical specs, rating, download trigger URL, and related links. Provide either a full product URL, or both slug and product_id extracted from the URL path.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `product_id` | string | No | Product ID from the product URL path (e.g. '3000-13632_4-75761094'). Required if url is not provided. |
| `slug` | string | No | Software slug from the product URL path (e.g. 'vlc-media-player-64-bit'). Required if url is not provided. |
| `url` | string | No | Full CNET product URL (e.g. 'https://download.cnet.com/vlc-media-player-64-bit/3000-13632_4-75761094.html'). Overrides slug and product_id. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/download/get-software-details \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"product_id":"<string>","slug":"<string>","url":"<string>"}'
```

### Search software

Full-text search over CNET's software catalog. Returns up to 10 results per query matching title and description. Supports sorting by relevance, popularity, or release date. Platform scopes results to a single OS.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `platform` | string | No | Platform to search: windows, mac, android, ios, iphone. |
| `query` | string | Yes | Search term (e.g. 'vlc', 'chrome', 'antivirus'). |
| `sort` | string | No | Sort order for results. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/download/search-software \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"platform":"<string>","query":"<string>","sort":"<string>"}'
```

## Next steps

- [All wrapped API providers](https://beta.paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://beta.paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://beta.paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://beta.paywithlocus.com/agent/index.md): every Locus agent page.