# Download — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://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. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-download-com-api-a8bc8337/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## 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.paywithlocus.com/api/wrapped/parse-download-com-api-a8bc8337/get_category_listings \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-download-com-api-a8bc8337/get_download_link \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-download-com-api-a8bc8337/get_most_popular \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-download-com-api-a8bc8337/get_new_releases \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-download-com-api-a8bc8337/get_platform_listings \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-download-com-api-a8bc8337/get_software_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-download-com-api-a8bc8337/search_software \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"platform":"<string>","query":"<string>","sort":"<string>"}'
```
