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

> Browse Alfa-Bank's complete loan catalog with detailed product information including interest rates, available loan amounts, repayment terms, and associated fees. Compare loan offerings and conditions to find the best financing option for your needs.

**Category:** Finance & Markets | **Website:** [alfabank.ru/get-money/](https://alfabank.ru/get-money/) | **Docs:** [parse.bot/marketplace/e1df6f19-b877-49e9-a0c7-939e13023d0c/alfabank-ru-api](https://parse.bot/marketplace/e1df6f19-b877-49e9-a0c7-939e13023d0c/alfabank-ru-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/alfabank/`
**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 loan details

Retrieves detailed information about a specific Alfa-Bank loan product including interest rates (PSK range and nominal rate range), loan amount limits, term, application conditions, and special features. Data is extracted from JSON-LD structured data and page content. Each product path corresponds to one product page on the bank's site.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `product_path` | string | Yes | Path segment identifying the loan product page. Accepted values: credit/credit-cash, credit/pod-zalog, credit/refinancing, autocredit, credit/do-zarplaty, credit/na-obuchenie, credit/na-stroitelstvo-doma, credit/na-remont-kvartiry, auto-loan/dealers, credit/refinancing/autocredit |

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

### Get loan products

Retrieves all available consumer loan products from Alfa-Bank. Returns a list of product summaries including name, detail URL, and key features (maximum amount, loan term). No parameters required — the full catalog is returned in a single page.

**Estimated cost:** Metered

_No parameters required._

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

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