# ICA — 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.

> Find ICA stores near you with their contact information, addresses, and opening hours, plus browse current national offers across all locations. Get real-time details about any ICA store to plan your shopping trips efficiently.

**Category:** Food & Dining | **Website:** [ica.se/](https://ica.se/) | **Docs:** [parse.bot/marketplace/18624665-9654-43b1-b8e7-7bbf4a03b12b/ica-se-api](https://parse.bot/marketplace/18624665-9654-43b1-b8e7-7bbf4a03b12b/ica-se-api)

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

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/credits/ica/`
**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 national offers

Get current national weekly deals and offers available across all ICA stores. Returns detailed offer information including pricing, product details, validity dates, and product images. No parameters required; always returns the current week's active offers.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/ica/get-national-offers \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### Get store info

Get detailed info for specific stores by numeric store ID. Returns extended details including visiting address, opening hours with deviations, services with opening hours, and store URLs. Use storeId values from list_stores results. Accepts one or more comma-separated IDs; unresolvable IDs are reported in errorMessages.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `store_ids` | string | Yes | Comma-separated numeric store IDs from list_stores results (e.g. '2527' or '2527,1235'). |

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

### List stores

Retrieve a paginated list of all ICA stores with basic info including store name, email address, phone number, address, opening hours, and services. Paginated via skip/take; each page returns up to `take` stores sorted alphabetically. The total catalog is ~1300 stores.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `skip` | integer | No | Number of stores to skip for pagination. |
| `take` | integer | No | Number of stores to return per page. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/ica/list-stores \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"skip":"<integer>","take":"<integer>"}'
```

## Next steps

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