# 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. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-aps-unmc-edu-api-3c4940f8/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## 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/parse-aps-unmc-edu-api-3c4940f8/get_peptide \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-aps-unmc-edu-api-3c4940f8/predict_peptide \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-aps-unmc-edu-api-3c4940f8/search_peptides \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"activity":"<string>","length":"<string>","name":"<string>","net_charge":"<string>","sequence":"<string>","sort":"<string>","source_organism":"<string>","structure":"<string>"}'
```
