# Antifungipept Chemoinfolab — 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 data from antifungipept.chemoinfolab.com.

**Category:** Healthcare | **Website:** [antifungipept.chemoinfolab.com/](https://antifungipept.chemoinfolab.com/) | **Docs:** [parse.bot/marketplace/1c56aa19-e817-48f0-8863-8c24e130775f/antifungipept-chemoinfolab-com-api](https://parse.bot/marketplace/1c56aa19-e817-48f0-8863-8c24e130775f/antifungipept-chemoinfolab-com-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-antifungipept-chemoinfolab-com-api-1c56aa19/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### calculate_properties

Calculate physicochemical properties of peptide sequences including molecular weight, charge at pH 7.4, isoelectric point, hydrophobicity, aromaticity, and instability index. Accepts one or more sequences in FASTA format.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `sequence` | string | Yes | Peptide sequence(s) in FASTA format (e.g. '>name\nSEQUENCE'). Multiple sequences can be provided separated by newlines. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-antifungipept-chemoinfolab-com-api-1c56aa19/calculate_properties \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sequence":"<string>"}'
```

### design_peptide

Design antifungal peptides by applying mutation and optimization methods to an input sequence. Generates variant sequences using methods like single/multi-point mutation, swap, shift, segment, augment, insert, duplicate, delete, or global optimization. Returns designed sequences in FASTA format.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `design_option` | string | Yes | Design method to apply. |
| `num_mutations` | integer | No | Number of mutation points for multi-point mutation method. Accepts values 1-4. |
| `sequence` | string | Yes | Input peptide sequence (11-150 amino acid letters, e.g. 'KWCFRVCYRGICYRKCR'). Plain amino acid sequence only, not FASTA format. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-antifungipept-chemoinfolab-com-api-1c56aa19/design_peptide \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"design_option":"<string>","num_mutations":"<integer>","sequence":"<string>"}'
```

### get_peptide_detail

Get detailed information about a specific antifungal peptide including basic properties, antifungal probability, and predicted MIC values against multiple Candida species and Cryptococcus neoformans.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `peptide_num_id` | string | Yes | Numeric database ID of the peptide (e.g. '1' corresponds to AFP20200317_000001). Extracted from the detail_path field in search_database results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-antifungipept-chemoinfolab-com-api-1c56aa19/get_peptide_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"peptide_num_id":"<string>"}'
```

### predict_activity

Predict antifungal activity of peptide sequences. Returns classification (antifungal/non-antifungal with probability), Antifungal Index (AFI), and predicted minimum inhibitory concentration (MIC in μM) against C. albicans, C. krusei, C. neoformans, and C. parapsilosis.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `sequence` | string | Yes | Peptide sequence(s) in FASTA format (e.g. '>name\nSEQUENCE'). Multiple sequences can be provided separated by newlines. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-antifungipept-chemoinfolab-com-api-1c56aa19/predict_activity \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sequence":"<string>"}'
```

### search_database

Search the antifungal peptide database (AFP20200317) containing over 400,000 putative sequences. Supports filtering by peptide ID, subsequence match, sequence length range, and Antifungal Index (AFI) range. Returns paginated results with 20 items per page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `afi_lower` | number | No | Minimum Antifungal Index (AFI) filter. |
| `afi_upper` | number | No | Maximum Antifungal Index (AFI) filter. |
| `length_lower` | integer | No | Minimum sequence length filter. |
| `length_upper` | integer | No | Maximum sequence length filter. |
| `page` | integer | No | Page number for paginated results. |
| `peptide_id` | string | No | Filter by peptide ID (e.g. 'AFP20200317_000001'). Partial match supported. |
| `sequence` | string | No | Filter by amino acid subsequence (e.g. 'KWCFR'). Returns peptides containing this subsequence. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-antifungipept-chemoinfolab-com-api-1c56aa19/search_database \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"afi_lower":"<number>","afi_upper":"<number>","length_lower":"<integer>","length_upper":"<integer>","page":"<integer>","peptide_id":"<string>","sequence":"<string>"}'
```
