# Aps Unmc — 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 antimicrobial peptides with detailed information about their properties, sequences, and characteristics, or analyze your own amino acid sequences to predict their antimicrobial potential. This database helps researchers identify promising peptide candidates for antimicrobial applications and understand their biological properties.

**Category:** Healthcare | **Website:** [aps.unmc.edu/](https://aps.unmc.edu/) | **Docs:** [parse.bot/marketplace/3c4940f8-3e04-4d93-aece-2541b56f3eae/aps-unmc-edu-api](https://parse.bot/marketplace/3c4940f8-3e04-4d93-aece-2541b56f3eae/aps-unmc-edu-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/aps-unmc/`
**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 peptide

Retrieve detailed information about a specific antimicrobial peptide by its APD numeric ID. Returns the full peptide record including name, source, sequence, physicochemical properties, biological activity, 3D structure information, and literature references.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `peptide_id` | string | Yes | APD peptide numeric ID, zero-padded to 5 digits (e.g. '00310'). May also be provided without leading zeros (e.g. '310') or with the 'AP' prefix (e.g. 'AP00310'). |

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

### Predict peptide

Calculate physicochemical properties and predict antimicrobial potential for a given amino acid sequence. If the sequence matches a known peptide in the APD, returns a reference to that entry. Otherwise returns calculated properties including net charge, hydrophobic percentage, molecular weight, molecular formula, Boman index (protein-binding potential), GRAVY value, and Wimley-White hydrophobicity.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `sequence` | string | Yes | Amino acid sequence using standard one-letter codes (ACDEFGHIKLMNPQRSTVWY). No spaces allowed. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/aps-unmc/predict-peptide \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"sequence":"<string>"}'
```

### Search peptides

Search the APD6 database for antimicrobial peptides. Supports filtering by name, source organism, sequence content, and biological activity. Returns a list of matching peptides with their APD IDs, descriptions, sequences, and lengths. All filter parameters are optional; omitting all returns all peptides in the database.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `activity` | string | No | Comma-separated list of biological activities to filter by. Accepted values: antibacterial, antiviral, antifungal, antiparasitic, anticancer, anti-hiv, anti-mrsa, anti-tb, antibiofilm, wound_healing, anti-inflammatory, chemotaxis, antioxidant, spermicidal, insecticidal, anti-endotoxin, anti-toxin, anti-diabetes, ion_channel, protease_inhibitors, nematocidal, bacteria_agglutinating, synergistic. |
| `length` | string | No | Filter by peptide length range. |
| `name` | string | No | Peptide name or partial name to search for (e.g. 'LL-37', 'cathelicidin', 'human'). |
| `net_charge` | string | No | Filter by net charge. |
| `sequence` | string | No | Amino acid sequence or motif to search for within peptide sequences (e.g. 'YGNGV', 'GLFD', 'CC'). |
| `sort` | string | No | Sort order for results. |
| `source_organism` | string | No | Source organism to filter by (e.g. 'Homo sapiens', 'Rana'). |
| `structure` | string | No | Filter by 3D structure type. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/aps-unmc/search-peptides \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"activity":"<string>","length":"<string>","name":"<string>","net_charge":"<string>","sequence":"<string>","sort":"<string>","source_organism":"<string>","structure":"<string>"}'
```

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