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

> Access CaixaBank's full catalogue of financial products — accounts, cards, loans, mortgages, savings, investments, insurance, and pension plans — along with real-time pricing, TAE/TIN interest rates, and branch or ATM locations across Spain.

**Category:** Finance & Markets | **Website:** [caixabank.es/](https://caixabank.es/) | **Docs:** [parse.bot/marketplace/5b674766-ebba-4c0a-8cfa-ea4af213ea94/caixabank-es-api](https://parse.bot/marketplace/5b674766-ebba-4c0a-8cfa-ea4af213ea94/caixabank-es-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-caixabank-es-api-5b674766/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_all_products_overview

Get a summary of all product categories and products listed on the main navigation. Returns products grouped by Spanish category names.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-caixabank-es-api-5b674766/get_all_products_overview \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_branch_and_atm_locator

Find nearby CaixaBank branches and ATMs within a 2km bounding box of the provided coordinates. Defaults to central Madrid if no coordinates provided.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `lat` | number | No | Latitude coordinate |
| `lng` | number | No | Longitude coordinate |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-caixabank-es-api-5b674766/get_branch_and_atm_locator \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"lat":"<number>","lng":"<number>"}'
```

### get_cards

List available credit and debit card products with their names and URLs.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-caixabank-es-api-5b674766/get_cards \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_current_accounts

List available current/checking account products with their names and URLs.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-caixabank-es-api-5b674766/get_current_accounts \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_empresas_products

List products available for business/enterprise customers from the CaixaBank business homepage.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-caixabank-es-api-5b674766/get_empresas_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_insurance_products

List available insurance products with their names and URLs.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-caixabank-es-api-5b674766/get_insurance_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_investment_funds

List available investment fund products with their names and URLs.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-caixabank-es-api-5b674766/get_investment_funds \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_mortgages

List available mortgage products with their names and URLs.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-caixabank-es-api-5b674766/get_mortgages \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_pension_plans

List available pension plan products with their names and URLs.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-caixabank-es-api-5b674766/get_pension_plans \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_personal_loans

List available personal loan products with their names and URLs.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-caixabank-es-api-5b674766/get_personal_loans \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_product_detail

Extract full details for a specific product page by its URL. Returns name, description, TAE/TIN rates, features, fees, conditions, and tax information. Returns stale_input with kind input_not_found if the product page no longer exists (404).

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `url` | string | Yes | Full URL of the CaixaBank product page (e.g. 'https://www.caixabank.es/particular/cuentas/cuenta-sin-comisiones.html') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-caixabank-es-api-5b674766/get_product_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"<string>"}'
```

### get_savings_products

List available savings and deposit products with their names and URLs.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-caixabank-es-api-5b674766/get_savings_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_stock_price

Get current CaixaBank stock price and market change information.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-caixabank-es-api-5b674766/get_stock_price \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### search_products

Search for CaixaBank products by keyword using the pre-search suggestion API. Returns matching product pages with titles, URLs, descriptions, and category types. Paginates as a single page of results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search keyword (e.g. 'hipoteca', 'cuenta', 'tarjeta') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-caixabank-es-api-5b674766/search_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```
