# Argos — 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 browse Argos UK's product catalog to find items by category or keyword, then retrieve detailed product information including pricing, descriptions, and real-time stock availability for your postcode. Access Argos's complete category structure to explore products and make informed shopping decisions.

**Category:** E-commerce | **Website:** [argos.co.uk/](https://argos.co.uk/) | **Docs:** [parse.bot/marketplace/cf5f8941-25c7-48ee-977d-1de5a4881630/argos-co-uk-api](https://parse.bot/marketplace/cf5f8941-25c7-48ee-977d-1de5a4881630/argos-co-uk-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-argos-co-uk-api-cf5f8941/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### browse_category

Browse products in a specific category by slug and ID. Returns products for leaf categories (PLP pages) or subcategory listings for hub categories (CLP pages). Use get_categories to discover valid slugs and IDs.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category_id` | string | Yes | Category ID number (e.g. '30049') |
| `category_slug` | string | Yes | Category URL slug path (e.g. 'technology/laptops-and-pcs/laptops') |
| `page` | integer | No | Page number for pagination. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-argos-co-uk-api-cf5f8941/browse_category \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category_id":"<string>","category_slug":"<string>","page":"<integer>"}'
```

### check_stock_by_postcode

Check stock availability for a product at nearby stores by postcode. Note: This endpoint may be intermittently blocked by site protection.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `postcode` | string | Yes | UK postcode (e.g., 'SW1A 1AA') |
| `product_id` | string | Yes | Argos product ID |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-argos-co-uk-api-cf5f8941/check_stock_by_postcode \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"postcode":"<string>","product_id":"<string>"}'
```

### get_categories

Retrieve the category navigation structure from the Argos homepage. Returns category names and browse URLs for use with browse_category endpoint.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-argos-co-uk-api-cf5f8941/get_categories \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_product_details

Retrieve full product details including description, prices, review statistics, promotions, and product attributes by product ID.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `product_id` | string | Yes | Argos product ID (e.g. '7806544') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-argos-co-uk-api-cf5f8941/get_product_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"product_id":"<string>"}'
```

### search_products

Search for products by keyword with optional pagination and sorting. Returns up to 60 products per page from the Argos catalogue. Results include product IDs and titles. When Akamai protection blocks the request, proxy rotation resolves it.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination. |
| `query` | string | Yes | Search keyword (e.g. 'laptop', 'gaming chair') |
| `sort` | string | No | Sort order for results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-argos-co-uk-api-cf5f8941/search_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","query":"<string>","sort":"<string>"}'
```
